Struct gobject_sys::GTypeInfo
source · #[repr(C)]pub struct GTypeInfo {
pub class_size: u16,
pub base_init: GBaseInitFunc,
pub base_finalize: GBaseFinalizeFunc,
pub class_init: GClassInitFunc,
pub class_finalize: GClassFinalizeFunc,
pub class_data: gconstpointer,
pub instance_size: u16,
pub n_preallocs: u16,
pub instance_init: GInstanceInitFunc,
pub value_table: *const GTypeValueTable,
}
Fields§
§class_size: u16
§base_init: GBaseInitFunc
§base_finalize: GBaseFinalizeFunc
§class_init: GClassInitFunc
§class_finalize: GClassFinalizeFunc
§class_data: gconstpointer
§instance_size: u16
§n_preallocs: u16
§instance_init: GInstanceInitFunc
§value_table: *const GTypeValueTable
Trait Implementations§
Auto Trait Implementations§
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