Home
last modified time | relevance | path

Searched refs:EnumVariant (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Denum_ty.rs34 variants: Vec<EnumVariant>,
39 pub fn new(repr: Option<TypeId>, variants: Vec<EnumVariant>) -> Self { in new()
49 pub fn variants(&self) -> &[EnumVariant] { in variants() argument
136 variants.push(EnumVariant::new( in from_ty()
224 pub struct EnumVariant { struct
254 impl EnumVariant { impl
263 EnumVariant { in new()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs33 use crate::ir::enum_ty::{Enum, EnumVariant, EnumVariantValue};
2626 variant: &EnumVariant, in with_variant() argument