[][src]Trait nannou::draw::properties::Indices

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.

Loading content...

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.

Loading content...

Implementors

impl Indices for IndicesFromRange[src]

Important traits for IterIndices<'a, I>
fn into_iter(self, intermediary_indices: &[usize]) -> IterIndices<Self>[src]

impl<I> Indices for I where
    I: Iterator<Item = usize>, 
[src]

Important traits for IterIndices<'a, I>
fn into_iter(self, intermediary_indices: &[usize]) -> IterIndices<Self>[src]

Loading content...