Enum ndarray::FoldWhile
[−]
[src]
pub enum FoldWhile<T> { Continue(T), Done(T), }
Value controlling the execution of .fold_while
on Zip
.
Variants
Continue(T)
Continue folding with this value
Done(T)
Fold is complete and will return this value
Methods
impl<T> FoldWhile<T>
[src]
fn into_inner(self) -> T
Return the inner value
fn is_done(&self) -> bool
Return true if it is Done
, false if `Continue