Library Moduleswift-collections 1.2.0HeapModule

HeapModule

HeapModule.md
import HeapModule

Module information

Declarations
24
Symbols
24

Coverage

95.8 percent of the declarations in HeapModule are fully documented4.2 percent of the declarations in HeapModule are indirectly documented

Declarations

20.8 percent of the declarations in HeapModule are initializers, type members, or enum cases75.0 percent of the declarations in HeapModule are instance members4.2 percent of the declarations in HeapModule are structures

Interfaces

91.7 percent of the declarations in HeapModule are unrestricted8.3 percent of the declarations in HeapModule are underscored
Module stats and coverage details

Overview

Structures

  • struct Heap<Element>

    A container type implementing a double-ended priority queue. Heap is a container of Comparable elements that provides immediate access to its minimal and maximal members, and supports removing these items or inserting arbitrary new items in (amortized) logarithmic complexity.