[][src]Struct rendology::Instancing

pub struct Instancing<V: InstanceInput> { /* fields omitted */ }

Methods

impl<I: InstanceInput> Instancing<I>[src]

pub fn create<F: Facade>(facade: &F) -> Result<Self, CreationError>[src]

pub fn update<F: Facade>(
    &mut self,
    facade: &F,
    instances: &[I::Vertex]
) -> Result<(), CreationError>
[src]

pub fn as_drawable<'a, V: Vertex>(
    &'a self,
    mesh: &'a Mesh<V>
) -> impl Drawable<I, V> + 'a
[src]

Auto Trait Implementations

impl<V> !RefUnwindSafe for Instancing<V>

impl<V> !Send for Instancing<V>

impl<V> !Sync for Instancing<V>

impl<V> Unpin for Instancing<V> where
    <V as InstanceInput>::Vertex: Unpin

impl<V> !UnwindSafe for Instancing<V>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.