pub struct BinaryHeap<T: PartialOrd> { /* private fields */ }
Implementations§
Source§impl<T: PartialOrd> BinaryHeap<T>
impl<T: PartialOrd> BinaryHeap<T>
Trait Implementations§
Source§impl<T: PartialOrd> PriorityQueue<T> for BinaryHeap<T>
impl<T: PartialOrd> PriorityQueue<T> for BinaryHeap<T>
fn with_capacity(sz: usize) -> Self
Auto Trait Implementations§
impl<T> Freeze for BinaryHeap<T>
impl<T> RefUnwindSafe for BinaryHeap<T>where
T: RefUnwindSafe,
impl<T> Send for BinaryHeap<T>where
T: Send,
impl<T> Sync for BinaryHeap<T>where
T: Sync,
impl<T> Unpin for BinaryHeap<T>where
T: Unpin,
impl<T> UnwindSafe for BinaryHeap<T>where
T: 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