Struct gobject_subclass::object::ClassStruct [−][src]
#[repr(C)]pub struct ClassStruct<T: ObjectType> { pub parent: <T::ParentType as Wrapper>::GlibClassType, pub imp_static: NonNull<Box<ImplTypeStatic<T>>>, pub parent_class: NonNull<<T::ParentType as Wrapper>::GlibClassType>, pub interfaces_static: *const Vec<(GType, gpointer)>, }
Fields
parent: <T::ParentType as Wrapper>::GlibClassType
imp_static: NonNull<Box<ImplTypeStatic<T>>>
parent_class: NonNull<<T::ParentType as Wrapper>::GlibClassType>
interfaces_static: *const Vec<(GType, gpointer)>
Methods
impl<T: ObjectType> ClassStruct<T>
[src]
impl<T: ObjectType> ClassStruct<T>
pub fn get_parent_class(
&self
) -> *const <T::ParentType as Wrapper>::GlibClassType
[src]
pub fn get_parent_class(
&self
) -> *const <T::ParentType as Wrapper>::GlibClassType
pub fn get_interface_static(&self, type_: GType) -> gpointer
[src]
pub fn get_interface_static(&self, type_: GType) -> gpointer
Auto Trait Implementations
impl<T> !Send for ClassStruct<T>
impl<T> !Send for ClassStruct<T>
impl<T> !Sync for ClassStruct<T>
impl<T> !Sync for ClassStruct<T>