#[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>
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.