Trait TypePluginRegisterImpl

Source
pub trait TypePluginRegisterImpl: TypePluginImpl + ObjectSubclass
where Self::Type: IsA<Object> + IsA<TypePlugin>,
{ // Provided methods fn add_dynamic_interface( &self, _instance_type: Type, _interface_type: Type, _interface_info: &InterfaceInfo, ) { ... } fn register_dynamic_enum( &self, _name: &str, _const_static_values: &'static EnumerationValues<EnumValue>, ) -> Type { ... } fn register_dynamic_flags( &self, _name: &str, _const_static_values: &'static EnumerationValues<FlagsValue>, ) -> Type { ... } fn register_dynamic_type( &self, _parent_type: Type, _type_name: &str, _type_info: &TypeInfo, _flags: TypeFlags, ) -> Type { ... } }

Provided Methods§

Source

fn add_dynamic_interface( &self, _instance_type: Type, _interface_type: Type, _interface_info: &InterfaceInfo, )

Source

fn register_dynamic_enum( &self, _name: &str, _const_static_values: &'static EnumerationValues<EnumValue>, ) -> Type

Source

fn register_dynamic_flags( &self, _name: &str, _const_static_values: &'static EnumerationValues<FlagsValue>, ) -> Type

Source

fn register_dynamic_type( &self, _parent_type: Type, _type_name: &str, _type_info: &TypeInfo, _flags: TypeFlags, ) -> Type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§