Enum itertools::FoldWhile [−][src]
pub enum FoldWhile<T> {
Continue(T),
Done(T),
}
Expand description
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
Implementations
Return the value in the continue or done.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for FoldWhile<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for FoldWhile<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more