RoadClasses
public struct RoadClasses : OptionSet, CustomStringConvertibleextension RoadClasses: CodableOption set that contains attributes of a road segment.
- 
                  
                  DeclarationSwift public var rawValue: Int
- 
                  
                  DeclarationSwift public init(rawValue: Int)
- 
                  
                  The road segment is tolled. DeclarationSwift public static let toll: RoadClasses
- 
                  
                  The road segment has access restrictions. A road segment may have this class if there are general access restrictions or a high-occupancy vehicle restriction. DeclarationSwift public static let restricted: RoadClasses
- 
                  
                  The road segment is a freeway or freeway ramp. It may be desirable to suppress the name of the freeway when giving instructions and give instructions at fixed distances before an exit (such as 1 mile or 1 kilometer ahead). DeclarationSwift public static let motorway: RoadClasses
- 
                  
                  The user must travel this segment of the route by ferry. The user should verify that the ferry is in operation. For driving and cycling directions, the user should also verify that his or her vehicle is permitted onboard the ferry. In general, the transport type of the step containing the road segment is also TransportType.ferry.DeclarationSwift public static let ferry: RoadClasses
- 
                  
                  The user must travel this segment of the route through a tunnel. DeclarationSwift public static let tunnel: RoadClasses
- 
                  
                  Creates a RoadClassesgiven an array of strings.DeclarationSwift public init?(descriptions: [String])
- 
                  
                  DeclarationSwift public var description: String { get }
- 
                  
                  DeclarationSwift public func encode(to encoder: Encoder) throws
- 
                  
                  DeclarationSwift public init(from decoder: Decoder) throws
 Install in Dash
              Install in Dash
             RoadClasses Structure Reference
        RoadClasses Structure Reference