URLMapping
public struct URLMapping : Hashable, Equatable, CustomStringConvertible, CustomDebugStringConvertible
A struct used to represent a route scope and path mapping to an action
-
Undocumented
Declaration
Swift
public init<PatternType>(name: String?, scope: RouteScope, pattern: PatternType) where PatternType : URLPattern
-
Undocumented
Declaration
Swift
public func matches(path: String) -> URLMappingResult?
-
Undocumented
Declaration
Swift
public func buildLink(with parameters: RouteParameters?, defaultPrefix: String) -> URL
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
-
Declaration
Swift
public static func == (lhs: URLMapping, rhs: URLMapping) -> Bool
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var debugDescription: String { get }