pub trait Name {
    fn name(&self) -> &'static str;
}
Expand description

Name defines types that assign a static name to their value, such as the name given to an identifier in an XDR enum, or the name given to the case in a union.

Required Methods§

Implementors§