pub struct MinHeap<P: Ord, V> { /* private fields */ }Expand description
A min-heap priority queue.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P, V> Freeze for MinHeap<P, V>
impl<P, V> RefUnwindSafe for MinHeap<P, V>where
P: RefUnwindSafe,
V: RefUnwindSafe,
impl<P, V> Send for MinHeap<P, V>
impl<P, V> Sync for MinHeap<P, V>
impl<P, V> Unpin for MinHeap<P, V>
impl<P, V> UnsafeUnpin for MinHeap<P, V>
impl<P, V> UnwindSafe for MinHeap<P, V>where
P: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more