Trait Collecting

Source
pub trait Collecting<E> {
    // Required method
    fn collect(&mut self, item: E);
}

Required Methods§

Source

fn collect(&mut self, item: E)

Implementations on Foreign Types§

Source§

impl<'a, T: Clone> Collecting<&'a T> for Vec<T>
where &'a T: Deref,

Source§

fn collect(&mut self, item: &'a T)

Source§

impl<T> Collecting<T> for Vec<T>

Source§

fn collect(&mut self, item: T)

Implementors§