[−][src]Trait nannou::mesh::PushIndex
Meshes that contain an Indices channel and can push new indices to it.
Required methods
fn push_index(&mut self, index: usize)
Push a new index onto the indices channel.
Provided methods
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
I: IntoIterator<Item = usize>,
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]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<'a, M> PushIndex for RefMut<'a, M> where
M: PushIndex,
[src]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
Implementors
impl<M> PushIndex for WithIndices<M, Vec<usize>>
[src]
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<M, C> PushIndex for WithColors<M, C> where
M: PushIndex,
[src]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<M, N> PushIndex for WithNormals<M, N> where
M: PushIndex,
[src]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<M, T, S> PushIndex for WithTexCoords<M, T, S> where
M: PushIndex,
[src]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<S> PushIndex for Mesh<S>
[src]
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,