Home
last modified time | relevance | path

Searched refs:VariantAccess (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/serde_cbor/src/
Dde.rs514 let value = visitor.visit_enum(VariantAccess { in parse_enum()
556 let value = visitor.visit_enum(VariantAccess { in parse_indefinite_enum()
1092 impl<'de, 'a, R> de::VariantAccess<'de> for UnitVariantAccess<'a, R>
1133 struct VariantAccess<T> { struct
1137 impl<'de, T> de::EnumAccess<'de> for VariantAccess<T> implementation
1142 type Variant = VariantAccess<T>;
1144 fn variant_seed<V>(mut self, seed: V) -> Result<(V::Value, VariantAccess<T>)> in variant_seed()
1157 impl<'de, T> de::VariantAccess<'de> for VariantAccess<T> implementation
1325 impl<'de, T> de::VariantAccess<'de> for VariantAccessMap<T>
/external/rust/crates/serde/src/de/
Dignored_any.rs4 Deserialize, Deserializer, EnumAccess, Error, MapAccess, SeqAccess, VariantAccess, Visitor,
Dmod.rs1963 type Variant: VariantAccess<'de, Error = Self::Error>;
2004 pub trait VariantAccess<'de>: Sized { interface
Dvalue.rs1472 use de::{self, DeserializeSeed, Deserializer, MapAccess, Unexpected, VariantAccess, Visitor};
1487 impl<'de, E> de::VariantAccess<'de> for UnitOnly<E>
1540 impl<'de, A> VariantAccess<'de> for MapAsEnum<A>
Dimpls.rs4 Deserialize, Deserializer, EnumAccess, Error, SeqAccess, Unexpected, VariantAccess, Visitor,
/external/rust/crates/serde_json/src/
Dde.rs1850 let value = tri!(visitor.visit_enum(VariantAccess::new(self))); in deserialize_enum()
1988 struct VariantAccess<'a, R: 'a> { struct
1992 impl<'a, R: 'a> VariantAccess<'a, R> { argument
1994 VariantAccess { de } in new()
1998 impl<'de, 'a, R: Read<'de> + 'a> de::EnumAccess<'de> for VariantAccess<'a, R> { implementation
2012 impl<'de, 'a, R: Read<'de> + 'a> de::VariantAccess<'de> for VariantAccess<'a, R> { implementation
2064 impl<'de, 'a, R: Read<'de> + 'a> de::VariantAccess<'de> for UnitVariantAccess<'a, R> {
/external/rust/crates/serde_test/src/
Dconfigure.rs470 use serde::de::{DeserializeSeed, EnumAccess, Error, MapAccess, SeqAccess, VariantAccess, Visitor};
812 impl<'de, D> VariantAccess<'de> for $wrapper<D> impl
814 D: VariantAccess<'de>,
Dde.rs4 VariantAccess, Visitor,
496 impl<'de, 'a> VariantAccess<'de> for DeserializerEnumVisitor<'a, 'de> {
/external/rust/crates/serde_derive/src/
Dde.rs490 quote!(_serde::de::VariantAccess::tuple_variant(__variant, #nfields, #visitor_expr)) in deserialize_tuple()
576 quote!(_serde::de::VariantAccess::tuple_variant(__variant, #nfields, #visitor_expr)) in deserialize_tuple_in_place()
949 _serde::de::VariantAccess::newtype_variant_seed(__variant, #visitor_expr) in deserialize_struct()
953 _serde::de::VariantAccess::struct_variant(__variant, FIELDS, #visitor_expr) in deserialize_struct()
1087 _serde::de::VariantAccess::struct_variant(__variant, FIELDS, #visitor_expr) in deserialize_struct_in_place()
1697 _serde::de::VariantAccess::newtype_variant::<#wrapper_ty>(__variant), #unwrap_fn) in deserialize_externally_tagged_variant()
1707 try!(_serde::de::VariantAccess::unit_variant(__variant)); in deserialize_externally_tagged_variant()
1847 try!(_serde::de::VariantAccess::unit_variant(__variant)); in deserialize_externally_tagged_newtype_variant()
1857 quote_spanned!(span=> _serde::de::VariantAccess::newtype_variant::<#field_ty>); in deserialize_externally_tagged_newtype_variant()
1867 _serde::de::VariantAccess::newtype_variant::<#wrapper_ty>(__variant), in deserialize_externally_tagged_newtype_variant()
/external/rust/crates/serde_json/src/value/
Dde.rs9 SeqAccess, Unexpected, VariantAccess, Visitor,
486 impl<'de> VariantAccess<'de> for VariantDeserializer {
1017 impl<'de> VariantAccess<'de> for VariantRefDeserializer<'de> {
1436 impl<'de> de::VariantAccess<'de> for UnitOnly {
/external/rust/crates/log/src/
Dserde.rs5 Deserialize, DeserializeSeed, Deserializer, EnumAccess, Error, Unexpected, VariantAccess,
/external/rust/crates/csv/src/
Ddeserializer.rs11 VariantAccess, Visitor,
580 impl<'a, 'de: 'a, T: DeRecord<'de>> VariantAccess<'de>
/external/rust/crates/serde/src/private/
Dde.rs1492 impl<'de, E> de::VariantAccess<'de> for VariantDeserializer<'de, E>
2190 impl<'de, 'a, E> de::VariantAccess<'de> for VariantRefDeserializer<'a, 'de, E>