pub trait TypePluginExt: IsA<TypePlugin> + 'static {
// Provided methods
fn complete_interface_info(
&self,
instance_type: Type,
interface_type: Type,
) -> InterfaceInfo { ... }
fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable) { ... }
fn unuse(&self) { ... }
fn use_(&self) { ... }
}Expand description
Trait containing all TypePlugin methods.
§Implementors
TypeModule, TypePlugin
Trait containing all TypePlugin methods.
§Implementors
Provided Methods§
Sourcefn complete_interface_info(
&self,
instance_type: Type,
interface_type: Type,
) -> InterfaceInfo
fn complete_interface_info( &self, instance_type: Type, interface_type: Type, ) -> InterfaceInfo
Calls the @complete_interface_info function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
§instance_type
the #GType of an instantiatable type to which the interface is added
§interface_type
the #GType of the interface whose info is completed
§info
the #GInterfaceInfo to fill in Calls the @complete_interface_info function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
§instance_type
the #GType of an instantiatable type to which the interface is added
§interface_type
the #GType of the interface whose info is completed
§info
the #GInterfaceInfo to fill in
Sourcefn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)
fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)
Calls the @complete_type_info function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
§g_type
the #GType whose info is completed
§info
the #GTypeInfo struct to fill in
§value_table
the #GTypeValueTable to fill in Calls the @complete_type_info function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
§g_type
the #GType whose info is completed
§info
the #GTypeInfo struct to fill in
§value_table
the #GTypeValueTable to fill in
Sourcefn unuse(&self)
fn unuse(&self)
Calls the @unuse_plugin function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself. Calls the @unuse_plugin function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
Sourcefn use_(&self)
fn use_(&self)
Calls the @use_plugin function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself. Calls the @use_plugin function from the #GTypePluginClass of @self. There should be no need to use this function outside of the GObject type system itself.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".