#[repr(C)]
pub struct GObjectClass { pub g_type_class: GTypeClass, pub construct_properties: *mut GSList, pub constructor: Option<unsafe extern "C" fn(_: GType, _: c_uint, _: *mut GObjectConstructParam) -> *mut GObject>, pub set_property: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut GValue, _: *mut GParamSpec)>, pub get_property: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut GValue, _: *mut GParamSpec)>, pub dispose: Option<unsafe extern "C" fn(_: *mut GObject)>, pub finalize: Option<unsafe extern "C" fn(_: *mut GObject)>, pub dispatch_properties_changed: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut *mut GParamSpec)>, pub notify: Option<unsafe extern "C" fn(_: *mut GObject, _: *mut GParamSpec)>, pub constructed: Option<unsafe extern "C" fn(_: *mut GObject)>, pub flags: size_t, pub pdummy: [gpointer; 6], }

Fields

g_type_class: GTypeClassconstruct_properties: *mut GSListconstructor: Option<unsafe extern "C" fn(_: GType, _: c_uint, _: *mut GObjectConstructParam) -> *mut GObject>set_property: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut GValue, _: *mut GParamSpec)>get_property: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut GValue, _: *mut GParamSpec)>dispose: Option<unsafe extern "C" fn(_: *mut GObject)>finalize: Option<unsafe extern "C" fn(_: *mut GObject)>dispatch_properties_changed: Option<unsafe extern "C" fn(_: *mut GObject, _: c_uint, _: *mut *mut GParamSpec)>notify: Option<unsafe extern "C" fn(_: *mut GObject, _: *mut GParamSpec)>constructed: Option<unsafe extern "C" fn(_: *mut GObject)>flags: size_tpdummy: [gpointer; 6]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.