Struct pencil::routing::Map
[−]
[src]
pub struct Map { // some fields omitted }
The map stores all the URL rules.
Methods
impl Map
[src]
fn new() -> Map
fn add(&mut self, rule: Rule)
fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter
Trait Implementations
impl Clone for Map
[src]
fn clone(&self) -> Map
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more