Struct std::option::IterMut

pub struct IterMut<'a, A> where    A: 'a,  { /* fields omitted */ }

An iterator over a mutable reference to the Some variant of an Option.

The iterator yields one value if the Option is a Some, otherwise none.

This struct is created by the Option::iter_mut function.

Trait Implementations

impl<'a, A> Debug for IterMut<'a, A> where
    A: 'a + Debug

impl<'a, A> DoubleEndedIterator for IterMut<'a, A>[src]

impl<'_, A> ExactSizeIterator for IterMut<'_, A>[src]

impl<'_, A> FusedIterator for IterMut<'_, A>[src]1.26.0

impl<'a, A> Iterator for IterMut<'a, A>[src]

type Item = &'a mut A

The type of the elements being iterated over.

impl<'_, A> TrustedLen for IterMut<'_, A>[src]

Auto Trait Implementations

impl<'a, A> RefUnwindSafe for IterMut<'a, A> where
    A: RefUnwindSafe

impl<'a, A> Send for IterMut<'a, A> where
    A: Send

impl<'a, A> Sync for IterMut<'a, A> where
    A: Sync

impl<'a, A> Unpin for IterMut<'a, A>

impl<'a, A> !UnwindSafe for IterMut<'a, A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<I> IntoIterator for I where
    I: Iterator

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.