Trait CollectionMut

Source
pub trait CollectionMut: Collection {
    // Required method
    fn clear(&mut self);
}

Required Methods§

Source

fn clear(&mut self)

Implementations on Foreign Types§

Source§

impl CollectionMut for String

Source§

fn clear(&mut self)

Source§

impl<K, V> CollectionMut for BTreeMap<K, V>
where K: Eq + Ord,

Source§

fn clear(&mut self)

Source§

impl<K, V, S> CollectionMut for HashMap<K, V, S>
where K: Eq + Hash, S: BuildHasher,

Source§

fn clear(&mut self)

Source§

impl<T> CollectionMut for LinkedList<T>

Source§

fn clear(&mut self)

Source§

impl<T> CollectionMut for VecDeque<T>

Source§

fn clear(&mut self)

Source§

impl<T> CollectionMut for Vec<T>

Source§

fn clear(&mut self)

Source§

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

Source§

fn clear(&mut self)

Source§

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

Source§

fn clear(&mut self)

Source§

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

Source§

fn clear(&mut self)

Implementors§