Searched refs:EnumVariant (Results 1 – 2 of 2) sorted by relevance
34 variants: Vec<EnumVariant>,39 pub fn new(repr: Option<TypeId>, variants: Vec<EnumVariant>) -> Self { in new()49 pub fn variants(&self) -> &[EnumVariant] { in variants() argument136 variants.push(EnumVariant::new( in from_ty()224 pub struct EnumVariant { struct254 impl EnumVariant { implementation263 EnumVariant { in new()
33 use crate::ir::enum_ty::{Enum, EnumVariant, EnumVariantValue};2626 variant: &EnumVariant, in with_variant() argument