Struct go_heap_rs::MinHeap [−][src]
Expand description
A very simple min heap implementation
Trait Implementations
Compares two elements of the heap at i and j index It is guaranteed that the i and j are always valid Read more
This function must swap the i and j element in the heap array It is guaranteed that the i and j are always valid Read more
This method should remove the last element of array and return it This function is guaranteed to be called when at least one element in available Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for MinHeap<T> where
T: RefUnwindSafe, impl<T> UnwindSafe for MinHeap<T> where
T: UnwindSafe,