• Creates a new empty min-heap.

    Type Parameters

    • S

    • T

    Parameters

    • order: Ord<T, T>

      A total order for T.

    Returns Mut<S, MutRef<S, BinaryHeap<T>>>

    The new empty heap.

Generated using TypeDoc