pub struct Map<A, F> { /* private fields */ }Expand description
Implementation behind ArrayIterator::map
Implementations§
Trait Implementations§
Source§impl<U, A, F, const N: usize> ArrayIterator<N> for Map<A, F>
impl<U, A, F, const N: usize> ArrayIterator<N> for Map<A, F>
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, F> Freeze for Map<A, F>
impl<A, F> RefUnwindSafe for Map<A, F>where
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, F> Send for Map<A, F>
impl<A, F> Sync for Map<A, F>
impl<A, F> Unpin for Map<A, F>
impl<A, F> UnwindSafe for Map<A, F>where
A: UnwindSafe,
F: UnwindSafe,
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