[][src]Struct restorable::RestorableIter

pub struct RestorableIter<T, I> where
    T: Iterator<Item = I>,
    I: Clone
{ /* fields omitted */ }

Methods

impl<T, I> RestorableIter<T, I> where
    T: Iterator<Item = I>,
    I: Clone
[src]

pub fn new(inner: T) -> Self[src]

pub fn save(&mut self)[src]

pub fn restore(&mut self)[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl<T, I> Iterator for RestorableIter<T, I> where
    T: Iterator<Item = I>,
    I: Clone
[src]

type Item = I

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, I> Send for RestorableIter<T, I> where
    I: Send,
    T: Send

impl<T, I> Unpin for RestorableIter<T, I> where
    I: Unpin,
    T: Unpin

impl<T, I> Sync for RestorableIter<T, I> where
    I: Sync,
    T: Sync

impl<T, I> UnwindSafe for RestorableIter<T, I> where
    I: UnwindSafe,
    T: UnwindSafe

impl<T, I> RefUnwindSafe for RestorableIter<T, I> where
    I: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<I, T> Restorable<I> for T where
    I: Clone,
    T: Iterator<Item = I> + ?Sized
[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> From<T> for T[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.

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

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

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