Searched refs:StructVariant (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/serde_derive/src/ |
D | ser.rs | 559 StructVariant::ExternallyTagged { in serialize_externally_tagged_variant() 627 StructVariant::InternallyTagged { tag, variant_name }, in serialize_internally_tagged_variant() 686 StructVariant::Untagged, in serialize_adjacently_tagged_variant() 784 serialize_struct_variant(StructVariant::Untagged, params, &variant.fields, &type_name) in serialize_untagged_variant() 857 enum StructVariant<'a> { enum 870 context: StructVariant<'a>, in serialize_struct_variant() 880 StructVariant::ExternallyTagged { .. } => StructTrait::SerializeStructVariant, in serialize_struct_variant() 881 StructVariant::InternallyTagged { .. } | StructVariant::Untagged => { in serialize_struct_variant() 907 StructVariant::ExternallyTagged { in serialize_struct_variant() 923 StructVariant::InternallyTagged { tag, variant_name } => { in serialize_struct_variant() [all …]
|
/external/rust/crates/arbitrary/examples/ |
D | derive_enum.rs | 11 StructVariant { x: i8, y: (u8, i32) }, enumerator
|
/external/rust/crates/serde_test/src/ |
D | token.rs | 453 StructVariant { enumerator
|
D | de.rs | 224 Token::StructVariant { variant, .. } => visitor.visit_map(EnumMapVisitor::new( in deserialize_any() 276 | Token::StructVariant { name: n, .. } in deserialize_enum() 483 | Token::StructVariant { variant: v, .. } => { in variant_seed() 561 Token::StructVariant { len: enum_len, .. } => { in struct_variant()
|
D | ser.rs | 301 assert_next_token!(self, StructVariant { name, variant, len }); in serialize_struct_variant()
|
/external/rust/crates/serde/src/de/ |
D | mod.rs | 384 StructVariant, enumerator 414 StructVariant => write!(formatter, "struct variant"), in fmt()
|
/external/rust/crates/serde/src/private/ |
D | ser.rs | 463 StructVariant( enumerator 541 Content::StructVariant(n, i, v, ref fields) => { in serialize() 989 Ok(Content::StructVariant( in end()
|