Trait cc_traits::Len[][src]

pub trait Len {
    fn len(&self) -> usize;

    fn is_empty(&self) -> bool { ... }
}

Sized collection.

Required methods

fn len(&self) -> usize[src]

Returns the number of elements in the collection.

Loading content...

Provided methods

fn is_empty(&self) -> bool[src]

Checks if the collection is empty.

Loading content...

Implementations on Foreign Types

impl<T> Len for Vec<T>[src]

impl<T> Len for VecDeque<T>[src]

impl<K, V> Len for BTreeMap<K, V>[src]

impl<T> Len for BTreeSet<T>[src]

impl<K, V> Len for HashMap<K, V>[src]

impl<T> Len for HashSet<T>[src]

Loading content...

Implementors

Loading content...