Trait strum::VariantNames
source · pub trait VariantNames {
const VARIANTS: &'static [&'static str];
}
Expand description
A trait for retrieving the names of each variant in Enum. This trait can
be autoderived by strum_macros
.
Required Associated Constants§
Object Safety§
This trait is not object safe.