Trait packed_struct::PrimitiveEnumStaticStr [−][src]
pub trait PrimitiveEnumStaticStr where
Self: Sized + Copy + PrimitiveEnum, {
fn to_display_str(&self) -> &'static str;
fn all_variants() -> &'static [Self]ⓘ;
}
Expand description
Static display formatters.
Required methods
fn to_display_str(&self) -> &'static str
fn to_display_str(&self) -> &'static str
Display value, same as the name of a particular variant.