pub struct MinHeap<T: Ord + Clone> { /* private fields */ }Expand description
A min-heap for ordered types.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for MinHeap<T>
impl<T> !Send for MinHeap<T>
impl<T> !Sync for MinHeap<T>
impl<T> !UnwindSafe for MinHeap<T>
impl<T> Freeze for MinHeap<T>
impl<T> Unpin for MinHeap<T>
impl<T> UnsafeUnpin for MinHeap<T>where
Heap<T>: UnsafeUnpin,
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