Trait glib::gobject::type_module::TypeModuleExt

source ·
pub trait TypeModuleExt:
    IsA<TypeModule>
    + Sealed
    + 'static {
    // Provided methods
    fn add_interface(
        &self,
        instance_type: Type,
        interface_type: Type,
        interface_info: &InterfaceInfo,
    ) { ... }
    fn register_enum(
        &self,
        name: &str,
        const_static_values: &'static EnumValues,
    ) -> Type { ... }
    fn register_flags(
        &self,
        name: &str,
        const_static_values: &'static FlagsValues,
    ) -> Type { ... }
    fn register_type(
        &self,
        parent_type: Type,
        type_name: &str,
        type_info: &TypeInfo,
        flags: TypeFlags,
    ) -> Type { ... }
    fn set_name(&self, name: &str) { ... }
    fn unuse(&self) { ... }
    fn use_(&self) -> bool { ... }
}

Provided Methods§

source

fn add_interface( &self, instance_type: Type, interface_type: Type, interface_info: &InterfaceInfo, )

source

fn register_enum( &self, name: &str, const_static_values: &'static EnumValues, ) -> Type

source

fn register_flags( &self, name: &str, const_static_values: &'static FlagsValues, ) -> Type

source

fn register_type( &self, parent_type: Type, type_name: &str, type_info: &TypeInfo, flags: TypeFlags, ) -> Type

source

fn set_name(&self, name: &str)

source

fn unuse(&self)

source

fn use_(&self) -> bool

Object Safety§

This trait is not object safe.

Implementors§