pub struct InstanceStruct<T>where
T: ObjectSubclass,{ /* private fields */ }
Expand description
A basic instance struct that does not store any additional data.
Trait Implementations§
§impl<T> Debug for InstanceStruct<T>where
T: ObjectSubclass,
<<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: Debug,
impl<T> Debug for InstanceStruct<T>where T: ObjectSubclass, <<T as ObjectSubclass>::ParentType as ObjectType>::GlibType: Debug,
§impl<T> InstanceStruct for InstanceStruct<T>where
T: ObjectSubclass,
impl<T> InstanceStruct for InstanceStruct<T>where T: ObjectSubclass,
§fn instance_init(&mut self)
fn instance_init(&mut self)
Instance specific initialization. Read more
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§
§impl<T> InstanceStructExt for Twhere
T: InstanceStruct,
impl<T> InstanceStructExt for Twhere T: InstanceStruct,
§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.§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.
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.