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

    // Provided method
    fn stronger_than(&self, other: &Self) -> bool { ... }
}

Required Methods§

source

fn flag_name() -> &'static str

source

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

Provided Methods§

source

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

Implementors§