Lines Matching refs:StructTrait
306 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
1290 impl StructTrait { impl
1293 StructTrait::SerializeMap => { in serialize_field()
1296 StructTrait::SerializeStruct => { in serialize_field()
1299 StructTrait::SerializeStructVariant => { in serialize_field()
1307 StructTrait::SerializeMap => None, in skip_field()
1308 StructTrait::SerializeStruct => { in skip_field()
1311 StructTrait::SerializeStructVariant => { in skip_field()