Home
last modified time | relevance | path

Searched defs:LaneID (Results 1 – 25 of 44) sorted by relevance

12

/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/objects/
H A Droad.rs83 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 Dlane.rs19 pub struct LaneID( struct
27 impl fmt::Display for LaneID { implementation
H A Dbuilding.rs115 pub fn sidewalk(&self) -> LaneID { in sidewalk()
H A Dintersection.rs96 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 Dtraversable.rs20 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 Dconnectivity.rs9 pub fn find_scc(map: &Map, constraints: PathConstraints) -> (HashSet<LaneID>, HashSet<LaneID>) { in find_scc()
H A Dmap.rs321 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 Dlane.rs180 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 Dfloodfill.rs131 ) -> (HashSet<LaneID>, HashSet<LaneID>, String) { in calculate()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/make/
H A Dwalking_turns.rs442 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 Dbuildings.rs109 fn get_address(tags: &Tags, sidewalk: LaneID, map: &Map) -> String { in get_address()
H A Dtransit.rs313 ) -> Result<LaneID, String> { in pick_start_lane()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/pathfind/
H A Dmod.rs41 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 Duber_turns.rs232 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 Dlanes.rs25 pub fn new(ctx: &mut EventCtx, app: &App, l: LaneID, mode: GameplayMode) -> Box<dyn State> { in new()
H A Dvalidate.rs119 l: LaneID, in try_change_lt()
H A Dmod.rs597 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 Dparking.rs178 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 Ddriving.rs924 pub fn debug_lane(&self, id: LaneID) { in debug_lane()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/
H A Dcap.rs58 pub fn car_entering_lane(&mut self, now: Time, car: CarID, lane: LaneID) { in car_entering_lane()
H A Drouter.rs68 pub fn vanish_bus(owner: CarID, l: LaneID, map: &Map) -> Router { in vanish_bus()
H A Danalytics.rs416 l: LaneID, in parking_lane_availability()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/
H A Dmisc_tools.rs159 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 Dcolors.rs35 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 Dtypedefs.hpp86 using LaneID = std::uint8_t; typedef

12