[][src]Struct arae::iter::WrappingIter

pub struct WrappingIter<'a, C, T> { /* fields omitted */ }

A cyclic Bounded element Iterator that returns a reference to the element and a Cursor that points to it.

Methods

impl<'a, C, T> WrappingIter<'a, C, T>[src]

pub fn new(cursed: &'a C, cursor: Cursor<T>) -> Self[src]

Construct a new WrappingIter.

Trait Implementations

impl<'a, C: Debug, T: Debug> Debug for WrappingIter<'a, C, T>[src]

impl<'a, C, T: 'a> DoubleEndedIterator for WrappingIter<'a, C, T> where
    C: Bounded<T>, 
[src]

impl<'a, C, T: 'a> Iterator for WrappingIter<'a, C, T> where
    C: Bounded<T>, 
[src]

type Item = (&'a T, Cursor<T>)

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, C, T> !Send for WrappingIter<'a, C, T>

impl<'a, C, T> !Sync for WrappingIter<'a, C, T>

impl<'a, C, T> Unpin for WrappingIter<'a, C, 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, 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.