Struct glib::subclass::basic::InstanceStruct
source · #[repr(C)]pub struct InstanceStruct<T: ObjectSubclass> {
parent: <T::ParentType as ObjectType>::GlibType,
}
Expand description
A basic instance struct that does not store any additional data.
Fields§
§parent: <T::ParentType as ObjectType>::GlibType
Trait Implementations§
source§impl<T: ObjectSubclass> Debug for InstanceStruct<T>
impl<T: ObjectSubclass> Debug for InstanceStruct<T>
source§impl<T: ObjectSubclass> InstanceStruct for InstanceStruct<T>
impl<T: ObjectSubclass> InstanceStruct for InstanceStruct<T>
Auto Trait Implementations§
impl<T> Freeze for InstanceStruct<T>
impl<T> RefUnwindSafe for InstanceStruct<T>
impl<T> Send for InstanceStruct<T>
impl<T> Sync for InstanceStruct<T>
impl<T> Unpin for InstanceStruct<T>
impl<T> UnwindSafe for InstanceStruct<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
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.