Docs.rs
routing-match-0.2.0
routing-match 0.2.0
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
xiaoquanjie
Dependencies
matchit ^0.8.2
normal
Versions
30.77%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate routing_match
routing_
match
0.2.0
All Items
Crate Items
Structs
Crate
routing_
match
Copy item path
Source
Structs
§
ARouter
Router
路由器 路由支持静态, 动态, 通配符三种匹配方式 静态: /home/static 动态:/home/{name}.jpg, 每个段只支持一个参数 通配符:/home/{*all}, 参数all可以匹配多个段, *后面必须跟参数名,没有参数名不行 第一段可以不使用/, 比如“home/static“ 通配符需要位于路径的末尾 单线程版本