ForwardIndexType<Distance>

Overview

Location

  • Reference:
    • Swift.dll  .NET, .NET Standard 2.0
    • swift.jar  Cooper
    • Swift.fx  Island
    • libSwift.fx  Toffee
  • Namespace: Swift

Implemented in

Required Methods


advancedBy (not nullable Distance) limit(not nullable InstanceType): not nullable InstanceType

 

// .NET, .NET Standard 2.0
method advancedBy(n: not nullable Distance) limit(limit: not nullable InstanceType): not nullable InstanceType
// Island
method advancedBy(n: not nullable Distance) limit(limit: not nullable instancetype): not nullable instancetype

 

// .NET, .NET Standard 2.0
InstanceType! advancedBy(Distance! n) limit(InstanceType! limit)
// Island
instancetype! advancedBy(Distance! n) limit(instancetype! limit)

 

func advancedBy(_ n: Distance, limit: instancetype) -> instancetype

 

instancetype! advancedBy(Distance! n) limit(instancetype! limit)

Parameters:

  • n:
  • limit:

advancedBy (not nullable Distance): not nullable InstanceType

 

// .NET, .NET Standard 2.0
method advancedBy(n: not nullable Distance): not nullable InstanceType
// Island
method advancedBy(n: not nullable Distance): not nullable instancetype

 

// .NET, .NET Standard 2.0
InstanceType! advancedBy(Distance! n)
// Island
instancetype! advancedBy(Distance! n)

 

func advancedBy(_ n: Distance) -> instancetype

 

instancetype! advancedBy(Distance! n)

Parameters:

  • n:

distanceTo

 

// .NET, .NET Standard 2.0
method distanceTo(end: not nullable InstanceType): not nullable Distance
// Island
method distanceTo(end: not nullable instancetype): not nullable Distance

 

// .NET, .NET Standard 2.0
Distance! distanceTo(InstanceType! end)
// Island
Distance! distanceTo(instancetype! end)

 

func distanceTo(_ end: instancetype) -> Distance

 

Distance! distanceTo(instancetype! end)

Parameters:

  • end: