1.0.0[][src]Struct tract_nnef::internal::tract_downcast_rs::__std::collections::linked_list::IterMut

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

A mutable iterator over the elements of a LinkedList.

This struct is created by the iter_mut method on LinkedList. See its documentation for more.

Implementations

impl<'_, T> IterMut<'_, T>[src]

pub fn insert_next(&mut self, element: T)[src]

👎 Deprecated since 1.47.0:

Deprecated in favor of CursorMut methods. This method will be removed soon.

🔬 This is a nightly-only experimental API. (linked_list_extras)

this is probably better handled by a cursor type -- we'll see

Inserts the given element just after the element most recently returned by .next(). The inserted element does not appear in the iteration.

This method will be removed soon.

pub fn peek_next(&mut self) -> Option<&mut T>[src]

👎 Deprecated since 1.47.0:

Deprecated in favor of CursorMut methods. This method will be removed soon.

🔬 This is a nightly-only experimental API. (linked_list_extras)

this is probably better handled by a cursor type -- we'll see

Provides a reference to the next element, without changing the iterator.

This method will be removed soon.

Trait Implementations

impl<'_, T> Debug for IterMut<'_, T> where
    T: Debug
1.17.0[src]

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

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

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

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

type Item = &'a mut T

The type of the elements being iterated over.

impl<'_, T> Send for IterMut<'_, T> where
    T: Send
[src]

impl<'_, T> Sync for IterMut<'_, T> where
    T: Sync
[src]

Auto Trait Implementations

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

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

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

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

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> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<D, A, I> MaybeProduct<D> for I where
    A: Borrow<D>,
    D: DimLike,
    I: Iterator<Item = A>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.