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>
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