ContainerIterMut

Trait ContainerIterMut 

Source
pub trait ContainerIterMut<T>: Container<T>
where Self::Cont<T>: RawSpace<Elem = T>,
{ type Iter<'a, U>: Iterator<Item = &'a mut U> where Self: 'a, U: 'a; // Required method fn iter_mut(&mut self) -> Self::Iter<'_, T>; }

Required Associated Types§

Source

type Iter<'a, U>: Iterator<Item = &'a mut U> where Self: 'a, U: 'a

Required Methods§

Source

fn iter_mut(&mut self) -> Self::Iter<'_, T>

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<T> ContainerIterMut<T> for &mut [T]

Source§

type Iter<'a, U> = IterMut<'a, U> where Self: 'a, U: 'a

Source§

fn iter_mut(&mut self) -> Self::Iter<'_, T>

Source§

impl<T> ContainerIterMut<T> for [T]

Source§

type Iter<'a, U> = IterMut<'a, U> where Self: 'a, U: 'a

Source§

fn iter_mut(&mut self) -> Self::Iter<'_, T>

Source§

impl<const N: usize, T> ContainerIterMut<T> for [T; N]

Source§

type Iter<'a, U> = IterMut<'a, U> where Self: 'a, U: 'a

Source§

fn iter_mut(&mut self) -> Self::Iter<'_, T>

Implementors§