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