Lines Matching refs:dummy
29292 /// A blueprint for crash test dummy instances that monitor particular events.
29308 /// Creates a crash test dummy design. The `id` determines order and equality of instances.
29318 /// Creates an instance of a crash test dummy that records what events it experiences
29324 /// Returns how many times instances of the dummy have been cloned.
29329 /// Returns how many times instances of the dummy have been dropped.
29334 /// Returns how many times instances of the dummy have had their `query` member invoked.
34646 catch_unwind(move || drop(set.drain_filter(|dummy| dummy.query(true)))).ok();
34666 catch_unwind(AssertUnwindSafe(|| drop(set.drain_filter(|dummy| dummy.query(true))))).ok();
35593 fn test_all_refs<'a, T: 'a>(dummy: &mut T, iter: impl Iterator<Item = &'a mut T>) {
35598 mem::swap(dummy, r);
35601 mem::swap(dummy, r);
36702 catch_unwind(move || drop(map.drain_filter(|dummy, _| dummy.query(true)))).unwrap_err();
36722 catch_unwind(AssertUnwindSafe(|| drop(map.drain_filter(|dummy, _| dummy.query(true)))))
36749 let mut it = map.drain_filter(|dummy, _| dummy.query(true));
38061 /// - `BorrowType`: A dummy type that describes the kind of borrow and carries a lifetime.