Struct path2regex::Matcher
source · pub struct Matcher { /* private fields */ }
Available on crate feature
match
only.Expand description
Path matcher
Implementations
sourceimpl Matcher
impl Matcher
sourcepub fn new<S>(path: S) -> Result<Self>where
S: TryIntoWith<PathRegex, PathRegexOptions>,
pub fn new<S>(path: S) -> Result<Self>where
S: TryIntoWith<PathRegex, PathRegexOptions>,
sourcepub fn new_with_options<S>(path: S, options: MatcherOptions) -> Result<Self>where
S: TryIntoWith<PathRegex, PathRegexOptions>,
pub fn new_with_options<S>(path: S, options: MatcherOptions) -> Result<Self>where
S: TryIntoWith<PathRegex, PathRegexOptions>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Matcher
impl Send for Matcher
impl Sync for Matcher
impl Unpin for Matcher
impl UnwindSafe for Matcher
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more