Trait eclectic::Len
[−]
[src]
pub trait Len { fn len(&self) -> usize; fn is_empty(&self) -> bool { ... } }
A collection that contains a finite number of items.
Required Methods
Provided Methods
Implementors
impl<T> Len for [T]
impl<T> Len for BinaryHeap<T> where T: Ord
impl<K, V> Len for BTreeMap<K, V> where K: Ord
impl<T> Len for BTreeSet<T> where T: Ord
impl<K, V> Len for HashMap<K, V> where K: Eq + Hash
impl<T> Len for HashSet<T> where T: Eq + Hash
impl<T> Len for LinkedList<T>
impl Len for String
impl Len for str
impl<T> Len for Vec<T>
impl<T> Len for VecDeque<T>