Struct atlist_rs::Iter[][src]

pub struct Iter<T> { /* fields omitted */ }

An iterator over the elements of a LinkedList.

This struct is created by LinkedList::iter(). See its documentation for more.

This iterator is just like std::collections::linked_list::Cursor but it’s allowed to be saved into anywhere and can be converted into IterMut. by any time.

Implementations

impl<T> Iter<T>[src]

pub fn try_unwrap(&self) -> LinkedListResult<LinkedListItem<T>>[src]

pub fn unwrap(&self) -> LinkedListItem<T>[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<T> Clone for Iter<T>[src]

impl<T: Debug> Debug for Iter<T>[src]

impl<T> DoubleEndedIterator for Iter<T>[src]

impl<T: PartialEq> Eq for Iter<T>[src]

impl<T> From<&'_ Iter<T>> for IterMut<T>[src]

impl<T> From<&'_ IterMut<T>> for Iter<T>[src]

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

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

impl<T> FusedIterator for Iter<T>[src]

impl<T> Iterator for Iter<T>[src]

type Item = LinkedListItem<T>

The type of the elements being iterated over.

impl<T: PartialEq> PartialEq<Iter<T>> for Iter<T>[src]

impl<T: PartialEq> PartialEq<Iter<T>> for IterMut<T>[src]

impl<T: PartialEq> PartialEq<IterMut<T>> for Iter<T>[src]

impl<T: Sync + Send> Send for Iter<T>[src]

impl<T: Sync + Send> Sync for Iter<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Iter<T>

impl<T> Unpin for Iter<T>

impl<T> UnwindSafe for Iter<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> 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.