pub fn drain(&mut self) -> Drain<'_, T> {
        Drain { iter: self.data.drain(..) }
    }
An iterator over the elements of a `BinaryHeap`.

This `struct` is created by [`BinaryHeap::iter()`]. See its
documentation for more.

[`iter`]: B
benchmarks/haystacks/code/rust-library.rs