#[repr(C)]pub struct ObjectClass {
pub type_: Type,
pub interfaces: *mut GSList,
pub object_cast_cache: [*const c_char; 4],
pub class_cast_cache: [*const c_char; 4],
pub unparent: ObjectUnparent,
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_: Type§interfaces: *mut GSList§object_cast_cache: [*const c_char; 4]§class_cast_cache: [*const c_char; 4]§unparent: ObjectUnparent§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