Enumeration
PathComponent
A single path component of a
Route. An array of these components describes a route’s path, including which parts are constant and which parts are dynamic.enum PathComponent
Topics
Enumeration Cases
case anythingA dynamic parameter component with discarded value.case catchallA fallback component that will match one or more dynamic parameter components with discarded values.case constant(String)A normal, constant path component.case parameter(String)A dynamic parameter component.case partialParameter(template: String, components: [Substring], parameters: [Substring])A partial parameter component.
Initializers
init(stringLiteral: String)Creates an instance initialized to the given string value.
Instance Properties
var description: StringA textual representation of this instance.
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringInterpolationSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype