PrimitiveCollection
public struct PrimitiveCollection<Element> : RandomAccessCollection
Undocumented
-
Declaration
Swift
public typealias Index = Int
-
Declaration
Swift
public typealias Iterator = PrimitiveIterator<Element>
-
Declaration
Swift
public typealias SubSequence = PrimitiveCollection<Element>
-
Declaration
Swift
public let count: Int
-
Declaration
Swift
public var startIndex: Int { get }
-
Declaration
Swift
public var endIndex: Int { get }
-
Declaration
Swift
public func index(after i: Int) -> Int
-
Declaration
Swift
public func formIndex(after i: inout Int)
-
Declaration
Swift
public func index(before i: Int) -> Int
-
Declaration
Swift
public func formIndex(before i: inout Int)
-
Declaration
Swift
public func index(_ i: Int, offsetBy n: Int) -> Int
-
Declaration
Swift
public func index(_ i: Int, offsetBy n: Int, limitedBy limit: Int) -> Int?
-
Declaration
Swift
public func distance(from start: Int, to end: Int) -> Int
-
Declaration
Swift
public var isEmpty: Bool { get }
-
Undocumented
Declaration
Swift
public var first: Element? { get }
-
Undocumented
Declaration
Swift
public var last: Element? { get }
-
Declaration
Swift
public subscript(position: Int) -> Element { get }
-
Declaration
Swift
public subscript(bounds: Range<Int>) -> PrimitiveCollection<Element> { get }
-
Declaration
Swift
public func makeIterator() -> PrimitiveIterator<Element>