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