Structure

IndexSet.Index

The mechanism for accessing the integers stored in an IndexSet.

Declaration

struct IndexSet.Index

Topics

Comparing Indexes

static func != (IndexSet.Index, IndexSet.Index) -> Bool

Returns a Boolean value indicating whether two values are not equal.

static func ..< (IndexSet.Index) -> PartialRangeUpTo<IndexSet.Index>

Returns a partial range up to, but not including, its upper bound.

static func < (IndexSet.Index, IndexSet.Index) -> Bool

Indicates that one index is less than another.

static func == (IndexSet.Index, IndexSet.Index) -> Bool

Indicates that two indexes are equal.

Describing an Index

var description: String

A textual description of the index.

Operator Functions

static func ... (IndexSet.Index) -> PartialRangeFrom<IndexSet.Index>

Returns a partial range extending upward from a lower bound.

static func ... (IndexSet.Index) -> PartialRangeThrough<IndexSet.Index>

Returns a partial range up to, and including, its upper bound.

static func ... (IndexSet.Index, IndexSet.Index) -> ClosedRange<IndexSet.Index>

Returns a closed range that contains both of its bounds.

static func ..< (IndexSet.Index, IndexSet.Index) -> Range<IndexSet.Index>

Returns a half-open range that contains its lower bound but not its upper bound.

static func <= (IndexSet.Index, IndexSet.Index) -> Bool

Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.

static func > (IndexSet.Index, IndexSet.Index) -> Bool

Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.

static func >= (IndexSet.Index, IndexSet.Index) -> Bool

Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.

Relationships