Lane

public struct Lane

The Lane class provides information about the lane on the road.

  • Initializer.

    Declaration

    Swift

    public init(directions: [Direction], follow: Direction?)

    Parameters

    directions

    List of lane directions.

    follow

    The lane direction the driver should follow.

  • List of lane directions.

    Declaration

    Swift

    public let directions: [Direction]
  • The lane direction the driver should follow.

    Declaration

    Swift

    public let follow: Direction?