/external/rust/crates/protobuf/src/reflect/ |
D | map.rs | 5 use super::value::ProtobufValue; 14 impl<K: ProtobufValue + Eq + Hash + 'static, V: ProtobufValue + 'static> ReflectMap 29 fn next(&mut self) -> Option<(&'a dyn ProtobufValue, &'a dyn ProtobufValue)>; in next() argument 36 impl<'a, K: ProtobufValue + Eq + Hash + 'static, V: ProtobufValue + 'static> ReflectMapIterTrait<'a> 39 fn next(&mut self) -> Option<(&'a dyn ProtobufValue, &'a dyn ProtobufValue)> { in next() argument 41 Some((k, v)) => Some((k as &dyn ProtobufValue, v as &dyn ProtobufValue)), in next() 52 type Item = (&'a dyn ProtobufValue, &'a dyn ProtobufValue); 54 fn next(&mut self) -> Option<(&'a dyn ProtobufValue, &'a dyn ProtobufValue)> { in next() argument 61 type Item = (&'a dyn ProtobufValue, &'a dyn ProtobufValue);
|
D | optional.rs | 3 use super::value::ProtobufValue; 8 fn to_option(&self) -> Option<&dyn ProtobufValue>; in to_option() argument 10 fn set_value(&mut self, value: &dyn ProtobufValue); in set_value() argument 13 impl<V: ProtobufValue + Clone + 'static> ReflectOptional for Option<V> { 14 fn to_option(&self) -> Option<&dyn ProtobufValue> { in to_option() argument 15 self.as_ref().map(|v| v as &dyn ProtobufValue) in to_option() 18 fn set_value(&mut self, value: &dyn ProtobufValue) { in set_value() argument 26 impl<V: ProtobufValue + Clone + 'static> ReflectOptional for SingularField<V> { 27 fn to_option(&self) -> Option<&dyn ProtobufValue> { in to_option() argument 28 self.as_ref().map(|v| v as &dyn ProtobufValue) in to_option() [all …]
|
D | value.rs | 12 pub trait ProtobufValue: Any + 'static { trait 50 impl ProtobufValue for u32 { 56 impl ProtobufValue for u64 { 62 impl ProtobufValue for i32 { 68 impl ProtobufValue for i64 { 74 impl ProtobufValue for f32 { 80 impl ProtobufValue for f64 { 86 impl ProtobufValue for bool { 92 impl ProtobufValue for String { 98 impl ProtobufValue for str { [all …]
|
D | repeated.rs | 3 use super::value::ProtobufValue; 11 fn get(&self, index: usize) -> &dyn ProtobufValue; in get() argument 14 impl<V: ProtobufValue + 'static> ReflectRepeated for Vec<V> { 25 fn get(&self, index: usize) -> &dyn ProtobufValue { in get() argument 31 impl<V: ProtobufValue + 'static> ReflectRepeated for [V] { 42 fn get(&self, index: usize) -> &dyn ProtobufValue { in get() argument 47 impl<V: ProtobufValue + 'static> ReflectRepeated for RepeatedField<V> { 58 fn get(&self, index: usize) -> &dyn ProtobufValue { in get() argument 64 fn next(&mut self) -> Option<&'a dyn ProtobufValue>; in next() argument 67 struct ReflectRepeatedIterImplSlice<'a, V: ProtobufValue + 'static> { [all …]
|
D | mod.rs | 16 pub use self::value::ProtobufValue;
|
/external/rust/crates/protobuf/src/reflect/acc/ |
D | v1.rs | 13 use crate::reflect::ProtobufValue; 92 struct GetSetCopyFnsImpl<M, V: ProtobufValue + Copy> { 97 impl<M, V: ProtobufValue + Copy> GetSetCopyFns<M> for GetSetCopyFnsImpl<M, V> { 99 (&(self.get)(m) as &dyn ProtobufValue).as_ref_copy() in get_field() 146 Simple(Box<dyn FieldAccessor2<M, dyn ProtobufValue>>), 551 V: ProtobufValue + 'static, 583 V: ProtobufValue + 'static, 615 V: ProtobufValue + Clone + 'static, 647 V: ProtobufValue + Clone + 'static, 679 V: ProtobufValue + Clone + 'static, [all …]
|
/external/rust/crates/protobuf/src/well_known_types/ |
D | wrappers.rs | 171 impl crate::reflect::ProtobufValue for DoubleValue { 326 impl crate::reflect::ProtobufValue for FloatValue { 481 impl crate::reflect::ProtobufValue for Int64Value { 636 impl crate::reflect::ProtobufValue for UInt64Value { 791 impl crate::reflect::ProtobufValue for Int32Value { 946 impl crate::reflect::ProtobufValue for UInt32Value { 1101 impl crate::reflect::ProtobufValue for BoolValue { 1263 impl crate::reflect::ProtobufValue for StringValue { 1425 impl crate::reflect::ProtobufValue for BytesValue {
|
D | type_pb.rs | 405 impl crate::reflect::ProtobufValue for Type { 909 impl crate::reflect::ProtobufValue for Field { 1011 impl crate::reflect::ProtobufValue for Field_Kind { 1068 impl crate::reflect::ProtobufValue for Field_Cardinality { 1416 impl crate::reflect::ProtobufValue for Enum { 1662 impl crate::reflect::ProtobufValue for EnumValue { 1881 impl crate::reflect::ProtobufValue for Option { 1932 impl crate::reflect::ProtobufValue for Syntax {
|
D | struct_pb.rs | 173 impl crate::reflect::ProtobufValue for Struct { 659 impl crate::reflect::ProtobufValue for Value { 828 impl crate::reflect::ProtobufValue for ListValue { 876 impl crate::reflect::ProtobufValue for NullValue {
|
D | empty.rs | 135 impl crate::reflect::ProtobufValue for Empty {
|
D | source_context.rs | 178 impl crate::reflect::ProtobufValue for SourceContext {
|
D | field_mask.rs | 177 impl crate::reflect::ProtobufValue for FieldMask {
|
D | duration.rs | 206 impl crate::reflect::ProtobufValue for Duration {
|
D | timestamp.rs | 206 impl crate::reflect::ProtobufValue for Timestamp {
|
D | any.rs | 220 impl crate::reflect::ProtobufValue for Any {
|
D | api.rs | 455 impl crate::reflect::ProtobufValue for Api { 851 impl crate::reflect::ProtobufValue for Method { 1055 impl crate::reflect::ProtobufValue for Mixin {
|
/external/rust/crates/protobuf/src/ |
D | types.rs | 16 use crate::reflect::ProtobufValue; 26 type Value: ProtobufValue + Clone + 'static; 615 impl<E: ProtobufEnum + ProtobufValue> ProtobufType for ProtobufTypeEnum<E> { 645 impl<M: Message + Clone + ProtobufValue> ProtobufType for ProtobufTypeMessage<M> {
|
D | plugin.rs | 305 impl crate::reflect::ProtobufValue for Version { 624 impl crate::reflect::ProtobufValue for CodeGeneratorRequest { 884 impl crate::reflect::ProtobufValue for CodeGeneratorResponse { 1217 impl crate::reflect::ProtobufValue for CodeGeneratorResponse_File { 1268 impl crate::reflect::ProtobufValue for CodeGeneratorResponse_Feature {
|
D | descriptor.rs | 185 impl crate::reflect::ProtobufValue for FileDescriptorSet { 894 impl crate::reflect::ProtobufValue for FileDescriptorProto { 1507 impl crate::reflect::ProtobufValue for DescriptorProto { 1762 impl crate::reflect::ProtobufValue for DescriptorProto_ExtensionRange { 1960 impl crate::reflect::ProtobufValue for DescriptorProto_ReservedRange { 2129 impl crate::reflect::ProtobufValue for ExtensionRangeOptions { 2753 impl crate::reflect::ProtobufValue for FieldDescriptorProto { 2853 impl crate::reflect::ProtobufValue for FieldDescriptorProto_Type { 2908 impl crate::reflect::ProtobufValue for FieldDescriptorProto_Label { 3137 impl crate::reflect::ProtobufValue for OneofDescriptorProto { [all …]
|