pub struct RangeInclusiveIter<T> { /* private fields */ }
Expand description
Implementations§
Source§impl<T> RangeInclusiveIter<T>where
T: Step,
impl<T> RangeInclusiveIter<T>where
T: Step,
Sourcepub const fn copy(&self) -> RangeInclusiveIter<T>
pub const fn copy(&self) -> RangeInclusiveIter<T>
Creates a clone of this iterator
Sourcepub const fn rev(self) -> RangeInclusiveIterRev<T>
pub const fn rev(self) -> RangeInclusiveIterRev<T>
Reverses the iterator
Sourcepub const fn next(self) -> Option<(T, RangeInclusiveIter<T>)>
pub const fn next(self) -> Option<(T, RangeInclusiveIter<T>)>
Advances the iterator and returns the next value.
Sourcepub const fn next_back(self) -> Option<(T, RangeInclusiveIter<T>)>
pub const fn next_back(self) -> Option<(T, RangeInclusiveIter<T>)>
Removes and returns an element from the end of the iterator.
Trait Implementations§
Source§impl<T> ConstIntoIter for RangeInclusiveIter<T>where
T: Step,
impl<T> ConstIntoIter for RangeInclusiveIter<T>where
T: Step,
Auto Trait Implementations§
impl<T> Freeze for RangeInclusiveIter<T>where
T: Freeze,
impl<T> RefUnwindSafe for RangeInclusiveIter<T>where
T: RefUnwindSafe,
impl<T> Send for RangeInclusiveIter<T>where
T: Send,
impl<T> Sync for RangeInclusiveIter<T>where
T: Sync,
impl<T> Unpin for RangeInclusiveIter<T>where
T: Unpin,
impl<T> UnwindSafe for RangeInclusiveIter<T>where
T: 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