Searched refs:attrs (Results 1 – 5 of 5) sorted by relevance
22 let mut attrs = UnknownAttributes(Vec::with_capacity(10)); in test_unknown_attributes() localVariable23 attrs.get_from(&m)?; in test_unknown_attributes()25 assert_eq!(a.0[i], attrs.0[i], "expected {} != {}", a.0[i], attrs.0[i]); in test_unknown_attributes()28 let result = attrs.get_from(&m_blank); in test_unknown_attributes()32 let result = attrs.get_from(&m_blank); in test_unknown_attributes()
401 let attrs = Attributes(vec![attr]); in test_message_equal() localVariable403 attributes: attrs.clone(), in test_message_equal()408 attributes: attrs.clone(), in test_message_equal()481 attributes: attrs, in test_message_equal()
587 let mut attrs = UnknownAttributes(Vec::with_capacity(10)); in benchmark_unknown_attributes() localVariable590 attrs.get_from(&m).unwrap(); in benchmark_unknown_attributes()591 attrs.0.clear(); in benchmark_unknown_attributes()
863 let mut attrs: Vec<Box<dyn Setter>> = vec![ in build_msg() localVariable871 attrs.append(&mut additional); in build_msg()874 msg.build(&attrs)?; in build_msg()
439 let attrs: Vec<Box<dyn Setter>> = if !self.software.text.is_empty() { in send_binding_request_to() localVariable450 msg.build(&attrs)?; in send_binding_request_to()