Structure

FlattenSequence.Index

A position in a FlattenCollection

Declaration

@frozen struct Index
Available when Base conforms to Collection and Base.Element conforms to Collection.

Topics

Instance Properties

var hashValue: Int

The hash value.

Instance Methods

func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.

Operator Functions

static func ..< (FlattenSequence<Base>.Index) -> PartialRangeUpTo<FlattenSequence<Base>.Index>

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

static func ..< (FlattenSequence<Base>.Index, FlattenSequence<Base>.Index) -> Range<FlattenSequence<Base>.Index>

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

static func < (FlattenCollection<Base>.Index, FlattenCollection<Base>.Index) -> Bool

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

static func <= (FlattenSequence<Base>.Index, FlattenSequence<Base>.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 == (FlattenCollection<Base>.Index, FlattenCollection<Base>.Index) -> Bool

Returns a Boolean value indicating whether two values are equal.

static func > (FlattenSequence<Base>.Index, FlattenSequence<Base>.Index) -> Bool

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

static func >= (FlattenSequence<Base>.Index, FlattenSequence<Base>.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