-
A position in an instance of
See moreTrie.Elements.Declaration
Swift
public struct Index : Hashable, Comparable -
A key/value pair stored in a
Trie.Declaration
Swift
public typealias Element = (key: [Key.Element], value: Value) -
The root of the sub-tree of which
selfis a projection. -
Returns the first index in
self.Declaration
Swift
public var startIndex: Index { get } -
Returns the “past-the-end” index in
self.Declaration
Swift
public var endIndex: Index { get } -
Returns the position immediately after
p. -
Accesses the key/value pair at position
p. -
Extends
pathso to point at the first leaf of the node currently at the end ofpath.Declaration
Swift
private func extendPathToFirstLeaf(_ path: inout [Index.Edge])
View on GitHub