Struct chomp::buffer::data_source::IteratorDataSource
[−]
[src]
pub struct IteratorDataSource<I: Iterator>(_);
Implementation of DataSource for Iterator.
Methods
impl<I: Iterator> IteratorDataSource<I>[src]
fn new(inner: I) -> Self
Creates a new IteratorDataSource from an Iterator instance.
fn into_inner(self) -> I
Consumes self to reveal the underlying Iterator instance.
Trait Implementations
impl<I: Debug + Iterator> Debug for IteratorDataSource<I>[src]
impl<I: Iterator> DataSource for IteratorDataSource<I> where
I::Item: Copy + PartialEq, [src]
I::Item: Copy + PartialEq,