Skip to main content

Identifier

Trait Identifier 

Source
pub trait Identifier: Display {
    // Required methods
    fn acronym(&self) -> &'static str;
    fn value(&self) -> &str;
}

Required Methods§

Source

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

Source

fn value(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§