struct MapWithFolder<'f, C, U, F> {
    base: C,
    item: U,
    map_op: &'f F,
}Fields§
§base: C§item: U§map_op: &'f FTrait Implementations§
Source§impl<'f, T, U, R, C, F> Folder<T> for MapWithFolder<'f, C, U, F>
 
impl<'f, T, U, R, C, F> Folder<T> for MapWithFolder<'f, C, U, F>
Source§type Result = <C as Folder<R>>::Result
 
type Result = <C as Folder<R>>::Result
The type of result that will ultimately be produced by the folder.
Source§fn consume_iter<I>(self, iter: I) -> Selfwhere
    I: IntoIterator<Item = T>,
 
fn consume_iter<I>(self, iter: I) -> Selfwhere
    I: IntoIterator<Item = T>,
Consume items from the iterator until full, and return new sequential state. Read more
Auto Trait Implementations§
impl<'f, C, U, F> Freeze for MapWithFolder<'f, C, U, F>
impl<'f, C, U, F> RefUnwindSafe for MapWithFolder<'f, C, U, F>
impl<'f, C, U, F> Send for MapWithFolder<'f, C, U, F>
impl<'f, C, U, F> Sync for MapWithFolder<'f, C, U, F>
impl<'f, C, U, F> Unpin for MapWithFolder<'f, C, U, F>
impl<'f, C, U, F> UnwindSafe for MapWithFolder<'f, C, U, F>
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
 
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more