pub trait TypePluginRegisterImpl: ObjectImpl + TypePluginImpl {
    // 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

Object Safety§

This trait is not object safe.

Implementors§