Home
last modified time | relevance | path

Searched refs:TupleVariant (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/pin-project/tests/
Dcfg.rs110 TupleVariant( in cfg() enumerator
124 let _ = Field::TupleVariant(Always); in cfg()
/external/rust/crates/arbitrary/examples/
Dderive_enum.rs10 TupleVariant(bool, u32), enumerator
/external/rust/crates/serde_derive/src/
Dser.rs550 TupleVariant::ExternallyTagged { in serialize_externally_tagged_variant()
683 serialize_tuple_variant(TupleVariant::Untagged, params, &variant.fields) in serialize_adjacently_tagged_variant()
781 Style::Tuple => serialize_tuple_variant(TupleVariant::Untagged, params, &variant.fields), in serialize_untagged_variant()
789 enum TupleVariant { enum
799 context: TupleVariant, in serialize_tuple_variant() argument
804 TupleVariant::ExternallyTagged { .. } => TupleTrait::SerializeTupleVariant, in serialize_tuple_variant()
805 TupleVariant::Untagged => TupleTrait::SerializeTuple, in serialize_tuple_variant()
829 TupleVariant::ExternallyTagged { in serialize_tuple_variant()
845 TupleVariant::Untagged => { in serialize_tuple_variant()
/external/rust/crates/serde_test/src/
Dtoken.rs362 TupleVariant { enumerator
Dde.rs219 Token::TupleVariant { variant, .. } => visitor.visit_map(EnumMapVisitor::new( in deserialize_any()
275 | Token::TupleVariant { name: n, .. } in deserialize_enum()
482 | Token::TupleVariant { variant: v, .. } in variant_seed()
527 Token::TupleVariant { len: enum_len, .. } => { in tuple_variant()
Dser.rs266 assert_next_token!(self, TupleVariant { name, variant, len }); in serialize_tuple_variant()
/external/rust/crates/serde/src/de/
Dmod.rs381 TupleVariant, enumerator
413 TupleVariant => write!(formatter, "tuple variant"), in fmt()
/external/rust/crates/serde/src/private/
Dser.rs460 TupleVariant(&'static str, u32, &'static str, Vec<Content>), enumerator
517 Content::TupleVariant(n, i, v, ref fields) => { in serialize()
877 Ok(Content::TupleVariant( in end()