Length

Trait Length 

Source
pub trait Length {
    const SIZE: usize = 0usize;

    // Provided methods
    fn len(&self) -> usize { ... }
    fn is_empty(&self) -> bool { ... }
}

Provided Associated Constants§

Source

const SIZE: usize = 0usize

Provided Methods§

Source

fn len(&self) -> usize

Source

fn is_empty(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Length for Empty

Source§

impl<V, N: Length> Length for dynamic_list::array::Node<V, N>

Source§

impl<V, N: Length> Length for dynamic_list::list::Node<V, N>