Derive Macro below_derive::EnumFromStr

source ·
#[derive(EnumFromStr)]
Expand description

Implements std::str::FromStr for enum, which has same constraints as EnumToString and works in the opposite direction.