Struct konst::slice::RChunksExact
source · pub struct RChunksExact<'a, T> { /* private fields */ }
Expand description
Const equivalent of core::slice::RChunksExact
This is constructed with rchunks_exact
like this:
konst::slice::rchunks_exact(slice, 1)
Implementations§
source§impl<'a, T> RChunksExact<'a, T>
impl<'a, T> RChunksExact<'a, T>
sourcepub const fn rev(self) -> RChunksExactRev<'a, T>
pub const fn rev(self) -> RChunksExactRev<'a, T>
Reverses the iterator
sourcepub const fn next(self) -> Option<(&'a [T], Self)>
pub const fn next(self) -> Option<(&'a [T], Self)>
Advances the iterator and returns the next value.
Trait Implementations§
source§impl<'a, T> ConstIntoIter for RChunksExact<'a, T>
impl<'a, T> ConstIntoIter for RChunksExact<'a, T>
§type Kind = IsIteratorKind
type Kind = IsIteratorKind
What kind of type this is: Read more
§type IntoIter = RChunksExact<'a, T>
type IntoIter = RChunksExact<'a, T>
The iterator that this can be converted into.
Auto Trait Implementations§
impl<'a, T> Freeze for RChunksExact<'a, T>
impl<'a, T> RefUnwindSafe for RChunksExact<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for RChunksExact<'a, T>where
T: Sync,
impl<'a, T> Sync for RChunksExact<'a, T>where
T: Sync,
impl<'a, T> Unpin for RChunksExact<'a, T>
impl<'a, T> UnwindSafe for RChunksExact<'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