Skip to main content

VectorRef

Trait VectorRef 

Source
pub trait VectorRef: Copy {
    // Required methods
    fn len(self) -> usize;
    fn is_empty(self) -> bool;
}

Required 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".

Implementations on Foreign Types§

Source§

impl<T> VectorRef for &[T]

Source§

fn len(self) -> usize

Source§

fn is_empty(self) -> bool

Implementors§