Trait data_structure_traits::Collection
[−]
[src]
pub trait Collection { fn len(&self) -> usize; fn is_empty(&self) -> bool { ... } }
Required Methods
Provided Methods
Implementations on Foreign Types
impl<K, V> Collection for BTreeMap<K, V> where
K: Eq + Ord,
[src]
K: Eq + Ord,
impl<V> Collection for BTreeSet<V> where
V: Eq + Ord,
[src]
V: Eq + Ord,
impl<K, V, S> Collection for HashMap<K, V, S> where
K: Eq + Hash,
S: BuildHasher,
[src]
K: Eq + Hash,
S: BuildHasher,
impl<V, S> Collection for HashSet<V, S> where
V: Eq + Hash,
S: BuildHasher,
[src]
V: Eq + Hash,
S: BuildHasher,