[][src]Trait strum::VariantNames

pub trait VariantNames {
    pub const VARIANTS: &'static [&'static str];
}

A trait for retrieving the names of each variant in Enum. This trait can be autoderived by strum_macros.

Associated Constants

pub const VARIANTS: &'static [&'static str][src]

Names of the variants of this enum

Loading content...

Implementors

Loading content...