pub trait TypePluginExt:
IsA<TypePlugin>
+ Sealed
+ '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
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 InterfaceInfo 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 TypeInfo struct to fill in
§value_table
the TypeValueTable to fill in
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.