#[repr(C)]pub struct _GInitableIface {
pub g_iface: GTypeInterface,
pub init: Option<unsafe extern "C" fn(initable: *mut GInitable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
}
Expand description
GInitableIface: @g_iface: The parent interface. @init: Initializes the object.
Provides an interface for initializing object such that initialization may fail.
Since: 2.22
Fields§
§g_iface: GTypeInterface
§init: Option<unsafe extern "C" fn(initable: *mut GInitable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>
Trait Implementations§
Source§impl Clone for _GInitableIface
impl Clone for _GInitableIface
Source§fn clone(&self) -> _GInitableIface
fn clone(&self) -> _GInitableIface
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 _GInitableIface
impl Debug for _GInitableIface
Source§impl PartialEq for _GInitableIface
impl PartialEq for _GInitableIface
impl Copy for _GInitableIface
impl Eq for _GInitableIface
impl StructuralPartialEq for _GInitableIface
Auto Trait Implementations§
impl Freeze for _GInitableIface
impl RefUnwindSafe for _GInitableIface
impl Send for _GInitableIface
impl Sync for _GInitableIface
impl Unpin for _GInitableIface
impl UnwindSafe for _GInitableIface
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