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>
source§fn imp(&self) -> &Self::Type
fn imp(&self) -> &Self::Type
Returns the implementation for from this instance struct, that
is the implementor of
ObjectImpl
or subtraits.source§fn class(&self) -> &<Self::Type as ObjectSubclass>::Class
fn class(&self) -> &<Self::Type as ObjectSubclass>::Class
Returns the class struct for this specific instance.
source§fn instance_init(&mut self)
fn instance_init(&mut self)
Instance specific initialization. Read more