BlockedLanes
public struct BlockedLanes : OptionSet, CustomStringConvertible
extension BlockedLanes: Codable
Defines a lane affected by the Incident
-
Declaration
Swift
public var rawValue: Int -
Declaration
Swift
public init(rawValue: Int) -
Left lane
Declaration
Swift
public static let left: BlockedLanes -
Left center lane
Usually refers to the second lane from left on a four-lane highway
Declaration
Swift
public static let leftCenter: BlockedLanes -
Left turn lane
Declaration
Swift
public static let leftTurnLane: BlockedLanes -
Center lane
Declaration
Swift
public static let center: BlockedLanes -
Right lane
Declaration
Swift
public static let right: BlockedLanes -
Right center lane
Usually refers to the second lane from right on a four-lane highway
Declaration
Swift
public static let rightCenter: BlockedLanes -
Right turn lane
Declaration
Swift
public static let rightTurnLane: BlockedLanes -
High occupancy vehicle lane
Declaration
Swift
public static let highOccupancyVehicle: BlockedLanes -
Side lane
Declaration
Swift
public static let side: BlockedLanes -
Shoulder lane
Declaration
Swift
public static let shoulder: BlockedLanes -
Median lane
Declaration
Swift
public static let median: BlockedLanes -
1st Lane.
Declaration
Swift
public static let lane1: BlockedLanes -
2nd Lane.
Declaration
Swift
public static let lane2: BlockedLanes -
3rd Lane.
Declaration
Swift
public static let lane3: BlockedLanes -
4th Lane.
Declaration
Swift
public static let lane4: BlockedLanes -
5th Lane.
Declaration
Swift
public static let lane5: BlockedLanes -
6th Lane.
Declaration
Swift
public static let lane6: BlockedLanes -
7th Lane.
Declaration
Swift
public static let lane7: BlockedLanes -
8th Lane.
Declaration
Swift
public static let lane8: BlockedLanes -
9th Lane.
Declaration
Swift
public static let lane9: BlockedLanes -
10th Lane.
Declaration
Swift
public static let lane10: BlockedLanes -
Creates a
BlockedLanesgiven an array of strings.Resulting options set will only contain known values. If string description does not match any known
Blocked Laneidentifier - it will be ignored.Declaration
Swift
public init?(descriptions: [String]) -
String representation of
BlockedLanesoptions set.Resulting description contains only texts for known options. Custom options will be ignored if any.
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public init(from decoder: Decoder) throws
Install in Dash
BlockedLanes Structure Reference