Struct gobject_2_0_sys::GObjectClass
source · #[repr(C)]pub struct GObjectClass {
pub g_type_class: GTypeClass,
pub constructor: Option<extern "C" fn(_: GType, _: guint, _: *mut GObjectConstructParam) -> *mut GObject>,
pub set_property: Option<extern "C" fn(_: *mut GObject, _: guint, _: *const GValue, _: *mut GParamSpec)>,
pub get_property: Option<extern "C" fn(_: *mut GObject, _: guint, _: *mut GValue, _: *mut GParamSpec)>,
pub dispose: Option<extern "C" fn(_: *mut GObject)>,
pub finalize: Option<extern "C" fn(_: *mut GObject)>,
pub dispatch_properties_changed: Option<extern "C" fn(_: *mut GObject, _: guint, _: *mut *mut GParamSpec)>,
pub notify: Option<extern "C" fn(_: *mut GObject, _: *mut GParamSpec)>,
pub constructed: Option<extern "C" fn(_: *mut GObject)>,
/* private fields */
}
Fields§
§g_type_class: GTypeClass
§constructor: Option<extern "C" fn(_: GType, _: guint, _: *mut GObjectConstructParam) -> *mut GObject>
§set_property: Option<extern "C" fn(_: *mut GObject, _: guint, _: *const GValue, _: *mut GParamSpec)>
§get_property: Option<extern "C" fn(_: *mut GObject, _: guint, _: *mut GValue, _: *mut GParamSpec)>
§dispose: Option<extern "C" fn(_: *mut GObject)>
§finalize: Option<extern "C" fn(_: *mut GObject)>
§dispatch_properties_changed: Option<extern "C" fn(_: *mut GObject, _: guint, _: *mut *mut GParamSpec)>
§notify: Option<extern "C" fn(_: *mut GObject, _: *mut GParamSpec)>
§constructed: Option<extern "C" fn(_: *mut GObject)>
Auto Trait Implementations§
impl RefUnwindSafe for GObjectClass
impl !Send for GObjectClass
impl !Sync for GObjectClass
impl Unpin for GObjectClass
impl UnwindSafe for GObjectClass
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