Searched refs:mut_if (Results 1 – 1 of 1) sorted by relevance
273 let let_mut = mut_if(serialized_fields.peek().is_some()); in serialize_tuple_struct()337 let let_mut = mut_if(serialized_fields.peek().is_some() || tag_field_exists); in serialize_struct_as_struct()376 let let_mut = mut_if(serialized_fields.peek().is_some() || tag_field_exists); in serialize_struct_as_map()816 let let_mut = mut_if(serialized_fields.peek().is_some()); in serialize_tuple_variant()893 let let_mut = mut_if(serialized_fields.peek().is_some()); in serialize_struct_variant()967 let let_mut = mut_if(serialized_fields.peek().is_some()); in serialize_struct_variant_with_flatten()1240 fn mut_if(is_mut: bool) -> Option<TokenStream> { in mut_if() function