Struct konst::range::RangeInclusiveIter
source · 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,
§type Kind = IsIteratorKind
type Kind = IsIteratorKind
What kind of type this is: Read more
§type IntoIter = RangeInclusiveIter<T>
type IntoIter = RangeInclusiveIter<T>
The iterator that this can be converted into.
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