Trait sycamore_router::TryFromSegments[][src]

pub trait TryFromSegments: Sized {
    fn try_from_segments(segments: &[&str]) -> Option<Self>;
}
Expand description

Fallible conversion between a list of param captures into a value.

Required methods

Sets the value of the capture variable with the value of segments. Returns false if unsuccessful (e.g. parsing error).

Implementations on Foreign Types

Implementors