FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RouteDef

    struct · ferroui-view · v0.5.0

    struct RouteDef
    

    A route: a pattern and the view it shows (see route).

    View source

    Members

    pattern

    fn pattern(self: &Self) -> &str
    

    The pattern, as it was given.

    Source

    matches

    fn matches(self: &Self, path: &str) -> Option<RouteMatch>
    

    What the pattern matches in path, if it matches.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.