Trait iterable::GrowableProducer[][src]

pub trait GrowableProducer<A>: Producer<A> {
    fn empty() -> Self;
fn grow_one(&mut self, a: A);
fn grow<C>(&mut self, c: C)
    where
        C: Consumer<Item = A>
; }

Required methods

fn empty() -> Self[src]

fn grow_one(&mut self, a: A)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = A>, 
[src]

Implementations on Foreign Types

impl<T, const N: usize> GrowableProducer<T> for [T; N][src]

fn empty() -> Self[src]

fn grow_one(&mut self, _: T)[src]

fn grow<C>(&mut self, _: C) where
    C: Consumer<Item = T>, 
[src]

impl<T: Ord> GrowableProducer<T> for BinaryHeap<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

impl<K: Ord, V> GrowableProducer<(K, V)> for BTreeMap<K, V>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: (K, V))[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = (K, V)>, 
[src]

impl<T: Ord> GrowableProducer<T> for BTreeSet<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

impl<K: Eq + Hash, V> GrowableProducer<(K, V)> for HashMap<K, V>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: (K, V))[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = (K, V)>, 
[src]

impl<T: Eq + Hash> GrowableProducer<T> for HashSet<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

impl<T> GrowableProducer<T> for LinkedList<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

impl<T> GrowableProducer<T> for VecDeque<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

impl GrowableProducer<char> for String[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: char)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = char>, 
[src]

impl<'a> GrowableProducer<&'a char> for String[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: &'a char)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = &'a char>, 
[src]

impl<T> GrowableProducer<T> for Vec<T>[src]

fn empty() -> Self[src]

fn grow_one(&mut self, a: T)[src]

fn grow<C>(&mut self, c: C) where
    C: Consumer<Item = T>, 
[src]

Implementors