Derive Macro enum2pos::EnumIndex

source ·
#[derive(EnumIndex)]
{
    // Attributes available to this derive:
    #[enum2pos]
}