Home
last modified time | relevance | path

Searched defs:DropCounter (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/rust/library/alloc/src/slice/
Dtests.rs152 struct DropCounter { struct
158 impl PartialEq for DropCounter { argument
164 impl PartialOrd for DropCounter { implementation
173 impl Ord for DropCounter { implementation
179 impl Drop for DropCounter { implementation
/third_party/rust/crates/static-assertions-rs/tests/
Deq_size.rs32 pub struct DropCounter<'a> { struct
33 count: &'a mut i32
36 impl<'a> DropCounter<'a> { implementation
47 impl<'a> Drop for DropCounter<'a> { implementation
/third_party/rust/rust/library/core/tests/
Darray.rs317 struct DropCounter; in array_map_drop_safety() struct
318 impl Drop for DropCounter { in array_map_drop_safety() implementation
517 struct DropCounter<'a>(usize, &'a Cell<usize>); in array_intoiter_advance_by() struct
518 impl Drop for DropCounter<'_> { in array_intoiter_advance_by() implementation
570 struct DropCounter<'a>(usize, &'a Cell<usize>); in array_intoiter_advance_back_by() struct
571 impl Drop for DropCounter<'_> { in array_intoiter_advance_back_by() implementation
699 struct DropCounter<'a>(usize, &'a AtomicUsize); in array_map_drops_unmapped_elements_on_panic() struct
700 impl Drop for DropCounter<'_> { in array_map_drops_unmapped_elements_on_panic() implementation
/third_party/rust/rust/library/core/tests/iter/
Dsources.rs113 struct DropCounter<'a>(&'a Cell<usize>); in test_repeat_n_drop() struct
114 impl Drop for DropCounter<'_> { in test_repeat_n_drop() implementation
/third_party/rust/rust/compiler/rustc_arena/src/
Dtests.rs167 struct DropCounter<'a> { struct
171 impl Drop for DropCounter<'_> { argument
/third_party/rust/rust/library/alloc/tests/
Dvec_deque.rs1047 struct DropCounter<'a> { struct
1051 impl Drop for DropCounter<'_> { implementation
Dvec.rs22 struct DropCounter<'a> { struct
26 impl Drop for DropCounter<'_> { implementation