Trait eclectic::Clear
[−]
[src]
pub trait Clear { fn clear(&mut self); }
A collection that can be cleared.
Required Methods
fn clear(&mut self)
Removes all items from the collection.
Implementors
impl<T> Clear for BinaryHeap<T> where T: Ord
impl<K, V> Clear for BTreeMap<K, V> where K: Ord
impl<T> Clear for BTreeSet<T> where T: Ord
impl<K, V> Clear for HashMap<K, V> where K: Eq + Hash
impl<T> Clear for HashSet<T> where T: Eq + Hash
impl<T> Clear for LinkedList<T>
impl Clear for String
impl<T> Clear for Vec<T>
impl<T> Clear for VecDeque<T>