Searched refs:enum_with_scope (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/protobuf-codegen/src/gen/ |
D | enums.rs | 57 enum_with_scope: &'a EnumWithScope<'a>, field 67 enum_with_scope: &'a EnumWithScope<'a>, in new() 74 &customize_from_rustproto_for_enum(enum_with_scope.en.proto().options.get_or_default()), in new() 75 &enum_with_scope.en, in new() 78 enum_with_scope in new() 87 enum_with_scope, in new() 88 type_name: enum_with_scope.rust_name().to_path(), in new() 97 self.enum_with_scope in allow_alias() 107 for p in self.enum_with_scope.values() { in values_all() 116 for p in self.enum_with_scope.values() { in values_unique() [all …]
|
/external/rust/crates/protobuf-codegen/2.27.1/src/ |
D | enums.rs | 57 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/gen/field/ |
D | elem.rs | 288 (Type::TYPE_ENUM, MessageOrEnumWithScope::Enum(enum_with_scope)) => { in field_elem() 290 enum_with_scope.value_by_name(field.field.proto().default_value()) in field_elem() 292 enum_with_scope.values()[0].clone() in field_elem()
|
/external/rust/crates/protobuf-codegen/2.27.1/src/field/ |
D | mod.rs | 353 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()
|