• Removes the minimum item from the heap. It takes O(log n), but also takes O(n) to copy the items.

    Type Parameters

    • S

    • T

    Parameters

    Returns Mut<S, Option<T>>

    The removed item, or none if empty.

Generated using TypeDoc