#[repr(C)]pub struct ObjectClass {
pub type_: *mut TypeImpl,
pub interfaces: *mut _GSList,
pub object_cast_cache: [*const i8; 4],
pub class_cast_cache: [*const i8; 4],
pub unparent: Option<unsafe extern "C" fn(*mut Object)>,
pub properties: *mut _GHashTable,
}Expand description
ObjectClass:
The base for all classes. The only thing that #ObjectClass contains is an integer type handle.
Fields§
§type_: *mut TypeImpl§interfaces: *mut _GSList§object_cast_cache: [*const i8; 4]§class_cast_cache: [*const i8; 4]§unparent: Option<unsafe extern "C" fn(*mut Object)>§properties: *mut _GHashTableTrait Implementations§
Source§impl Clone for ObjectClass
impl Clone for ObjectClass
Source§fn clone(&self) -> ObjectClass
fn clone(&self) -> ObjectClass
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 moreSource§impl Debug for ObjectClass
impl Debug for ObjectClass
impl Copy for ObjectClass
Auto Trait Implementations§
impl Freeze for ObjectClass
impl RefUnwindSafe for ObjectClass
impl !Send for ObjectClass
impl !Sync for ObjectClass
impl Unpin for ObjectClass
impl UnwindSafe for ObjectClass
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