pub struct Fold<F, Init> { /* private fields */ }Expand description
The fold layer that folds over a collection of items.
Trait Implementations§
Auto Trait Implementations§
impl<F, Init> Freeze for Fold<F, Init>where
F: Freeze,
impl<F, Init> RefUnwindSafe for Fold<F, Init>where
F: RefUnwindSafe,
Init: RefUnwindSafe,
impl<F, Init> Send for Fold<F, Init>
impl<F, Init> Sync for Fold<F, Init>
impl<F, Init> Unpin for Fold<F, Init>
impl<F, Init> UnwindSafe for Fold<F, Init>where
F: UnwindSafe,
Init: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more