/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/objects/ |
H A D | road.rs | 83 pub fn lanes(self, constraints: PathConstraints, map: &Map) -> Vec<LaneID> { in lanes() 117 pub fn lanes_ltr(&self) -> Vec<(LaneID, Direction, LaneType)> { in lanes_ltr() 145 pub fn parking_to_driving(&self, parking: LaneID, map: &Map) -> Option<LaneID> { in parking_to_driving() 184 from: LaneID, in find_closest_lane() 187 ) -> Option<LaneID> { in find_closest_lane() 203 pub fn all_lanes(&self) -> Vec<LaneID> { in all_lanes() 381 pub(crate) fn children_forwards(&self) -> Vec<(LaneID, LaneType)> { in children_forwards() 390 pub(crate) fn children_backwards(&self) -> Vec<(LaneID, LaneType)> { in children_backwards() 402 pub(crate) fn children(&self, dir: Direction) -> Vec<(LaneID, LaneType)> { in children() 423 pub(crate) fn incoming_lanes(&self, i: IntersectionID) -> Vec<(LaneID, LaneType)> { in incoming_lanes() [all …]
|
H A D | lane.rs | 19 pub struct LaneID( struct 27 impl fmt::Display for LaneID { implementation
|
H A D | building.rs | 115 pub fn sidewalk(&self) -> LaneID { in sidewalk()
|
H A D | intersection.rs | 96 pub fn get_outgoing_lanes(&self, map: &Map, constraints: PathConstraints) -> Vec<LaneID> { in get_outgoing_lanes()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/ |
H A D | traversable.rs | 20 pub fn new(lane: LaneID, dist_along: Distance) -> Position { in new() 31 pub fn end(lane: LaneID, map: &Map) -> Position { in end() 38 pub fn lane(&self) -> LaneID { in lane() 68 pub fn equiv_pos(&self, lane: LaneID, map: &Map) -> Position { in equiv_pos() 73 lane: LaneID, in equiv_pos_for_long_object() 137 pub fn as_lane(&self) -> LaneID { in as_lane() 158 pub fn maybe_lane(&self) -> Option<LaneID> { in maybe_lane()
|
H A D | connectivity.rs | 9 pub fn find_scc(map: &Map, constraints: PathConstraints) -> (HashSet<LaneID>, HashSet<LaneID>) { in find_scc()
|
H A D | map.rs | 321 from: LaneID, in get_turn_between() 322 to: LaneID, in get_turn_between() 334 from: LaneID, in get_next_turns_and_lanes() 344 pub fn get_turns_for(&self, from: LaneID, constraints: PathConstraints) -> Vec<&Turn> { in get_turns_for() 467 pub fn find_driving_lane_near_building(&self, b: BuildingID) -> LaneID { in find_driving_lane_near_building()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/info/ |
H A D | lane.rs | 180 id: LaneID, in traffic() 221 fn header(ctx: &EventCtx, app: &App, details: &mut Details, id: LaneID, tab: Tab) -> Vec<Widget> { in header()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/debug/ |
H A D | floodfill.rs | 131 ) -> (HashSet<LaneID>, HashSet<LaneID>, String) { in calculate()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/make/ |
H A D | walking_turns.rs | 442 fn turn_id(parent: IntersectionID, src: LaneID, dst: LaneID) -> TurnID { in turn_id() 446 fn get_sidewalk<'a>(lanes: &'a Vec<Lane>, children: Vec<(LaneID, LaneType)>) -> Option<&'a Lane> { in get_sidewalk()
|
H A D | buildings.rs | 109 fn get_address(tags: &Tags, sidewalk: LaneID, map: &Map) -> String { in get_address()
|
H A D | transit.rs | 313 ) -> Result<LaneID, String> { in pick_start_lane()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/pathfind/ |
H A D | mod.rs | 41 pub fn as_lane(&self) -> LaneID { in as_lane() 149 pub fn one_step(l: LaneID, map: &Map) -> Path { in one_step() 487 pub(crate) fn filter_lanes(self, mut choices: Vec<LaneID>, map: &Map) -> Vec<LaneID> { in filter_lanes()
|
H A D | uber_turns.rs | 232 pub fn entry(&self) -> LaneID { in entry() 235 pub fn exit(&self) -> LaneID { in exit()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/edit/ |
H A D | lanes.rs | 25 pub fn new(ctx: &mut EventCtx, app: &App, l: LaneID, mode: GameplayMode) -> Box<dyn State> { in new()
|
H A D | validate.rs | 119 l: LaneID, in try_change_lt()
|
H A D | mod.rs | 597 pub fn can_edit_lane(mode: &GameplayMode, l: LaneID, app: &App) -> bool { in can_edit_lane()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/mechanics/ |
H A D | parking.rs | 178 pub fn get_draw_cars(&self, id: LaneID, map: &Map) -> Vec<DrawCarInput> { in get_draw_cars() 190 pub fn get_draw_cars_in_lots(&self, id: LaneID, map: &Map) -> Vec<DrawCarInput> { in get_draw_cars_in_lots() 410 start: LaneID, in path_to_free_parking_spot()
|
H A D | driving.rs | 924 pub fn debug_lane(&self, id: LaneID) { in debug_lane()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/ |
H A D | cap.rs | 58 pub fn car_entering_lane(&mut self, now: Time, car: CarID, lane: LaneID) { in car_entering_lane()
|
H A D | router.rs | 68 pub fn vanish_bus(owner: CarID, l: LaneID, map: &Map) -> Router { in vanish_bus()
|
H A D | analytics.rs | 416 l: LaneID, in parking_lane_availability()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/ |
H A D | misc_tools.rs | 159 fn make_panel(ctx: &mut EventCtx, app: &App, l: LaneID, idx: usize) -> Panel { in make_panel()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/common/ |
H A D | colors.rs | 35 pub fn add_l(&mut self, l: LaneID, category: &'static str) { in add_l() 244 pub fn add_l(&mut self, l: LaneID, color: Color) { in add_l()
|
/dports/www/osrm-backend/osrm-backend-5.26.0/include/util/ |
H A D | typedefs.hpp | 86 using LaneID = std::uint8_t; typedef
|