Trait Add

Source
pub trait Add<V>
where V: ?Sized,
{ type Output: ?Sized; // Required method fn add(&mut self, _: V) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn add(&mut self, _: V) -> Self::Output

Implementations on Foreign Types§

Source§

impl Add<char> for String

Source§

type Output = ()

Source§

fn add(&mut self, v: char) -> Self::Output

Source§

impl<K, V> Add<(K, V)> for BTreeMap<K, V>
where K: Eq + Ord,

Source§

type Output = Option<V>

Source§

fn add(&mut self, (k, v): (K, V)) -> Self::Output

Source§

impl<K, V, S> Add<(K, V)> for HashMap<K, V, S>
where K: Eq + Hash, S: BuildHasher,

Source§

type Output = Option<V>

Source§

fn add(&mut self, (k, v): (K, V)) -> Self::Output

Source§

impl<T> Add<T> for LinkedList<T>

Source§

type Output = ()

Source§

fn add(&mut self, v: T) -> Self::Output

Source§

impl<T> Add<T> for VecDeque<T>

Source§

type Output = ()

Source§

fn add(&mut self, v: T) -> Self::Output

Source§

impl<T> Add<T> for Vec<T>

Source§

type Output = ()

Source§

fn add(&mut self, v: T) -> Self::Output

Source§

impl<V> Add<V> for BinaryHeap<V>
where V: Ord,

Source§

type Output = ()

Source§

fn add(&mut self, v: V) -> Self::Output

Source§

impl<V> Add<V> for BTreeSet<V>
where V: Eq + Ord,

Source§

type Output = bool

Source§

fn add(&mut self, v: V) -> Self::Output

Source§

impl<V, S> Add<V> for HashSet<V, S>
where V: Eq + Hash, S: BuildHasher,

Source§

type Output = bool

Source§

fn add(&mut self, v: V) -> Self::Output

Implementors§