Trait iterable::Consumer [−][src]
pub trait Consumer { type Item; type IntoIter: Iterator<Item = Self::Item>; fn consume(self) -> Self::IntoIter; }
Associated Types
Required methods
Implementations on Foreign Types
impl<T> Consumer for BinaryHeap<T>
[src]
impl<T> Consumer for BinaryHeap<T>
[src]type Item = <BinaryHeap<T> as IntoIterator>::Item
type IntoIter = <BinaryHeap<T> as IntoIterator>::IntoIter
fn consume(self) -> Self::IntoIter
[src]
impl<'a, T: 'a> Consumer for &'a BinaryHeap<T>
[src]
impl<'a, T: 'a> Consumer for &'a BinaryHeap<T>
[src]type Item = <&'a BinaryHeap<T> as IntoIterator>::Item
type IntoIter = <&'a BinaryHeap<T> as IntoIterator>::IntoIter
fn consume(self) -> Self::IntoIter
[src]
impl<T> Consumer for LinkedList<T>
[src]
impl<T> Consumer for LinkedList<T>
[src]type Item = <LinkedList<T> as IntoIterator>::Item
type IntoIter = <LinkedList<T> as IntoIterator>::IntoIter
fn consume(self) -> Self::IntoIter
[src]
impl<'a, T: 'a> Consumer for &'a LinkedList<T>
[src]
impl<'a, T: 'a> Consumer for &'a LinkedList<T>
[src]type Item = <&'a LinkedList<T> as IntoIterator>::Item
type IntoIter = <&'a LinkedList<T> as IntoIterator>::IntoIter
fn consume(self) -> Self::IntoIter
[src]
Implementors
impl<I> Consumer for LazyEnumerate<I> where
I: Consumer,
[src]
impl<I> Consumer for LazyEnumerate<I> where
I: Consumer,
[src]impl<I> Consumer for LazyStepBy<I> where
I: Consumer,
[src]
impl<I> Consumer for LazyStepBy<I> where
I: Consumer,
[src]impl<I, F, T> Consumer for LazyFilterMap<I, F> where
I: Consumer,
F: Fn(I::Item) -> Option<T>,
[src]
impl<I, F, T> Consumer for LazyFilterMap<I, F> where
I: Consumer,
F: Fn(I::Item) -> Option<T>,
[src]impl<I, F, T> Consumer for LazyFlatMap<I, F> where
I: Consumer,
F: Fn(I::Item) -> T,
T: Consumer,
[src]
impl<I, F, T> Consumer for LazyFlatMap<I, F> where
I: Consumer,
F: Fn(I::Item) -> T,
T: Consumer,
[src]