pub trait Enum: Sized {
    // Required methods
    fn to_symbol_name(&self) -> &'static str;
    fn from_symbol_name(str: &str) -> Option<Self>;
}

Required Methods§

source

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

source

fn from_symbol_name(str: &str) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementors§