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.