Skip to main content

match_route

Function match_route 

Source
pub fn match_route(route: &str) -> Option<RouteTarget>
Expand description

route 为“路径 + 可选查询”(无前缀、无哈希)。不匹配任何页面返回 None。