Function hotfix_codegen::codegen_field_type_enum
source · pub fn codegen_field_type_enum(field: Field<'_>, settings: &Settings) -> StringExpand description
Generates the Rust code for an enum that has variants that map 1:1 the
available values for field.