Trait std::collections::Mutable[src]
pub trait Mutable: Collection {
fn clear(&mut self);
}A trait to represent mutable containers
Required Methods
fn clear(&mut self)
Clear the container, removing all values.
Implementors
impl<K: Eq + Hash<S>, V, S, H: Hasher<S>> Mutable for HashMap<K, V, H>impl<T: Eq + Hash<S>, S, H: Hasher<S>> Mutable for HashSet<T, H>impl<K: Hash + Eq, V> Mutable for LruCache<K, V>impl Mutable for BitvSetimpl<T> Mutable for DList<T>impl<T: Ord> Mutable for PriorityQueue<T>impl<T> Mutable for RingBuf<T>impl<V> Mutable for SmallIntMap<V>impl<K: Ord, V> Mutable for TreeMap<K, V>impl<T: Ord> Mutable for TreeSet<T>impl<T> Mutable for TrieMap<T>impl Mutable for TrieSetimpl Mutable for Stringimpl<T> Mutable for Vec<T>