[][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> RefUnwindSafe for WalkTriangles<'a, F, I, V, S> where
    F: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe,
    <I as IntoIterator>::IntoIter: RefUnwindSafe

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

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

impl<'a, F, I, V, S = f32> !UnwindSafe for WalkTriangles<'a, F, I, V, S>

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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

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

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

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> SetParameter for T

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,