#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectClass
Auto Trait Implementations§
impl !Send for ObjectClass
impl !Sync for ObjectClass
impl Freeze for ObjectClass
impl RefUnwindSafe for ObjectClass
impl Unpin for ObjectClass
impl UnsafeUnpin 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