Trait Labeled

Source
pub trait Labeled {
    // Required method
    fn label(&self) -> Cow<'_, str>;
}
Expand description

A trait for objects that have a human-readable label.

Required Methods§

Source

fn label(&self) -> Cow<'_, str>

Returns the human-readable label of the object.

Implementors§