Skip to main content

IteratorMutExt

Trait IteratorMutExt 

Source
pub trait IteratorMutExt<'a, T: 'a>: Iterator<Item = &'a mut T> {
    // Provided method
    fn assign(self, other: impl IntoIterator<Item = T>)
       where Self: Sized { ... }
}

Provided Methods§

Source

fn assign(self, other: impl IntoIterator<Item = T>)
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, T: 'a, I: Iterator<Item = &'a mut T>> IteratorMutExt<'a, T> for I