wiggle_generate::names

Function enum_variant

Source
pub fn enum_variant(id: &Id) -> Ident
Expand description

Convert an enum variant from its Id name to its Rust Ident representation.