Trait VectorIterMut

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

Source

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

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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]

Source§

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]

Source§

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 T
where T: VectorIterMut<E, N> + VectorIter<E, N>,

Implementation of VectorRef for references to collections.

Source§

fn vector_iter_mut<'a>(&'a mut self) -> impl VectorIterator<'a, &'a mut E>
where E: 'a,

Implementors§

Source§

impl<E, const N: usize> VectorIterMut<E, N> for Vector<E, N>
where E: MatEl,