Enum itertools::FoldWhile [] [src]

pub enum FoldWhile<T> {
    Continue(T),
    Done(T),
}

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

See .fold_while() for more information.

Variants

Continue(T)

Continue folding with this value

Done(T)

Fold is complete and will return this value