cranelift_codegen_meta::shared::immediates

Function new_enum

source
fn new_enum(
    format_field_name: &'static str,
    rust_type: &'static str,
    values: HashMap<&'static str, &'static str>,
    doc: &'static str,
) -> OperandKind