pub fn new(
        route_definition: &'static str,
        param_types: ParamTypes,
        view_creator: ViewFn,
    ) -> Route {
        Route {
            route_definition,
            param_types,
            view_creator,
        }
    }
/// Create a new Route. You'll usually later call route.match(...) in order to see if a given
/// the path in the browser URL matches your route's path definition.
Create a new Route. You'll usually later call route.match(...) in order to see if a given
the path in the browser URL matches your route's path definition.
Create a new Route . You ' ll usually later call route . match ( ... ) in order to see if a given the path in the browser URL matches your route ' s path definition .
pub fn new(
        route_definition: &'static str,
        param_types: ParamTypes,
        view_creator: ViewFn,
    ) -> Route {
        Route {
            route_definition,
            param_types,
            view_creator,
        }
    }
pub fn new ( route_definition : & ' static str , param_types : ParamTypes , view_creator : ViewFn , ) -> Route { Route { route_definition , param_types , view_creator , } }
Create a new Route.
Create a new Route .
route_definition
&'static str
param_types
ParamTypes
view_creator
ViewFn
route_definition
&'static str
param_types
ParamTypes
view_creator
ViewFn