LaneIndication
public struct LaneIndication : OptionSet, CustomStringConvertible
extension LaneIndication: Codable
Each of these options specifies a maneuver direction for which a given lane can be used.
A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
-
Declaration
Swift
public var rawValue: Int
-
Declaration
Swift
public init(rawValue: Int)
-
Indicates a sharp turn to the right.
Declaration
Swift
public static let sharpRight: LaneIndication
-
Indicates a turn to the right.
Declaration
Swift
public static let right: LaneIndication
-
Indicates a turn to the right.
Declaration
Swift
public static let slightRight: LaneIndication
-
Indicates no turn.
Declaration
Swift
public static let straightAhead: LaneIndication
-
Indicates a slight turn to the left.
Declaration
Swift
public static let slightLeft: LaneIndication
-
Indicates a turn to the left.
Declaration
Swift
public static let left: LaneIndication
-
Indicates a sharp turn to the left.
Declaration
Swift
public static let sharpLeft: LaneIndication
-
Indicates a U-turn.
Declaration
Swift
public static let uTurn: LaneIndication
-
Creates a lane indication from the given description strings.
Declaration
Swift
public init?(descriptions: [String])
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws