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

Return the next index within the sequence.

Provided Methods

Important traits for IterIndices<'a, I>

Converts self and the given intermediary_indices into an iterator yielding indices.

Implementors