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.rs56 enum_with_scope: &'a EnumWithScope<'a>, field
64 enum_with_scope: &'a EnumWithScope<'a>, in new()
69 let rust_name = if enum_with_scope.get_scope().get_file_descriptor().get_name() in new()
73 enum_with_scope.rust_name().to_string() in new()
76 &ProtobufAbsolutePath::from(enum_with_scope.name_absolute()), in new()
85 enum_with_scope in new()
94 enum_with_scope, in new()
102 self.enum_with_scope.en.get_options().get_allow_alias() in allow_alias()
107 for p in self.enum_with_scope.values() { in values_all()
120 for p in self.enum_with_scope.values() { in values_unique()
[all …]
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs354 MessageOrEnumWithScope::Enum(enum_with_scope), in field_elem()
357 &enum_with_scope, in field_elem()
371 RustIdent::from(enum_with_scope.values()[0].rust_name().to_owned()), in field_elem()