Protocol

Strideable

Conforming types are notionally continuous, one-dimensional values that can be offset and measured.

Protocol Requirements

Associated Types

Stride

A type that represents the distance between two values of Self.

Instance Methods

func advanced(by: Self.Stride)

Returns a Self x such that self.distance(to: x) approximates n.

func distance(to: Self)

Returns a stride x such that self.advanced(by: x) approximates other.