Struct GTypeInfo
#[repr(C)]pub struct GTypeInfo {
pub class_size: u16,
pub base_init: Option<unsafe extern "C" fn(*mut c_void)>,
pub base_finalize: Option<unsafe extern "C" fn(*mut c_void)>,
pub class_init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
pub class_finalize: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
pub class_data: *const c_void,
pub instance_size: u16,
pub n_preallocs: u16,
pub instance_init: Option<unsafe extern "C" fn(*mut GTypeInstance, *mut c_void)>,
pub value_table: *const GTypeValueTable,
}Fields§
§class_size: u16§base_init: Option<unsafe extern "C" fn(*mut c_void)>§base_finalize: Option<unsafe extern "C" fn(*mut c_void)>§class_init: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§class_finalize: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§class_data: *const c_void§instance_size: u16§n_preallocs: u16§instance_init: Option<unsafe extern "C" fn(*mut GTypeInstance, *mut c_void)>§value_table: *const GTypeValueTableTrait Implementations§
Auto Trait Implementations§
impl Freeze for GTypeInfo
impl RefUnwindSafe for GTypeInfo
impl !Send for GTypeInfo
impl !Sync for GTypeInfo
impl Unpin for GTypeInfo
impl UnwindSafe for GTypeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more