Skip to main content

GetLength

Trait GetLength 

Source
pub trait GetLength {
    // Required method
    fn len(&self) -> usize;
}

Required Methods§

Source

fn len(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, E> GetLength for Result<Vec<T>, E>

Source§

fn len(&self) -> usize

Implementors§