pub struct Map<I, F> { /* private fields */ }Trait Implementations§
Source§impl<B, I: BidirIterator, F> BidirIterator for Map<I, F>
impl<B, I: BidirIterator, F> BidirIterator for Map<I, F>
type Item = B
fn next(&mut self) -> Option<B>
Source§fn forward(&mut self) -> Forward<&mut Self> ⓘwhere
Self: Sized,
fn forward(&mut self) -> Forward<&mut Self> ⓘwhere
Self: Sized,
Create a forward-moving Iterator,
starting at the current position.
The forward iterator borrows the underlying
bidirectional iterator. Read more
Source§fn forward_owned(self) -> Forward<Self> ⓘwhere
Self: Sized,
fn forward_owned(self) -> Forward<Self> ⓘwhere
Self: Sized,
Create a forward-moving Iterator,
starting at the current position.
Like
forward(), but the resulting iterator
owns the underlying bidirectional iterator. Read moreSource§fn backward(&mut self) -> Backward<&mut Self> ⓘwhere
Self: Sized,
fn backward(&mut self) -> Backward<&mut Self> ⓘwhere
Self: Sized,
Create a backward-moving Iterator,
starting at the current position.
Source§fn backward_owned(self) -> Backward<Self> ⓘwhere
Self: Sized,
fn backward_owned(self) -> Backward<Self> ⓘwhere
Self: Sized,
Create a backward-moving Iterator,
starting at the current position.
The resulting iterator owns the underlying
bidir iterator. Read more
Auto Trait Implementations§
impl<I, F> Freeze for Map<I, F>
impl<I, F> RefUnwindSafe for Map<I, F>where
I: RefUnwindSafe,
F: RefUnwindSafe,
impl<I, F> Send for Map<I, F>
impl<I, F> Sync for Map<I, F>
impl<I, F> Unpin for Map<I, F>
impl<I, F> UnsafeUnpin for Map<I, F>where
I: UnsafeUnpin,
F: UnsafeUnpin,
impl<I, F> UnwindSafe for Map<I, F>where
I: UnwindSafe,
F: 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