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.

Required Associated Types§

Configuration descriptor for instance.

Required Methods§

Creates Instance from self.

Implementations on Foreign Types§

Implementors§