pub unsafe trait InstanceStructExt: InstanceStruct {
    fn imp(&self) -> &Self::Type;
    fn class(&self) -> &<Self::Type as ObjectSubclass>::Class;
}
Expand description

Trait implemented by any type implementing InstanceStruct to return the implementation, private Rust struct.

Required Methods§

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

Returns the class struct for this specific instance.

Implementors§