[][src]Struct rbuf::RingIter

pub struct RingIter<'b, T> { /* fields omitted */ }

An iterator over a RingBuf.

Note that currently iteration is only possible in a forwards manner, from back to front (i.e., in the order elements were pushed into the buffer).

Trait Implementations

impl<'b, T: Clone> Clone for RingIter<'b, T>[src]

impl<'b, T: Copy> Copy for RingIter<'b, T>[src]

impl<'b, T: Debug> Debug for RingIter<'b, T>[src]

impl<'b, T> ExactSizeIterator for RingIter<'b, T>[src]

impl<'b, T> FusedIterator for RingIter<'b, T>[src]

impl<'b, T> Iterator for RingIter<'b, T>[src]

type Item = &'b T

The type of the elements being iterated over.

fn size_hint(&self) -> (usize, Option<usize>)[src]

Return the bounds on the remaining length of the iterator.

impl<'b, T: PartialEq> PartialEq<RingIter<'b, T>> for RingIter<'b, T>[src]

impl<'b, T> StructuralPartialEq for RingIter<'b, T>[src]

Auto Trait Implementations

impl<'b, T> RefUnwindSafe for RingIter<'b, T> where
    T: RefUnwindSafe

impl<'b, T> Send for RingIter<'b, T> where
    T: Sync

impl<'b, T> Sync for RingIter<'b, T> where
    T: Sync

impl<'b, T> Unpin for RingIter<'b, T>

impl<'b, T> UnwindSafe for RingIter<'b, T> where
    T: RefUnwindSafe

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.