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
PathComponent.anythingA dynamic parameter component with discarded value.PathComponent.catchallA fallback component that will match one or more dynamic parameter components with discarded values.PathComponent.constant(_:)A normal, constant path component.PathComponent.parameter(_:)A dynamic parameter component.
Initializers
init(stringLiteral:)Creates an instance initialized to the given string value.
Instance Properties
descriptionA textual representation of this instance.
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringInterpolationSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype