Struct rs_graph::collections::BinHeap
source · pub struct BinHeap<K, V, ID = u32> { /* private fields */ }
Expand description
Simply binary heap data structure.
Implementations§
Trait Implementations§
source§impl<K, V, ID> ItemPriQueue<K, V> for BinHeap<K, V, ID>where
K: Clone,
V: PartialOrd + Clone,
ID: FromPrimitive + ToPrimitive + Copy + Eq,
impl<K, V, ID> ItemPriQueue<K, V> for BinHeap<K, V, ID>where K: Clone, V: PartialOrd + Clone, ID: FromPrimitive + ToPrimitive + Copy + Eq,
Auto Trait Implementations§
impl<K, V, ID> RefUnwindSafe for BinHeap<K, V, ID>where ID: RefUnwindSafe, K: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V, ID> Send for BinHeap<K, V, ID>where ID: Send, K: Send, V: Send,
impl<K, V, ID> Sync for BinHeap<K, V, ID>where ID: Sync, K: Sync, V: Sync,
impl<K, V, ID> Unpin for BinHeap<K, V, ID>where ID: Unpin, K: Unpin, V: Unpin,
impl<K, V, ID> UnwindSafe for BinHeap<K, V, ID>where ID: UnwindSafe, K: 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