pub struct BiIter<'a, T> { /* private fields */ }
Trait Implementations§
Source§impl<'a, T> BidirIterator for BiIter<'a, T>
impl<'a, T> BidirIterator for BiIter<'a, T>
type Item = &'a T
fn next(&mut self) -> Option<&'a T>
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<'a, T> Freeze for BiIter<'a, T>
impl<'a, T> RefUnwindSafe for BiIter<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for BiIter<'a, T>where
T: Sync,
impl<'a, T> Sync for BiIter<'a, T>where
T: Sync,
impl<'a, T> Unpin for BiIter<'a, T>
impl<'a, T> UnwindSafe for BiIter<'a, T>where
T: RefUnwindSafe,
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