pub struct Match<T> { /* private fields */ }
Expand description
The result of a successful match returned by Router::recognize
.
Implementations§
Source§impl<T> Match<T>
impl<T> Match<T>
Sourcepub fn handler_mut(&mut self) -> &mut T
pub fn handler_mut(&mut self) -> &mut T
Get a mutable handle to the handler.
Sourcepub fn params_mut(&mut self) -> &mut Params
pub fn params_mut(&mut self) -> &mut Params
Get a mutable handle to the params.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Match<T>where
T: Freeze,
impl<T> RefUnwindSafe for Match<T>where
T: RefUnwindSafe,
impl<T> Send for Match<T>where
T: Send,
impl<T> Sync for Match<T>where
T: Sync,
impl<T> Unpin for Match<T>where
T: Unpin,
impl<T> UnwindSafe for Match<T>where
T: 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