Enum itertools::FoldWhile [] [src]

pub enum FoldWhile<T> {

An enum used for controlling the execution of .fold_while().

See .fold_while() for more information.


Continue folding with this value

Fold is complete and will return this value


impl<T> FoldWhile<T>


Return the value in the continue or done.


Return true if self is Done, false if it is Continue.

Trait Implementations

impl<T: Copy> Copy for FoldWhile<T>

impl<T: Clone> Clone for FoldWhile<T>


Returns a copy of the value. Read more


Performs copy-assignment from source. Read more

impl<T: Debug> Debug for FoldWhile<T>


Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for FoldWhile<T> where
    T: Send

impl<T> Sync for FoldWhile<T> where
    T: Sync