RouteMatch
struct · ferroui-view · v0.5.0
struct RouteMatch
What a route's pattern matched: the path, and the values of the parameters of the pattern.
Members
path
fn path(self: &Self) -> &str
The path that matched.
param
fn param(self: &Self, name: &str) -> Option<&str>
The value of the parameter name (:name in the pattern). The rest
of the path that * matched is the parameter *, without its first
slash (empty when nothing was left).
params
fn params(self: &Self) -> &[(String, String)]
The parameters in the order of the pattern.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIntoValue<T>IntoValue<Option<T>>FromValue<T>FromValue<Option<T>>IntoProp<T, Value>AnyValueEqBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.