Function custom_enum

Source
pub fn custom_enum(name: &str, variants: Vec<EnumVariant>) -> CustomType
Expand description

Creates a new CustomType of type enum.