pub struct PriorityQueue<T> { /* private fields */ }Expand description
Binary heap implementation of Queue.
Implementations§
Trait Implementations§
Source§impl<T: Ord> Default for PriorityQueue<T>
impl<T: Ord> Default for PriorityQueue<T>
Auto Trait Implementations§
impl<T> Freeze for PriorityQueue<T>
impl<T> RefUnwindSafe for PriorityQueue<T>where
T: RefUnwindSafe,
impl<T> Send for PriorityQueue<T>where
T: Send,
impl<T> Sync for PriorityQueue<T>where
T: Sync,
impl<T> Unpin for PriorityQueue<T>where
T: Unpin,
impl<T> UnwindSafe for PriorityQueue<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