Skip to main content

IterMutExtension

Trait IterMutExtension 

Source
pub trait IterMutExtension<'a, Item>: 'a + IterExtension<'a, Item>
where &'a Self: IntoIterator<Item = Item>, &'a mut Self: IntoIterator<Item = Item>,
{ // Provided method fn iter_mut(&'a mut self) -> <&'a mut Self as IntoIterator>::IntoIter { ... } }

Provided Methods§

Source

fn iter_mut(&'a mut self) -> <&'a mut Self as IntoIterator>::IntoIter

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.

Implementors§

Source§

impl<'a, Item, T> IterMutExtension<'a, Item> for T
where &'a mut T: IntoIterator<Item = Item> + 'a, &'a T: IntoIterator<Item = Item>,