@discardableResult mutating func pop() -> Element?
s18_NIODataStructures13PriorityQueueV3popxSgyF
6JWD8
import _NIODataStructures
struct PriorityQueue<Element> where Element : Comparable
init()
var isEmpty: Bool { get }
mutating func clear()
func peek() -> Element?
mutating func push(_ key: Element)
mutating func remove(_ key: Element)
@discardableResult mutating func removeFirst(where shouldBeRemoved: (Element) throws -> Bool) rethrows -> Element?