Trait nannou::draw::properties::Indices [−][src]
pub trait Indices: Sized { fn next(&mut self, intermediary_indices: &[usize]) -> Option<usize>; fn into_iter(self, intermediary_indices: &[usize]) -> IterIndices<Self> { ... } }
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
ⓘImportant traits for IterIndices<'a, I>
fn into_iter(self, intermediary_indices: &[usize]) -> IterIndices<Self>
Converts self
and the given intermediary_indices
into an iterator yielding indices.
Implementors
impl<I> Indices for I where
I: Iterator<Item = usize>,impl Indices for IndicesFromRange