pub trait EnumInfo: Into<&'static str> {
    // Required methods
    fn as_name(&self) -> &'static str;
    fn as_docs(&self) -> &'static [&'static str];

    // Provided method
    fn as_short_doc(&self) -> &'static str { ... }
}

Required Methods§

source

fn as_name(&self) -> &'static str

source

fn as_docs(&self) -> &'static [&'static str]

Provided Methods§

source

fn as_short_doc(&self) -> &'static str

Implementors§