pub trait HasConstLen {
    const LEN: usize;

    fn len(&self) -> usize;

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

Gets the length of the element

Required Associated Constants

The length as constant usize

Required Methods

The length

Provided Methods

Returns true, if empty

Implementations on Foreign Types

Implementors