fuchsia_inspect

Trait Length

Source
pub trait Length {
    // Required method
    fn len(&self) -> Option<usize>;

    // Provided method
    fn is_empty(&self) -> Option<bool> { ... }
}
Expand description

Get the usable length of a type.

Required Methods§

Source

fn len(&self) -> Option<usize>

Provided Methods§

Source

fn is_empty(&self) -> Option<bool>

Implementors§

Source§

impl<T: ArrayProperty + InspectTypeInternal> Length for T