[go: up one dir, main page]

[][src]Struct matchit::Match

pub struct Match<'a, V> { /* fields omitted */ }

The response returned when getting the value for a specific path with Node::match_path

Implementations

impl<V, '_> Match<'_, V>[src]

pub fn params(&self) -> &Params[src]

The route parameters. See parameters for more details.

pub fn value(&self) -> &V[src]

The value stored under the matched node.

Auto Trait Implementations

impl<'a, V> RefUnwindSafe for Match<'a, V> where
    V: RefUnwindSafe
[src]

impl<'a, V> Send for Match<'a, V> where
    V: Sync
[src]

impl<'a, V> Sync for Match<'a, V> where
    V: Sync
[src]

impl<'a, V> Unpin for Match<'a, V>[src]

impl<'a, V> UnwindSafe for Match<'a, V> where
    V: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.