pub struct RoutePattern(/* private fields */);Expand description
Represents a parsed and structured route pattern.
This struct wraps a vector of RouteSegments, which are the individual components
of a URL path. It is used internally by the RouteMatcher to perform efficient
route matching against incoming requests.
Implementations§
Source§impl RoutePattern
impl RoutePattern
pub fn get_0(&self) -> &RouteSegmentList
Trait Implementations§
Source§impl Clone for RoutePattern
impl Clone for RoutePattern
Source§fn clone(&self) -> RoutePattern
fn clone(&self) -> RoutePattern
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RoutePattern
impl Debug for RoutePattern
Source§impl Display for RoutePattern
impl Display for RoutePattern
Source§impl Hash for RoutePattern
Implements the Hash trait for RoutePattern.
impl Hash for RoutePattern
Implements the Hash trait for RoutePattern.
This allows RoutePattern to be used as a key in hash-based collections.
Source§impl Ord for RoutePattern
Implements the Ord trait for RoutePattern.
impl Ord for RoutePattern
Implements the Ord trait for RoutePattern.
This allows for total ordering of RoutePattern instances.
Source§impl PartialEq for RoutePattern
Implements the PartialEq trait for RoutePattern.
impl PartialEq for RoutePattern
Implements the PartialEq trait for RoutePattern.
This allows for comparing two RoutePattern instances for equality.
Source§impl PartialOrd for RoutePattern
Implements the PartialOrd trait for RoutePattern.
impl PartialOrd for RoutePattern
Implements the PartialOrd trait for RoutePattern.
This allows for partial ordering of RoutePattern instances.
impl Eq for RoutePattern
Implements the Eq trait for RoutePattern.
This indicates that RoutePattern has a total equality relation.