[][src]Struct nannou::geom::graph::WalkTriangles

pub struct WalkTriangles<'a, F, I, V, S: 'a = Default> where
    F: Fn(&Index) -> I,
    I: IntoIterator,
    S: BaseFloat
{ /* fields omitted */ }

A Walker type yielding all transformed triangles of all nodes within the graph.

Methods

impl<'a, F, I, V, S> WalkTriangles<'a, F, I, V, S> where
    F: Fn(&Index) -> I,
    I: IntoIterator<Item = Tri<V>>,
    V: Vertex + ApplyTransform<S>,
    S: BaseFloat
[src]

pub fn next(&mut self, graph: &Graph<S>) -> Option<Tri<V>>[src]

Return the next vertex in the graph.

Auto Trait Implementations

impl<'a, F, I, V, S> Send for WalkTriangles<'a, F, I, V, S> where
    F: Send,
    S: Send,
    V: Send,
    <I as IntoIterator>::IntoIter: Send

impl<'a, F, I, V, S> Sync for WalkTriangles<'a, F, I, V, S> where
    F: Sync,
    S: Sync,
    V: Sync,
    <I as IntoIterator>::IntoIter: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Content for T[src]

impl<T> SafeBorrow<T> for T[src]

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.