pub fn empty() -> Pathfinder {
        Pathfinder {
            car_graph: VehiclePathfinder::empty(),
            bike_graph: VehiclePathfinder::empty(),
            bus_graph: VehiclePathfinder::empty(),
            train_graph: VehiclePathfinder::empty(),
            walking_graph: SidewalkPathfinder::empty(),
            walking_with_transit_graph: SidewalkPathfinder::empty(),
            params: RoutingParams::default(),
        }
    }
/// Quickly create an invalid pathfinder, just to make borrow checking / initialization order
/// work.
Quickly create an invalid pathfinder, just to make borrow checking / initialization order
work.
Quickly create an invalid pathfinder just to make borrow checking / initialization order work .
pub fn empty() -> Pathfinder {
        Pathfinder {
            car_graph: VehiclePathfinder::empty(),
            bike_graph: VehiclePathfinder::empty(),
            bus_graph: VehiclePathfinder::empty(),
            train_graph: VehiclePathfinder::empty(),
            walking_graph: SidewalkPathfinder::empty(),
            walking_with_transit_graph: SidewalkPathfinder::empty(),
            params: RoutingParams::default(),
        }
    }
pub fn empty ( ) -> Pathfinder { Pathfinder { car_graph : VehiclePathfinder :: empty ( ) , bike_graph : VehiclePathfinder :: empty ( ) , bus_graph : VehiclePathfinder :: empty ( ) , train_graph : VehiclePathfinder :: empty ( ) , walking_graph : SidewalkPathfinder :: empty ( ) , walking_with_transit_graph : SidewalkPathfinder :: empty ( ) , params : RoutingParams :: default ( ) , } }
Quickly create an invalid pathfinder, just to make borrow checking / initialization order
work.
Quickly create an invalid pathfinder just to make borrow checking / initialization order work .