#[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 GHashTable
Trait Implementations§
Source§impl Clone for ObjectClass
impl Clone for ObjectClass
Source§fn clone(&self) -> ObjectClass
fn clone(&self) -> ObjectClass
Returns a copy 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