Trait nannou::mesh::PushIndex[][src]

pub trait PushIndex {
    fn push_index(&mut self, index: usize);

    fn extend_indices<I>(&mut self, indices: I)
    where
        I: IntoIterator<Item = usize>
, { ... } }

Meshes that contain an Indices channel and can push new indices to it.

Required Methods

Push a new index onto the indices channel.

Provided Methods

Extend the Mesh's Indices channel with the given indices.

Implementations on Foreign Types

impl<'a, M> PushIndex for &'a mut M where
    M: PushIndex
[src]

impl<'a, M> PushIndex for RefMut<'a, M> where
    M: PushIndex
[src]

Implementors