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§
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
Object Safety§
This trait is not object safe.