[][src]Trait iterators_collection::child::ChildIterator

pub trait ChildIterator {
    type Parent: Iterator;
    fn release_parent(self) -> Self::Parent;
fn get_parent_mut(&mut self) -> &mut Self::Parent;
fn get_parent(&self) -> &Self::Parent; }

A trait that means Self is an iterator on another iterator we could access to in some ways

Associated Types

Loading content...

Required methods

fn release_parent(self) -> Self::Parent

Destroys self and returns its parent

fn get_parent_mut(&mut self) -> &mut Self::Parent

Returns a mutable reference to the parent of self

fn get_parent(&self) -> &Self::Parent

Returns a reference to the parent of self

Loading content...

Implementors

impl<I, F, R> ChildIterator for ResettableMap<I, F> where
    I: Iterator,
    F: FnMut(I::Item) -> R, 
[src]

type Parent = I

impl<T> ChildIterator for Exclude<T> where
    T: Iterator,
    T::Item: PartialEq
[src]

type Parent = T

Loading content...