The position of a collection difference.
SDK
- Xcode 11.0+
Framework
- Swift Standard Library
Declaration
@frozen struct Index
The position of a collection difference.
SDK
Framework
@frozen struct Index
var hashValue : Int
The hash value.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
static func ... (CollectionDifference<ChangeElement>.Index) -> PartialRangeFrom<CollectionDifference<ChangeElement>.Index>
Returns a partial range extending upward from a lower bound.
static func ... (CollectionDifference<ChangeElement>.Index) -> PartialRangeThrough<CollectionDifference<ChangeElement>.Index>
Returns a partial range up to, and including, its upper bound.
static func ... (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.Index) -> ClosedRange<CollectionDifference<ChangeElement>.Index>
Returns a closed range that contains both of its bounds.
static func ..< (CollectionDifference<ChangeElement>.Index) -> PartialRangeUpTo<CollectionDifference<ChangeElement>.Index>
Returns a partial range up to, but not including, its upper bound.
static func ..< (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.Index) -> Range<CollectionDifference<ChangeElement>.Index>
Returns a half-open range that contains its lower bound but not its upper bound.
static func < (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.Index) -> Bool
Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
static func <= (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.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 == (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.Index) -> Bool
Returns a Boolean value indicating whether two values are equal.
static func > (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.Index) -> Bool
Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
static func >= (CollectionDifference<ChangeElement>.Index, CollectionDifference<ChangeElement>.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.