pub trait VectorIterMut<E, const N: usize>: VectorIter<E, N> {
// Required method
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>
where E: 'a;
}Expand description
Trait to get iterator over elements of a vector.
Required Methods§
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl VectorIterMut<usize, 0> for ()
impl VectorIterMut<usize, 0> for ()
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut usize>where
usize: 'a,
Source§impl<E> VectorIterMut<E, 1> for (E,)where
E: Clone,
impl<E> VectorIterMut<E, 1> for (E,)where
E: Clone,
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<E> VectorIterMut<E, 2> for (E, E)where
E: Clone,
impl<E> VectorIterMut<E, 2> for (E, E)where
E: Clone,
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<E> VectorIterMut<E, 3> for (E, E, E)where
E: Clone,
impl<E> VectorIterMut<E, 3> for (E, E, E)where
E: Clone,
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<E> VectorIterMut<E, 4> for (E, E, E, E)where
E: Clone,
impl<E> VectorIterMut<E, 4> for (E, E, E, E)where
E: Clone,
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<E, const N: usize> VectorIterMut<E, N> for [E; N]
impl<E, const N: usize> VectorIterMut<E, N> for [E; N]
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<E, const N: usize> VectorIterMut<E, N> for [E]
impl<E, const N: usize> VectorIterMut<E, N> for [E]
fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>where
E: 'a,
Source§impl<T, E, const N: usize> VectorIterMut<E, N> for &mut Twhere
T: VectorIterMut<E, N> + VectorIter<E, N>,
Implementation of VectorRef for references to collections.
impl<T, E, const N: usize> VectorIterMut<E, N> for &mut Twhere
T: VectorIterMut<E, N> + VectorIter<E, N>,
Implementation of VectorRef for references to collections.