pub trait Descriptor: Eq + Clone {
    // Required methods
    fn flag_name() -> &'static str;
    fn name(&self) -> Cow<'_, str>;

    // Provided methods
    fn stronger_than(&self, other: &Self) -> bool { ... }
    fn aliases(&self) -> Vec<Self> { ... }
}

Required Methods§

source

fn flag_name() -> &'static str

source

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

Provided Methods§

source

fn stronger_than(&self, other: &Self) -> bool

source

fn aliases(&self) -> Vec<Self>

Object Safety§

This trait is not object safe.

Implementors§