Enum sycamore_router::Segment [−][src]
pub enum Segment {
Param(String),
DynParam,
DynSegments,
}
Expand description
Represents an URL segment or segments.
Variants
Param(String)
Match a specific segment.
Tuple Fields of Param
0: String
Match an arbitrary segment that is captured.
Match an arbitrary amount of segments that are captured.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl UnwindSafe for Segment
Blanket Implementations
Mutably borrows from an owned value. Read more