#[repr(C)]
pub struct InstanceStruct<T: ObjectSubclass> { /* private fields */ }
Expand description

A basic instance struct that does not store any additional data.

Trait Implementations

Formats the value using the given formatter. Read more

Corresponding object subclass type for this instance struct.

Returns the implementation for from this instance struct, that is the implementor of ObjectImpl or subtraits. Read more

Returns the class struct for this specific instance.

Instance specific initialization. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.