Struct glib::subclass::basic::InstanceStruct
source · #[repr(C)]pub struct InstanceStruct<T: ObjectSubclass> { /* private fields */ }
Expand description
A basic instance struct that does not store any additional data.
Trait Implementations§
source§impl<T: ObjectSubclass> Debug for InstanceStruct<T>where
<T::ParentType as ObjectType>::GlibType: Debug,
impl<T: ObjectSubclass> Debug for InstanceStruct<T>where <T::ParentType as ObjectType>::GlibType: Debug,
source§impl<T: ObjectSubclass> InstanceStruct for InstanceStruct<T>
impl<T: ObjectSubclass> InstanceStruct for InstanceStruct<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for InstanceStruct<T>where <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: RefUnwindSafe,
impl<T> Send for InstanceStruct<T>where <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: Send,
impl<T> Sync for InstanceStruct<T>where <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: Sync,
impl<T> Unpin for InstanceStruct<T>where <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: Unpin,
impl<T> UnwindSafe for InstanceStruct<T>where <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: UnwindSafe,
Blanket Implementations§
source§impl<T> InstanceStructExt for Twhere
T: InstanceStruct,
impl<T> InstanceStructExt for Twhere T: InstanceStruct,
source§fn imp(&self) -> &<T as InstanceStruct>::Type
fn imp(&self) -> &<T as InstanceStruct>::Type
Returns the implementation for from this instance struct, that
is the implementor of
ObjectImpl
or subtraits.source§fn class(&self) -> &<<T as InstanceStruct>::Type as ObjectSubclass>::Class
fn class(&self) -> &<<T as InstanceStruct>::Type as ObjectSubclass>::Class
Returns the class struct for this specific instance.