Trait nannou_mesh::PushIndex[][src]

pub trait PushIndex {
    type Index;
    fn push_index(&mut self, index: Self::Index);

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

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

Associated Types

The inner index type.

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

Implementors