Structures The following structures are available globally. HeapIterator The HeapIterator used to conform to Sequence Note HeapIterator conforms to IteratorProtocol Note It’s generic H conforms to Heap See more Declaration Swift public struct HeapIterator<H> : IteratorProtocol where H : Heap Show on GitHub MaxHeap A MaxHeap using iterative heapify methods. Note MaxHeap conforms to Heap Note The datatype in the Heap must conform to Comparable. See more Declaration Swift public struct MaxHeap<T> : Heap where T : Comparable Show on GitHub MinHeap A MinHeap using iterative heapify methods. Note MinHeap conforms to Heap Note The datatype in the Heap must conform to Comparable. See more Declaration Swift public struct MinHeap<T> : Heap where T : Comparable Show on GitHub MaxHeapRecursive A MaxHeapRecursive using recursive heapify methods. Note MaxHeapRecursive conforms to Heap Note The datatype in the Heap must conform to Comparable. See more Declaration Swift public struct MaxHeapRecursive<T> : Heap where T : Comparable Show on GitHub MinHeapRecursive A MinHeapRecursive using recursive heapify methods. Note MinHeapRecursive conforms to Heap Note The datatype in the Heap must conform to Comparable. See more Declaration Swift public struct MinHeapRecursive<T> : Heap where T : Comparable Show on GitHub