Struct PairsMut

pub struct PairsMut<'a, T: 'a, P: 'a> { /* private fields */ }

An iterator over mutably borrowed pairs of type Pair<&mut T, &mut P>.

Refer to the module documentation for details about punctuated sequences.

Trait Implementations

impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P>

fn next_back(&mut self) -> Option<Self::Item>

impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P>

fn len(&self) -> usize

impl<'a, T, P> Iterator for PairsMut<'a, T, P>

type Item = Pair<&'a mut T, &'a mut P>;
fn next(&mut self) -> Option<Self::Item>
fn size_hint(&self) -> (usize, Option<usize>)

Auto Trait Implementations

impl<'a, T, P> !UnwindSafe for PairsMut<'a, T, P>

impl<'a, T, P> Freeze for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: Freeze, IntoIter<&'a mut T>: Freeze,

impl<'a, T, P> RefUnwindSafe for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: RefUnwindSafe, IntoIter<&'a mut T>: RefUnwindSafe,

impl<'a, T, P> Send for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: Send, IntoIter<&'a mut T>: Send,

impl<'a, T, P> Sync for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: Sync, IntoIter<&'a mut T>: Sync,

impl<'a, T, P> Unpin for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: Unpin, IntoIter<&'a mut T>: Unpin,

impl<'a, T, P> UnsafeUnpin for PairsMut<'a, T, P> where IterMut<'a, (T, P)>: UnsafeUnpin, IntoIter<&'a mut T>: UnsafeUnpin,

Blanket Implementations

impl<I> IntoIterator for PairsMut<'a, T, P> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for PairsMut<'a, T, P> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PairsMut<'a, T, P> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PairsMut<'a, T, P> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for PairsMut<'a, T, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for PairsMut<'a, T, P> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for PairsMut<'a, T, P> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for PairsMut<'a, T, P> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>