Home
last modified time | relevance | path

Searched refs:StructVariant (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/serde_derive/src/
Dser.rs559 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/
Dderive_enum.rs11 StructVariant { x: i8, y: (u8, i32) }, enumerator
/external/rust/crates/serde_test/src/
Dtoken.rs453 StructVariant { enumerator
Dde.rs224 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()
Dser.rs301 assert_next_token!(self, StructVariant { name, variant, len }); in serialize_struct_variant()
/external/rust/crates/serde/src/de/
Dmod.rs384 StructVariant, enumerator
414 StructVariant => write!(formatter, "struct variant"), in fmt()
/external/rust/crates/serde/src/private/
Dser.rs463 StructVariant( enumerator
541 Content::StructVariant(n, i, v, ref fields) => { in serialize()
989 Ok(Content::StructVariant( in end()