pub struct ArrayIter<'a, T: 'a, const N: usize> { /* private fields */ }Expand description
ArrayIter is an implementation of ArrayIterator for &[T; N]
Trait Implementations§
Source§impl<'a, T, const N: usize> ArrayIterator<N> for ArrayIter<'a, T, N>
impl<'a, T, const N: usize> ArrayIterator<N> for ArrayIter<'a, T, N>
Source§fn map<U, F: Fn(Self::Item) -> U>(self, f: F) -> Map<Self, F>
fn map<U, F: Fn(Self::Item) -> U>(self, f: F) -> Map<Self, F>
Lazily mutate the contents of an array
Source§fn zip<B: IntoArrayIterator<N>>(self, b: B) -> Zip<Self, B::ArrayIter>
fn zip<B: IntoArrayIterator<N>>(self, b: B) -> Zip<Self, B::ArrayIter>
Lazily combine two
ArrayIterators into an new oneAuto Trait Implementations§
impl<'a, T, const N: usize> Freeze for ArrayIter<'a, T, N>
impl<'a, T, const N: usize> RefUnwindSafe for ArrayIter<'a, T, N>where
T: RefUnwindSafe,
impl<'a, T, const N: usize> !Send for ArrayIter<'a, T, N>
impl<'a, T, const N: usize> !Sync for ArrayIter<'a, T, N>
impl<'a, T, const N: usize> Unpin for ArrayIter<'a, T, N>
impl<'a, T, const N: usize> !UnwindSafe for ArrayIter<'a, T, N>
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
Source§impl<A, const N: usize> IntoArrayIterator<N> for Awhere
A: ArrayIterator<N>,
impl<A, const N: usize> IntoArrayIterator<N> for Awhere
A: ArrayIterator<N>,
Source§type Item = <A as ArrayIterator<N>>::Item
type Item = <A as ArrayIterator<N>>::Item
Item returned by the
ArrayIteratorSource§type ArrayIter = A
type ArrayIter = A
The
ArrayIterator returnedSource§fn into_array_iter(self) -> <A as IntoArrayIterator<N>>::ArrayIter
fn into_array_iter(self) -> <A as IntoArrayIterator<N>>::ArrayIter
Converts self into an
ArrayIterator