Trait math::traits::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§