Trait Foldable
rarrow::classes
pub trait Foldable: Unplug + Plug<Self::A> { fn fold_left<B, F>(self, init: B, f: F) -> B where F: FnOnce(B, Self::A) -> B; }
fn fold_left<B, F>(self, init: B, f: F) -> B where F: FnOnce(B, Self::A) -> B,
impl<A> Foldable for Option<A>