[−][src]Trait packed_struct::prelude::PrimitiveEnumDynamicStr
Dynamic display formatters.
Required methods
pub fn to_display_str(&self) -> Cow<'static, str>
[src]
Display value, same as the name of a particular variant.
pub fn all_variants() -> Cow<'static, [Self]>
[src]
A list all possible string variants.
Implementors
impl<E> PrimitiveEnumDynamicStr for EnumCatchAll<E> where
E: PrimitiveEnum + PrimitiveEnumDynamicStr,
[src]
E: PrimitiveEnum + PrimitiveEnumDynamicStr,
pub fn to_display_str(&self) -> Cow<'static, str>
[src]
Display value, same as the name of a particular variant.