Home
last modified time | relevance | path

Searched refs:struct_trait (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()
310 let func = struct_trait.serialize_field(Span::call_site()); in serialize_struct_tag_field()
879 let struct_trait = match context { in serialize_struct_variant() localVariable
886 let serialize_fields = serialize_struct_visitor(fields, params, true, &struct_trait); in serialize_struct_variant()
959 let struct_trait = StructTrait::SerializeMap; in serialize_struct_variant_with_flatten() localVariable
960 let serialize_fields = serialize_struct_visitor(fields, params, true, &struct_trait); in serialize_struct_variant_with_flatten()
1091 struct_trait: &StructTrait, in serialize_struct_visitor()
1123 let func = struct_trait.serialize_field(span); in serialize_struct_visitor()
1132 if let Some(skip_func) = struct_trait.skip_field(span) { in serialize_struct_visitor()