Home
last modified time | relevance | path

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

/external/rust/crates/protobuf-codegen/src/
Denums.rs17 pub struct EnumValueGen { struct
23 impl EnumValueGen { argument
28 ) -> EnumValueGen { in parse() argument
29 EnumValueGen { in parse()
105 fn values_all(&self) -> Vec<EnumValueGen> { in values_all() argument
108 r.push(EnumValueGen::parse( in values_all()
117 pub fn values_unique(&self) -> Vec<EnumValueGen> { in values_unique() argument
126 r.push(EnumValueGen::parse( in values_unique()
136 pub fn value_by_name(&'a self, name: &str) -> EnumValueGen { in value_by_name() argument
138 EnumValueGen::parse(v.proto, &self.type_name, v.rust_name().get()) in value_by_name()
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs308 ) -> (FieldElem<'a>, Option<EnumValueGen>) { in field_elem() argument
438 enum_default_value: Option<EnumValueGen>,