Skip to main content

Length

Trait Length 

Source
pub trait Length {
    type ReturnOperand;

    // Required method
    fn length(&self) -> Self::ReturnOperand;
}

Required Associated Types§

Required Methods§

Source

fn length(&self) -> Self::ReturnOperand

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§