Skip to main content

Lane

Trait Lane 

Source
pub trait Lane: Send + 'static {
    // Required methods
    fn name(&self) -> &'static str;
    fn capacity(&self) -> Capacity;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn capacity(&self) -> Capacity

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§