Structure

LazyPrefixWhileSequence.Index

A position in a LazyPrefixWhileCollection or LazyPrefixWhileBidirectionalCollection instance.

Declaration

@frozen struct Index
Available when Base 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 < (LazyPrefixWhileCollection<Base>.Index, LazyPrefixWhileCollection<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 <= (LazyPrefixWhileSequence<Base>.Index, LazyPrefixWhileSequence<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 > (LazyPrefixWhileSequence<Base>.Index, LazyPrefixWhileSequence<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 >= (LazyPrefixWhileSequence<Base>.Index, LazyPrefixWhileSequence<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