#[repr(C)]pub struct _GTypePluginClass {
pub base_iface: GTypeInterface,
pub use_plugin: GTypePluginUse,
pub unuse_plugin: GTypePluginUnuse,
pub complete_type_info: GTypePluginCompleteTypeInfo,
pub complete_interface_info: GTypePluginCompleteInterfaceInfo,
}
Expand description
GTypePlugin:
The GTypePlugin typedef is used as a placeholder
for objects that implement the GTypePlugin interface.
/
/**
GTypePluginClass:
@use_plugin: Increases the use count of the plugin.
@unuse_plugin: Decreases the use count of the plugin.
@complete_type_info: Fills in the #GTypeInfo and
#GTypeValueTable structs for the type. The structs are initialized
with memset(s, 0, sizeof (s))
before calling this function.
@complete_interface_info: Fills in missing parts of the #GInterfaceInfo
for the interface. The structs is initialized with
memset(s, 0, sizeof (s))
before calling this function.
The #GTypePlugin interface is used by the type system in order to handle the lifecycle of dynamically loaded types.
Fields§
§base_iface: GTypeInterface
§use_plugin: GTypePluginUse
§unuse_plugin: GTypePluginUnuse
§complete_type_info: GTypePluginCompleteTypeInfo
§complete_interface_info: GTypePluginCompleteInterfaceInfo
Trait Implementations§
Source§impl Clone for _GTypePluginClass
impl Clone for _GTypePluginClass
Source§fn clone(&self) -> _GTypePluginClass
fn clone(&self) -> _GTypePluginClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GTypePluginClass
impl Debug for _GTypePluginClass
Source§impl PartialEq for _GTypePluginClass
impl PartialEq for _GTypePluginClass
impl Copy for _GTypePluginClass
impl Eq for _GTypePluginClass
impl StructuralPartialEq for _GTypePluginClass
Auto Trait Implementations§
impl Freeze for _GTypePluginClass
impl RefUnwindSafe for _GTypePluginClass
impl Send for _GTypePluginClass
impl Sync for _GTypePluginClass
impl Unpin for _GTypePluginClass
impl UnwindSafe for _GTypePluginClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more