[][src]Struct iterpipes::PipeIter

pub struct PipeIter<I: Iterator> { /* fields omitted */ }

A pipe that yields the elements of an iterator.

As iterators don't have input items, this always takes a () and returns the next value of the iterators.

Methods

impl<I: Iterator> PipeIter<I>[src]

pub fn new(iter: I) -> Self[src]

Create a new pipe wrapper for that iterator.

Trait Implementations

impl<I: Iterator> Pipe for PipeIter<I>[src]

type InputItem = ()

The type of input this pipe accepts.

type OutputItem = Option<I::Item>

The type of output this pipe produces.

Auto Trait Implementations

impl<I> RefUnwindSafe for PipeIter<I> where
    I: RefUnwindSafe

impl<I> Send for PipeIter<I> where
    I: Send

impl<I> Sync for PipeIter<I> where
    I: Sync

impl<I> Unpin for PipeIter<I> where
    I: Unpin

impl<I> UnwindSafe for PipeIter<I> where
    I: UnwindSafe

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<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.