Trait adaptor

Source
pub trait adaptor<I> {
    type Output;

    // Required method
    fn pipe(self, i: I) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn pipe(self, i: I) -> Self::Output

Implementors§

Source§

impl<I> adaptor<I> for drop
where I: Iterator,

Source§

impl<I> adaptor<I> for enumerate
where I: Iterator,

Source§

impl<I> adaptor<I> for join
where I: Iterator, I::Item: Iterator,

Source§

impl<I> adaptor<I> for repeat
where I: Iterator + Clone,

Source§

impl<I> adaptor<I> for reverse

Source§

impl<I> adaptor<I> for take
where I: Iterator,

Source§

impl<I, F> adaptor<I> for drop_while<F>
where I: Iterator, F: FnMut(&I::Item) -> bool,

Source§

impl<I, F> adaptor<I> for filter<F>
where I: Iterator, F: FnMut(&I::Item) -> bool,

Source§

type Output = Filter<I, F>

Source§

impl<I, F> adaptor<I> for take_while<F>
where I: Iterator, F: FnMut(&I::Item) -> bool,

Source§

impl<I, F, O> adaptor<I> for transform<F>
where I: Iterator, F: FnMut(I::Item) -> O,

Source§

type Output = Map<I, F>

Source§

impl<I, J> adaptor<I> for zip<J>
where I: Iterator, J: IntoIterator,