[][src]Trait array_ops::HasLength

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

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

Trait for data structures which have a length.

Required methods

fn len(&self) -> usize

Return the length of the data structure.

Loading content...

Provided methods

fn is_empty(&self) -> bool

Return whether the data structure is empty.

Loading content...

Implementations on Foreign Types

impl<A> HasLength for VecDeque<A>[src]

Loading content...

Implementors

Loading content...