Struct GObjectClass
#[repr(C)]pub struct GObjectClass {Show 15 fields
pub g_type_class: GTypeClass,
pub construct_properties: *mut GSList,
pub constructor: Option<unsafe extern "C" fn(usize, u32, *mut GObjectConstructParam) -> *mut GObject>,
pub set_property: Option<unsafe extern "C" fn(*mut GObject, u32, *mut GValue, *mut GParamSpec)>,
pub get_property: Option<unsafe extern "C" fn(*mut GObject, u32, *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, u32, *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: usize,
pub n_construct_properties: usize,
pub pspecs: *mut c_void,
pub n_pspecs: usize,
pub pdummy: [*mut c_void; 3],
}Fields§
§g_type_class: GTypeClass§construct_properties: *mut GSList§constructor: Option<unsafe extern "C" fn(usize, u32, *mut GObjectConstructParam) -> *mut GObject>§set_property: Option<unsafe extern "C" fn(*mut GObject, u32, *mut GValue, *mut GParamSpec)>§get_property: Option<unsafe extern "C" fn(*mut GObject, u32, *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, u32, *mut *mut GParamSpec)>§notify: Option<unsafe extern "C" fn(*mut GObject, *mut GParamSpec)>§constructed: Option<unsafe extern "C" fn(*mut GObject)>§flags: usize§n_construct_properties: usize§pspecs: *mut c_void§n_pspecs: usize§pdummy: [*mut c_void; 3]Trait Implementations§
§impl Clone for GObjectClass
impl Clone for GObjectClass
§fn clone(&self) -> GObjectClass
fn clone(&self) -> GObjectClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GObjectClass
impl Debug for GObjectClass
impl Copy for GObjectClass
Auto Trait Implementations§
impl Freeze for GObjectClass
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
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