#[repr(C)]pub struct ClassStruct<T: ObjectType> {
pub parent: <T::ParentType as Wrapper>::GlibClassType,
pub imp_static: NonNull<Box<dyn 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<dyn ImplTypeStatic<T>>>
§parent_class: NonNull<<T::ParentType as Wrapper>::GlibClassType>
§interfaces_static: *const Vec<(GType, gpointer)>
Implementations§
Source§impl<T: ObjectType> ClassStruct<T>
impl<T: ObjectType> ClassStruct<T>
pub fn get_parent_class( &self, ) -> *const <T::ParentType as Wrapper>::GlibClassType
pub fn get_interface_static(&self, type_: GType) -> gpointer
Auto Trait Implementations§
impl<T> Freeze for ClassStruct<T>
impl<T> !RefUnwindSafe for ClassStruct<T>
impl<T> !Send for ClassStruct<T>
impl<T> !Sync for ClassStruct<T>
impl<T> Unpin for ClassStruct<T>
impl<T> !UnwindSafe for ClassStruct<T>
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