Searched refs:EnumVariantValue (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/bindgen/src/ir/ |
D | enum_ty.rs | 95 cursor.enum_val_boolean().map(EnumVariantValue::Boolean) in from_ty() 97 cursor.enum_val_signed().map(EnumVariantValue::Signed) in from_ty() 99 cursor.enum_val_unsigned().map(EnumVariantValue::Unsigned) in from_ty() 235 val: EnumVariantValue, 243 pub enum EnumVariantValue { enum 260 val: EnumVariantValue, in new() argument 283 pub fn val(&self) -> EnumVariantValue { in val() argument
|
/external/rust/crates/bindgen/src/ |
D | callbacks.rs | 5 pub use crate::ir::enum_ty::{EnumVariantCustomBehavior, EnumVariantValue}; 59 _variant_value: EnumVariantValue, in enum_variant_behavior() argument 69 _variant_value: EnumVariantValue, in enum_variant_name() argument
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 33 use crate::ir::enum_ty::{Enum, EnumVariant, EnumVariantValue}; 2635 EnumVariantValue::Boolean(v) if is_rust_enum => { in with_variant() 2638 EnumVariantValue::Boolean(v) => quote!(#v), in with_variant() 2639 EnumVariantValue::Signed(v) => helpers::ast_ty::int_expr(v), in with_variant() 2640 EnumVariantValue::Unsigned(v) => helpers::ast_ty::uint_expr(v), in with_variant()
|