Home
last modified time | relevance | path

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

/external/rust/crates/serde_derive/src/
Dser.rs306 fn serialize_struct_tag_field(cattrs: &attr::Container, struct_trait: &StructTrait) -> TokenStream { in serialize_struct_tag_field()
325 serialize_struct_visitor(fields, params, false, &StructTrait::SerializeStruct); in serialize_struct_as_struct()
329 let tag_field = serialize_struct_tag_field(cattrs, &StructTrait::SerializeStruct); in serialize_struct_as_struct()
366 serialize_struct_visitor(fields, params, false, &StructTrait::SerializeMap); in serialize_struct_as_map()
368 let tag_field = serialize_struct_tag_field(cattrs, &StructTrait::SerializeMap); in serialize_struct_as_map()
880 StructVariant::ExternallyTagged { .. } => StructTrait::SerializeStructVariant, in serialize_struct_variant()
882 StructTrait::SerializeStruct in serialize_struct_variant()
959 let struct_trait = StructTrait::SerializeMap; in serialize_struct_variant_with_flatten()
1091 struct_trait: &StructTrait, in serialize_struct_visitor() argument
1284 enum StructTrait { enum
[all …]