Lines Matching refs:EnumBuilder
2508 enum EnumBuilder<'a> { enum
2534 impl<'a> EnumBuilder<'a> { implementation
2538 EnumBuilder::Rust { codegen_depth, .. } | in codegen_depth()
2539 EnumBuilder::NewType { codegen_depth, .. } | in codegen_depth()
2540 EnumBuilder::ModuleConsts { codegen_depth, .. } | in codegen_depth()
2541 EnumBuilder::Consts { codegen_depth, .. } => codegen_depth, in codegen_depth()
2548 EnumBuilder::Rust { .. } => true, in is_rust_enum()
2565 EnumVariation::NewType { is_bitfield } => EnumBuilder::NewType { in new()
2579 EnumBuilder::Rust { in new()
2596 EnumBuilder::Consts { in new()
2613 EnumBuilder::ModuleConsts { in new()
2653 EnumBuilder::Rust { in with_variant()
2661 EnumBuilder::Rust { in with_variant()
2674 EnumBuilder::NewType { canonical_name, .. } => { in with_variant()
2701 EnumBuilder::Consts { ref repr, .. } => { in with_variant()
2719 EnumBuilder::ModuleConsts { in with_variant()
2731 EnumBuilder::ModuleConsts { in with_variant()
2747 EnumBuilder::Rust { in build()
2767 EnumBuilder::NewType { in build()
2822 EnumBuilder::Consts { variants, .. } => quote! { #( #variants )* }, in build()
2823 EnumBuilder::ModuleConsts { in build()
2994 let mut builder = EnumBuilder::new( in codegen()