Skip to main content

IInstanceItem_1Methods

Trait IInstanceItem_1Methods 

Source
pub trait IInstanceItem_1Methods<T0: ClassIdentity>: ClassIdentity {
    // Provided methods
    fn ctor(self, instance: T0)
       where Self: Sized { ... }
    fn get_instance(self) -> T0
       where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, instance: T0)
where Self: Sized,

Source

fn get_instance(self) -> T0
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§