Trait truck_rendimpl::ToInstance[][src]

pub trait ToInstance<I: Instance> {
    type State;
    fn to_instance(
        &self,
        handler: &DeviceHandler,
        shaders: &I::Shaders,
        desc: &Self::State
    ) -> I; }
Expand description

The trait for generating Instance from Self.

Associated Types

Configuation deacriptor for instance.

Required methods

Creates Instance from self.

Implementations on Foreign Types

Implementors