Priority
public struct Priority : RawRepresentable, ExpressibleByIntegerLiteral, Hashable, Comparable
The priority of a router within a router. Routers are queried in decending priority order.
-
Declaration
Swift
public static func < (lhs: Priority, rhs: Priority) -> Bool
-
A high priority. Equal to 1000.
Declaration
Swift
public static let high: Priority
-
A medium priority. Equal to 500.
Declaration
Swift
public static let medium: Priority
-
A low priority. Equal to 100.
Declaration
Swift
public static let low: Priority
-
The priority of a parent router. Equal to 0.
Declaration
Swift
public static let parent: Priority
-
Declaration
Swift
public let rawValue: Int
-
Declaration
Swift
public init(rawValue: Int)
-
Declaration
Swift
public init(integerLiteral value: Int)