Home
last modified time | relevance | path

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

/external/rust/crates/protobuf-codegen/2.27.1/src/
Denums.rs18 pub struct EnumValueGen { struct
24 impl EnumValueGen { argument
29 ) -> EnumValueGen { in parse() argument
30 EnumValueGen { in parse()
111 fn values_all(&self) -> Vec<EnumValueGen> { in values_all() argument
114 r.push(EnumValueGen::parse( in values_all()
123 pub fn values_unique(&self) -> Vec<EnumValueGen> { in values_unique() argument
132 r.push(EnumValueGen::parse( in values_unique()
142 pub fn value_by_name(&'a self, name: &str) -> EnumValueGen { in value_by_name() argument
144 EnumValueGen::parse(v.proto, &self.type_name, v.rust_name().get()) in value_by_name()
/external/rust/crates/protobuf-codegen/src/gen/
Denums.rs22 pub(crate) struct EnumValueGen<'a> { struct
27 impl<'a> EnumValueGen<'a> { implementation
31 ) -> EnumValueGen<'a> { in parse()
32 EnumValueGen { in parse()
105 fn values_all(&self) -> Vec<EnumValueGen> { in values_all() argument
108 r.push(EnumValueGen::parse(p, &self.type_name)); in values_all()
113 fn values_unique(&self) -> Vec<EnumValueGen> { in values_unique() argument
120 r.push(EnumValueGen::parse(p, &self.type_name)); in values_unique()
/external/rust/crates/protobuf-codegen/2.27.1/src/field/
Dmod.rs307 ) -> (FieldElem<'a>, Option<EnumValueGen>) { in field_elem() argument
437 enum_default_value: Option<EnumValueGen>,