[][src]Trait collectable::Length

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

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

Obtain the length of a collection.

Required methods

fn len(&self) -> usize

Get the length of this collection.

Loading content...

Provided methods

fn is_empty(&self) -> bool

Is the collection empty?

Loading content...

Implementors

Loading content...