Home
last modified time | relevance | path

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

/external/rust/crates/protobuf-codegen/src/
Denums.rs57 enum_with_scope: &'a EnumWithScope<'a>, field
65 enum_with_scope: &'a EnumWithScope<'a>, in new()
70 let rust_name = if enum_with_scope.get_scope().get_file_descriptor().get_name() in new()
74 enum_with_scope.rust_name().to_string() in new()
77 &ProtobufAbsolutePath::from(enum_with_scope.name_absolute()), in new()
86 enum_with_scope in new()
96 enum_with_scope.en.options.as_ref().unwrap_or_default(), in new()
100 enum_with_scope, in new()
108 self.enum_with_scope.en.get_options().get_allow_alias() in allow_alias()
113 for p in self.enum_with_scope.values() { in values_all()
[all …]
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs353 MessageOrEnumWithScope::Enum(enum_with_scope), in field_elem()
356 &enum_with_scope, in field_elem()
370 RustIdent::from(enum_with_scope.values()[0].rust_name().to_owned()), in field_elem()