Type Alias GInterfaceInfo

Source
pub type GInterfaceInfo = _GInterfaceInfo;
Expand description

GInterfaceInfo: @interface_init: location of the interface initialization function @interface_finalize: location of the interface finalization function @interface_data: user-supplied data passed to the interface init/finalize functions

A structure that provides information to the type system which is used specifically for managing interface types.

Aliased Type§

struct GInterfaceInfo {
    pub interface_init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
    pub interface_finalize: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
    pub interface_data: *mut c_void,
}

Fields§

§interface_init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§interface_finalize: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§interface_data: *mut c_void

Trait Implementations

Source§

impl Clone for _GInterfaceInfo

Source§

fn clone(&self) -> _GInterfaceInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GInterfaceInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GInterfaceInfo

Source§

fn eq(&self, other: &_GInterfaceInfo) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GInterfaceInfo

Source§

impl Eq for _GInterfaceInfo

Source§

impl StructuralPartialEq for _GInterfaceInfo