[−][src]Trait nannou::draw::properties::Indices
Similar to the Iterator
trait, but provides access to the IntermediaryMesh on each call
to the next method.
Required methods
fn next(&mut self, intermediary_indices: &[usize]) -> Option<usize>
Return the next index within the sequence.
Provided methods
fn min_index(&self) -> usize
The minimum index referred to in the sequence. This is necessary for mapping indices into the intermediary mesh to indices into the draw's primary mesh.
By default, this is assumed to be 0
.
ⓘImportant traits for IterIndices<'a, I>fn into_iter(self, intermediary_indices: &[usize]) -> IterIndices<Self>
ⓘImportant traits for IterIndices<'a, I>
Converts self
and the given intermediary_indices
into an iterator yielding indices.
Implementors
impl Indices for IndicesFromRange
[src]
fn next(&mut self, intermediary_indices: &[usize]) -> Option<usize>
[src]
fn min_index(&self) -> usize
[src]
impl<A, B> Indices for IndicesChain<A, B> where
A: Indices,
B: Indices,
[src]
A: Indices,
B: Indices,
fn next(&mut self, intermediary_indices: &[usize]) -> Option<usize>
[src]
fn min_index(&self) -> usize
[src]
impl<I> Indices for I where
I: Iterator<Item = usize>,
[src]
I: Iterator<Item = usize>,