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 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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.