Struct traverse::utils::Iterate [] [src]

pub struct Iterate<T, F> { /* fields omitted */ }

An iterator that repeatedly applies a given function, starting from a given seed value.

Trait Implementations

impl<T: Copy, F: Copy> Copy for Iterate<T, F>
[src]

impl<T: Clone, F: Clone> Clone for Iterate<T, F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A, I> Traversal for Iterate<A, I> where
    A: Clone,
    I: FnMut(A) -> A, 
[src]

Run this Iterator using the provided closure. Read more

Run this Iterator using the provided closure. Read more