pub(crate) struct Matcher<R: RegExp> {
pub prefix: String,
pub suffix: String,
pub inner: InnerMatcher<R>,
pub ignore_case: bool,
}
Expand description
A structured representation of a URLPattern matcher, which can be used to match a URL against a pattern quickly.
Fields§
§prefix: String
§suffix: String
§inner: InnerMatcher<R>
§ignore_case: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Matcher<R>where
R: Freeze,
impl<R> RefUnwindSafe for Matcher<R>where
R: RefUnwindSafe,
impl<R> Send for Matcher<R>where
R: Send,
impl<R> Sync for Matcher<R>where
R: Sync,
impl<R> Unpin for Matcher<R>where
R: Unpin,
impl<R> UnwindSafe for Matcher<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more