mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 15:02:59 +03:00
deploy: 909ebe35a2
This commit is contained in:
parent
41c612cd51
commit
32c1b80599
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `BUILT_TIME_UTC` constant in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, BUILT_TIME_UTC"><title>game::pregame::built_info::BUILT_TIME_UTC - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc constant"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a></p><script>window.sidebarCurrent = {name: "BUILT_TIME_UTC", ty: "constant", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html#53" title="goto source code">[src]</a></span><span class="in-band">Constant <a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="">BUILT_TIME_UTC</a></span></h1><pre class="rust const">pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "Fri, 15 Jan 2021 01:50:32 +0000";</pre><div class="docblock"><p>The built-time in RFC2822, UTC</p>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html#53" title="goto source code">[src]</a></span><span class="in-band">Constant <a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="">BUILT_TIME_UTC</a></span></h1><pre class="rust const">pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "Fri, 15 Jan 2021 02:03:47 +0000";</pre><div class="docblock"><p>The built-time in RFC2822, UTC</p>
|
||||
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "game";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl !Freeze for App","synthetic":true,"types":
|
||||
implementors["geom"] = [{"text":"impl Freeze for Angle","synthetic":true,"types":[]},{"text":"impl Freeze for Bounds","synthetic":true,"types":[]},{"text":"impl Freeze for GPSBounds","synthetic":true,"types":[]},{"text":"impl Freeze for Circle","synthetic":true,"types":[]},{"text":"impl Freeze for Distance","synthetic":true,"types":[]},{"text":"impl Freeze for Duration","synthetic":true,"types":[]},{"text":"impl<K> Freeze for FindClosest<K>","synthetic":true,"types":[]},{"text":"impl Freeze for LonLat","synthetic":true,"types":[]},{"text":"impl Freeze for InfiniteLine","synthetic":true,"types":[]},{"text":"impl Freeze for Line","synthetic":true,"types":[]},{"text":"impl Freeze for Percent","synthetic":true,"types":[]},{"text":"impl Freeze for Polygon","synthetic":true,"types":[]},{"text":"impl Freeze for Triangle","synthetic":true,"types":[]},{"text":"impl Freeze for PolyLine","synthetic":true,"types":[]},{"text":"impl Freeze for HashablePt2D","synthetic":true,"types":[]},{"text":"impl Freeze for Pt2D","synthetic":true,"types":[]},{"text":"impl Freeze for Ring","synthetic":true,"types":[]},{"text":"impl Freeze for Speed","synthetic":true,"types":[]},{"text":"impl<T> Freeze for Histogram<T> <span class=\"where fmt-newline\">where<br> T: Freeze, </span>","synthetic":true,"types":[]},{"text":"impl Freeze for Time","synthetic":true,"types":[]},{"text":"impl Freeze for UnitFmt","synthetic":true,"types":[]},{"text":"impl Freeze for ArrowCap","synthetic":true,"types":[]},{"text":"impl Freeze for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl Freeze for MAP","synthetic":true,"types":[]},{"text":"impl Freeze for SIM","synthetic":true,"types":[]},{"text":"impl Freeze for LOAD","synthetic":true,"types":[]},{"text":"impl Freeze for FinishedTrip","synthetic":true,"types":[]},{"text":"impl Freeze for Delays","synthetic":true,"types":[]},{"text":"impl Freeze for Throughput","synthetic":true,"types":[]},{"text":"impl Freeze for AgentPositions","synthetic":true,"types":[]},{"text":"impl Freeze for AgentPosition","synthetic":true,"types":[]},{"text":"impl Freeze for RoadThroughput","synthetic":true,"types":[]},{"text":"impl Freeze for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl Freeze for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl Freeze for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl Freeze for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Freeze for Job","synthetic":true,"types":[]},{"text":"impl Freeze for DesireLine","synthetic":true,"types":[]},{"text":"impl Freeze for Record","synthetic":true,"types":[]},{"text":"impl Freeze for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Freeze for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Freeze for TripRecord","synthetic":true,"types":[]},{"text":"impl Freeze for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Freeze for Job","synthetic":true,"types":[]},{"text":"impl Freeze for ODSummary","synthetic":true,"types":[]},{"text":"impl Freeze for Record","synthetic":true,"types":[]},{"text":"impl Freeze for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Freeze for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Freeze for TripRecord","synthetic":true,"types":[]},{"text":"impl Freeze for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl Freeze for ExtraShapes","synthetic":true,"types":[]},{"text":"impl Freeze for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl Freeze for App","synthetic":true,"types":[]},{"text":"impl Freeze for MainState","synthetic":true,"types":[]},{"text":"impl Freeze for State","synthetic":true,"types":[]},{"text":"impl Freeze for Model","synthetic":true,"types":[]},{"text":"impl Freeze for ID","synthetic":true,"types":[]},{"text":"impl<ID> Freeze for Object<ID> <span class=\"where fmt-newline\">where<br> ID: Freeze, </span>","synthetic":true,"types":[]},{"text":"impl Freeze for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> Freeze for World<ID> <span class=\"where fmt-newline\">where<br> ID: Freeze, </span>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> !Freeze for SimpleApp<T>","synthetic":true,"types":[]},{"text":"impl Freeze for ID","synthetic":true,"types":[]},{"text":"impl Freeze for ColorScheme","synthetic":true,"types":[]},{"text":"impl Freeze for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> Freeze for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Freeze for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> Freeze for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> Freeze for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Freeze for Options","synthetic":true,"types":[]},{"text":"impl Freeze for OptionsPanel","synthetic":true,"types":[]},{"text":"impl Freeze for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl Freeze for CameraAngle","synthetic":true,"types":[]},{"text":"impl Freeze for AgentCache","synthetic":true,"types":[]},{"text":"impl Freeze for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl Freeze for DrawArea","synthetic":true,"types":[]},{"text":"impl !Freeze for DrawBuilding","synthetic":true,"types":[]},{"text":"impl !Freeze for DrawIntersection","synthetic":true,"types":[]},{"text":"impl Freeze for DrawMap","synthetic":true,"types":[]},{"text":"impl Freeze for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl Freeze for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl Freeze for DrawMovement","synthetic":true,"types":[]},{"text":"impl Freeze for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl Freeze for DrawOptions","synthetic":true,"types":[]},{"text":"impl Freeze for DrawBike","synthetic":true,"types":[]},{"text":"impl Freeze for DrawBusStop","synthetic":true,"types":[]},{"text":"impl Freeze for DrawCar","synthetic":true,"types":[]},{"text":"impl !Freeze for DrawLane","synthetic":true,"types":[]},{"text":"impl !Freeze for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl !Freeze for DrawRoad","synthetic":true,"types":[]},{"text":"impl Freeze for SimpleWarper","synthetic":true,"types":[]},{"text":"impl Freeze for CameraState","synthetic":true,"types":[]},{"text":"impl<A> Freeze for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> Freeze for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl Freeze for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> Freeze for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl Freeze for ColorScale","synthetic":true,"types":[]},{"text":"impl Freeze for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> Freeze for Grid<T>","synthetic":true,"types":[]},{"text":"impl Freeze for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> Freeze for Minimap<A, T> <span class=\"where fmt-newline\">where<br> T: Freeze, </span>","synthetic":true,"types":[]},{"text":"impl Freeze for Navigator","synthetic":true,"types":[]},{"text":"impl Freeze for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> Freeze for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl Freeze for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> Freeze for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> Freeze for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl Freeze for CrossStreet","synthetic":true,"types":[]},{"text":"impl Freeze for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> Freeze for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl !Send for App","synthetic":true,"types":[]
|
||||
implementors["geom"] = [{"text":"impl Send for Angle","synthetic":true,"types":[]},{"text":"impl Send for Bounds","synthetic":true,"types":[]},{"text":"impl Send for GPSBounds","synthetic":true,"types":[]},{"text":"impl Send for Circle","synthetic":true,"types":[]},{"text":"impl Send for Distance","synthetic":true,"types":[]},{"text":"impl Send for Duration","synthetic":true,"types":[]},{"text":"impl<K> Send for FindClosest<K> <span class=\"where fmt-newline\">where<br> K: Send, </span>","synthetic":true,"types":[]},{"text":"impl Send for LonLat","synthetic":true,"types":[]},{"text":"impl Send for InfiniteLine","synthetic":true,"types":[]},{"text":"impl Send for Line","synthetic":true,"types":[]},{"text":"impl Send for Percent","synthetic":true,"types":[]},{"text":"impl Send for Polygon","synthetic":true,"types":[]},{"text":"impl Send for Triangle","synthetic":true,"types":[]},{"text":"impl Send for PolyLine","synthetic":true,"types":[]},{"text":"impl Send for HashablePt2D","synthetic":true,"types":[]},{"text":"impl Send for Pt2D","synthetic":true,"types":[]},{"text":"impl Send for Ring","synthetic":true,"types":[]},{"text":"impl Send for Speed","synthetic":true,"types":[]},{"text":"impl<T> Send for Histogram<T> <span class=\"where fmt-newline\">where<br> T: Send, </span>","synthetic":true,"types":[]},{"text":"impl Send for Time","synthetic":true,"types":[]},{"text":"impl Send for UnitFmt","synthetic":true,"types":[]},{"text":"impl Send for ArrowCap","synthetic":true,"types":[]},{"text":"impl Send for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl Send for MAP","synthetic":true,"types":[]},{"text":"impl Send for SIM","synthetic":true,"types":[]},{"text":"impl Send for LOAD","synthetic":true,"types":[]},{"text":"impl Send for FinishedTrip","synthetic":true,"types":[]},{"text":"impl Send for Delays","synthetic":true,"types":[]},{"text":"impl Send for Throughput","synthetic":true,"types":[]},{"text":"impl Send for AgentPositions","synthetic":true,"types":[]},{"text":"impl Send for AgentPosition","synthetic":true,"types":[]},{"text":"impl Send for RoadThroughput","synthetic":true,"types":[]},{"text":"impl Send for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl Send for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl Send for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl Send for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Send for Job","synthetic":true,"types":[]},{"text":"impl Send for DesireLine","synthetic":true,"types":[]},{"text":"impl Send for Record","synthetic":true,"types":[]},{"text":"impl Send for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Send for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Send for TripRecord","synthetic":true,"types":[]},{"text":"impl Send for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Send for Job","synthetic":true,"types":[]},{"text":"impl Send for ODSummary","synthetic":true,"types":[]},{"text":"impl Send for Record","synthetic":true,"types":[]},{"text":"impl Send for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Send for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Send for TripRecord","synthetic":true,"types":[]},{"text":"impl Send for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl Send for ExtraShapes","synthetic":true,"types":[]},{"text":"impl Send for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl !Send for App","synthetic":true,"types":[]},{"text":"impl !Send for MainState","synthetic":true,"types":[]},{"text":"impl !Send for State","synthetic":true,"types":[]},{"text":"impl !Send for Model","synthetic":true,"types":[]},{"text":"impl Send for ID","synthetic":true,"types":[]},{"text":"impl<ID> Send for Object<ID> <span class=\"where fmt-newline\">where<br> ID: Send, </span>","synthetic":true,"types":[]},{"text":"impl !Send for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> !Send for World<ID>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> !Send for SimpleApp<T>","synthetic":true,"types":[]},{"text":"impl Send for ID","synthetic":true,"types":[]},{"text":"impl Send for ColorScheme","synthetic":true,"types":[]},{"text":"impl Send for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> !Send for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Send for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> !Send for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> !Send for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Send for Options","synthetic":true,"types":[]},{"text":"impl !Send for OptionsPanel","synthetic":true,"types":[]},{"text":"impl Send for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl Send for CameraAngle","synthetic":true,"types":[]},{"text":"impl !Send for AgentCache","synthetic":true,"types":[]},{"text":"impl Send for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl Send for DrawArea","synthetic":true,"types":[]},{"text":"impl !Send for DrawBuilding","synthetic":true,"types":[]},{"text":"impl !Send for DrawIntersection","synthetic":true,"types":[]},{"text":"impl !Send for DrawMap","synthetic":true,"types":[]},{"text":"impl !Send for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl !Send for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl Send for DrawMovement","synthetic":true,"types":[]},{"text":"impl Send for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl Send for DrawOptions","synthetic":true,"types":[]},{"text":"impl !Send for DrawBike","synthetic":true,"types":[]},{"text":"impl !Send for DrawBusStop","synthetic":true,"types":[]},{"text":"impl !Send for DrawCar","synthetic":true,"types":[]},{"text":"impl !Send for DrawLane","synthetic":true,"types":[]},{"text":"impl !Send for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl !Send for DrawRoad","synthetic":true,"types":[]},{"text":"impl Send for SimpleWarper","synthetic":true,"types":[]},{"text":"impl Send for CameraState","synthetic":true,"types":[]},{"text":"impl<A> !Send for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> Send for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl Send for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> Send for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl Send for ColorScale","synthetic":true,"types":[]},{"text":"impl Send for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> Send for Grid<T> <span class=\"where fmt-newline\">where<br> T: Send, </span>","synthetic":true,"types":[]},{"text":"impl Send for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> !Send for Minimap<A, T>","synthetic":true,"types":[]},{"text":"impl !Send for Navigator","synthetic":true,"types":[]},{"text":"impl !Send for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> !Send for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl !Send for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> !Send for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> !Send for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl !Send for CrossStreet","synthetic":true,"types":[]},{"text":"impl !Send for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> !Send for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl !Sync for App","synthetic":true,"types":[]
|
||||
implementors["geom"] = [{"text":"impl Sync for Angle","synthetic":true,"types":[]},{"text":"impl Sync for Bounds","synthetic":true,"types":[]},{"text":"impl Sync for GPSBounds","synthetic":true,"types":[]},{"text":"impl Sync for Circle","synthetic":true,"types":[]},{"text":"impl Sync for Distance","synthetic":true,"types":[]},{"text":"impl Sync for Duration","synthetic":true,"types":[]},{"text":"impl<K> Sync for FindClosest<K> <span class=\"where fmt-newline\">where<br> K: Sync, </span>","synthetic":true,"types":[]},{"text":"impl Sync for LonLat","synthetic":true,"types":[]},{"text":"impl Sync for InfiniteLine","synthetic":true,"types":[]},{"text":"impl Sync for Line","synthetic":true,"types":[]},{"text":"impl Sync for Percent","synthetic":true,"types":[]},{"text":"impl Sync for Polygon","synthetic":true,"types":[]},{"text":"impl Sync for Triangle","synthetic":true,"types":[]},{"text":"impl Sync for PolyLine","synthetic":true,"types":[]},{"text":"impl Sync for HashablePt2D","synthetic":true,"types":[]},{"text":"impl Sync for Pt2D","synthetic":true,"types":[]},{"text":"impl Sync for Ring","synthetic":true,"types":[]},{"text":"impl Sync for Speed","synthetic":true,"types":[]},{"text":"impl<T> Sync for Histogram<T> <span class=\"where fmt-newline\">where<br> T: Sync, </span>","synthetic":true,"types":[]},{"text":"impl Sync for Time","synthetic":true,"types":[]},{"text":"impl Sync for UnitFmt","synthetic":true,"types":[]},{"text":"impl Sync for ArrowCap","synthetic":true,"types":[]},{"text":"impl Sync for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl Sync for MAP","synthetic":true,"types":[]},{"text":"impl Sync for SIM","synthetic":true,"types":[]},{"text":"impl Sync for LOAD","synthetic":true,"types":[]},{"text":"impl Sync for FinishedTrip","synthetic":true,"types":[]},{"text":"impl Sync for Delays","synthetic":true,"types":[]},{"text":"impl Sync for Throughput","synthetic":true,"types":[]},{"text":"impl Sync for AgentPositions","synthetic":true,"types":[]},{"text":"impl Sync for AgentPosition","synthetic":true,"types":[]},{"text":"impl Sync for RoadThroughput","synthetic":true,"types":[]},{"text":"impl Sync for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl Sync for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl Sync for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl Sync for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Sync for Job","synthetic":true,"types":[]},{"text":"impl Sync for DesireLine","synthetic":true,"types":[]},{"text":"impl Sync for Record","synthetic":true,"types":[]},{"text":"impl Sync for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Sync for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Sync for TripRecord","synthetic":true,"types":[]},{"text":"impl Sync for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Sync for Job","synthetic":true,"types":[]},{"text":"impl Sync for ODSummary","synthetic":true,"types":[]},{"text":"impl Sync for Record","synthetic":true,"types":[]},{"text":"impl Sync for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Sync for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Sync for TripRecord","synthetic":true,"types":[]},{"text":"impl Sync for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl Sync for ExtraShapes","synthetic":true,"types":[]},{"text":"impl Sync for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl !Sync for App","synthetic":true,"types":[]},{"text":"impl !Sync for MainState","synthetic":true,"types":[]},{"text":"impl !Sync for State","synthetic":true,"types":[]},{"text":"impl !Sync for Model","synthetic":true,"types":[]},{"text":"impl Sync for ID","synthetic":true,"types":[]},{"text":"impl<ID> Sync for Object<ID> <span class=\"where fmt-newline\">where<br> ID: Sync, </span>","synthetic":true,"types":[]},{"text":"impl !Sync for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> !Sync for World<ID>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> !Sync for SimpleApp<T>","synthetic":true,"types":[]},{"text":"impl Sync for ID","synthetic":true,"types":[]},{"text":"impl Sync for ColorScheme","synthetic":true,"types":[]},{"text":"impl Sync for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> !Sync for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Sync for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> !Sync for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> !Sync for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Sync for Options","synthetic":true,"types":[]},{"text":"impl !Sync for OptionsPanel","synthetic":true,"types":[]},{"text":"impl Sync for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl Sync for CameraAngle","synthetic":true,"types":[]},{"text":"impl !Sync for AgentCache","synthetic":true,"types":[]},{"text":"impl Sync for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl Sync for DrawArea","synthetic":true,"types":[]},{"text":"impl !Sync for DrawBuilding","synthetic":true,"types":[]},{"text":"impl !Sync for DrawIntersection","synthetic":true,"types":[]},{"text":"impl !Sync for DrawMap","synthetic":true,"types":[]},{"text":"impl !Sync for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl !Sync for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl Sync for DrawMovement","synthetic":true,"types":[]},{"text":"impl Sync for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl Sync for DrawOptions","synthetic":true,"types":[]},{"text":"impl !Sync for DrawBike","synthetic":true,"types":[]},{"text":"impl !Sync for DrawBusStop","synthetic":true,"types":[]},{"text":"impl !Sync for DrawCar","synthetic":true,"types":[]},{"text":"impl !Sync for DrawLane","synthetic":true,"types":[]},{"text":"impl !Sync for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl !Sync for DrawRoad","synthetic":true,"types":[]},{"text":"impl Sync for SimpleWarper","synthetic":true,"types":[]},{"text":"impl Sync for CameraState","synthetic":true,"types":[]},{"text":"impl<A> !Sync for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> Sync for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl Sync for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> Sync for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl Sync for ColorScale","synthetic":true,"types":[]},{"text":"impl Sync for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> Sync for Grid<T> <span class=\"where fmt-newline\">where<br> T: Sync, </span>","synthetic":true,"types":[]},{"text":"impl Sync for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> !Sync for Minimap<A, T>","synthetic":true,"types":[]},{"text":"impl !Sync for Navigator","synthetic":true,"types":[]},{"text":"impl !Sync for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> !Sync for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl !Sync for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> !Sync for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> !Sync for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl !Sync for CrossStreet","synthetic":true,"types":[]},{"text":"impl !Sync for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> !Sync for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl Unpin for App","synthetic":true,"types":[]
|
||||
implementors["geom"] = [{"text":"impl Unpin for Angle","synthetic":true,"types":[]},{"text":"impl Unpin for Bounds","synthetic":true,"types":[]},{"text":"impl Unpin for GPSBounds","synthetic":true,"types":[]},{"text":"impl Unpin for Circle","synthetic":true,"types":[]},{"text":"impl Unpin for Distance","synthetic":true,"types":[]},{"text":"impl Unpin for Duration","synthetic":true,"types":[]},{"text":"impl<K> Unpin for FindClosest<K> <span class=\"where fmt-newline\">where<br> K: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for LonLat","synthetic":true,"types":[]},{"text":"impl Unpin for InfiniteLine","synthetic":true,"types":[]},{"text":"impl Unpin for Line","synthetic":true,"types":[]},{"text":"impl Unpin for Percent","synthetic":true,"types":[]},{"text":"impl Unpin for Polygon","synthetic":true,"types":[]},{"text":"impl Unpin for Triangle","synthetic":true,"types":[]},{"text":"impl Unpin for PolyLine","synthetic":true,"types":[]},{"text":"impl Unpin for HashablePt2D","synthetic":true,"types":[]},{"text":"impl Unpin for Pt2D","synthetic":true,"types":[]},{"text":"impl Unpin for Ring","synthetic":true,"types":[]},{"text":"impl Unpin for Speed","synthetic":true,"types":[]},{"text":"impl<T> Unpin for Histogram<T> <span class=\"where fmt-newline\">where<br> T: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for Time","synthetic":true,"types":[]},{"text":"impl Unpin for UnitFmt","synthetic":true,"types":[]},{"text":"impl Unpin for ArrowCap","synthetic":true,"types":[]},{"text":"impl Unpin for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl Unpin for MAP","synthetic":true,"types":[]},{"text":"impl Unpin for SIM","synthetic":true,"types":[]},{"text":"impl Unpin for LOAD","synthetic":true,"types":[]},{"text":"impl Unpin for FinishedTrip","synthetic":true,"types":[]},{"text":"impl Unpin for Delays","synthetic":true,"types":[]},{"text":"impl Unpin for Throughput","synthetic":true,"types":[]},{"text":"impl Unpin for AgentPositions","synthetic":true,"types":[]},{"text":"impl Unpin for AgentPosition","synthetic":true,"types":[]},{"text":"impl Unpin for RoadThroughput","synthetic":true,"types":[]},{"text":"impl Unpin for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl Unpin for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl Unpin for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl Unpin for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Unpin for Job","synthetic":true,"types":[]},{"text":"impl Unpin for DesireLine","synthetic":true,"types":[]},{"text":"impl Unpin for Record","synthetic":true,"types":[]},{"text":"impl Unpin for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Unpin for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Unpin for TripRecord","synthetic":true,"types":[]},{"text":"impl Unpin for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl Unpin for Job","synthetic":true,"types":[]},{"text":"impl Unpin for ODSummary","synthetic":true,"types":[]},{"text":"impl Unpin for Record","synthetic":true,"types":[]},{"text":"impl Unpin for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl Unpin for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl Unpin for TripRecord","synthetic":true,"types":[]},{"text":"impl Unpin for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl Unpin for ExtraShapes","synthetic":true,"types":[]},{"text":"impl Unpin for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl Unpin for App","synthetic":true,"types":[]},{"text":"impl Unpin for MainState","synthetic":true,"types":[]},{"text":"impl Unpin for State","synthetic":true,"types":[]},{"text":"impl Unpin for Model","synthetic":true,"types":[]},{"text":"impl Unpin for ID","synthetic":true,"types":[]},{"text":"impl<ID> Unpin for Object<ID> <span class=\"where fmt-newline\">where<br> ID: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> Unpin for World<ID> <span class=\"where fmt-newline\">where<br> ID: Unpin, </span>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> Unpin for SimpleApp<T> <span class=\"where fmt-newline\">where<br> T: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for ID","synthetic":true,"types":[]},{"text":"impl Unpin for ColorScheme","synthetic":true,"types":[]},{"text":"impl Unpin for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> Unpin for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Unpin for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> Unpin for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> Unpin for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl Unpin for Options","synthetic":true,"types":[]},{"text":"impl Unpin for OptionsPanel","synthetic":true,"types":[]},{"text":"impl Unpin for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl Unpin for CameraAngle","synthetic":true,"types":[]},{"text":"impl Unpin for AgentCache","synthetic":true,"types":[]},{"text":"impl Unpin for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl Unpin for DrawArea","synthetic":true,"types":[]},{"text":"impl Unpin for DrawBuilding","synthetic":true,"types":[]},{"text":"impl Unpin for DrawIntersection","synthetic":true,"types":[]},{"text":"impl Unpin for DrawMap","synthetic":true,"types":[]},{"text":"impl Unpin for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl Unpin for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl Unpin for DrawMovement","synthetic":true,"types":[]},{"text":"impl Unpin for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl Unpin for DrawOptions","synthetic":true,"types":[]},{"text":"impl Unpin for DrawBike","synthetic":true,"types":[]},{"text":"impl Unpin for DrawBusStop","synthetic":true,"types":[]},{"text":"impl Unpin for DrawCar","synthetic":true,"types":[]},{"text":"impl Unpin for DrawLane","synthetic":true,"types":[]},{"text":"impl Unpin for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl Unpin for DrawRoad","synthetic":true,"types":[]},{"text":"impl Unpin for SimpleWarper","synthetic":true,"types":[]},{"text":"impl Unpin for CameraState","synthetic":true,"types":[]},{"text":"impl<A> Unpin for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> Unpin for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl Unpin for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> Unpin for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl Unpin for ColorScale","synthetic":true,"types":[]},{"text":"impl Unpin for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> Unpin for Grid<T> <span class=\"where fmt-newline\">where<br> T: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> Unpin for Minimap<A, T> <span class=\"where fmt-newline\">where<br> A: Unpin,<br> T: Unpin, </span>","synthetic":true,"types":[]},{"text":"impl Unpin for Navigator","synthetic":true,"types":[]},{"text":"impl Unpin for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> Unpin for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl Unpin for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> Unpin for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> Unpin for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl Unpin for CrossStreet","synthetic":true,"types":[]},{"text":"impl Unpin for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> Unpin for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl !RefUnwindSafe for App","synthetic":true,"
|
||||
implementors["geom"] = [{"text":"impl RefUnwindSafe for Angle","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Bounds","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for GPSBounds","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Circle","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Distance","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Duration","synthetic":true,"types":[]},{"text":"impl<K> RefUnwindSafe for FindClosest<K> <span class=\"where fmt-newline\">where<br> K: RefUnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for LonLat","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for InfiniteLine","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Line","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Percent","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Polygon","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Triangle","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for PolyLine","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for HashablePt2D","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Pt2D","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Ring","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Speed","synthetic":true,"types":[]},{"text":"impl<T> RefUnwindSafe for Histogram<T> <span class=\"where fmt-newline\">where<br> T: RefUnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Time","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for UnitFmt","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ArrowCap","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl RefUnwindSafe for MAP","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for SIM","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for LOAD","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for FinishedTrip","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Delays","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Throughput","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for AgentPositions","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for AgentPosition","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for RoadThroughput","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl RefUnwindSafe for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl RefUnwindSafe for Job","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DesireLine","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Record","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TripRecord","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl RefUnwindSafe for Job","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ODSummary","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Record","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TripRecord","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl RefUnwindSafe for ExtraShapes","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl !RefUnwindSafe for App","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for MainState","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for State","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Model","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ID","synthetic":true,"types":[]},{"text":"impl<ID> RefUnwindSafe for Object<ID> <span class=\"where fmt-newline\">where<br> ID: RefUnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> !RefUnwindSafe for World<ID>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> !RefUnwindSafe for SimpleApp<T>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ID","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ColorScheme","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> !RefUnwindSafe for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> !RefUnwindSafe for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> !RefUnwindSafe for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for Options","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for OptionsPanel","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for CameraAngle","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for AgentCache","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DrawArea","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawBuilding","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawIntersection","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawMap","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DrawMovement","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DrawOptions","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawBike","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawBusStop","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawCar","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawLane","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for DrawRoad","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for SimpleWarper","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for CameraState","synthetic":true,"types":[]},{"text":"impl<A> !RefUnwindSafe for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> RefUnwindSafe for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for ColorScale","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> RefUnwindSafe for Grid<T> <span class=\"where fmt-newline\">where<br> T: RefUnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl RefUnwindSafe for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> !RefUnwindSafe for Minimap<A, T>","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for Navigator","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> !RefUnwindSafe for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> !RefUnwindSafe for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> !RefUnwindSafe for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for CrossStreet","synthetic":true,"types":[]},{"text":"impl !RefUnwindSafe for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> !RefUnwindSafe for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -8,7 +8,7 @@ implementors["game"] = [{"text":"impl !UnwindSafe for App","synthetic":true,"typ
|
||||
implementors["geom"] = [{"text":"impl UnwindSafe for Angle","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Bounds","synthetic":true,"types":[]},{"text":"impl UnwindSafe for GPSBounds","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Circle","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Distance","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Duration","synthetic":true,"types":[]},{"text":"impl<K> UnwindSafe for FindClosest<K> <span class=\"where fmt-newline\">where<br> K: RefUnwindSafe + UnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for LonLat","synthetic":true,"types":[]},{"text":"impl UnwindSafe for InfiniteLine","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Line","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Percent","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Polygon","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Triangle","synthetic":true,"types":[]},{"text":"impl UnwindSafe for PolyLine","synthetic":true,"types":[]},{"text":"impl UnwindSafe for HashablePt2D","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Pt2D","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Ring","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Speed","synthetic":true,"types":[]},{"text":"impl<T> UnwindSafe for Histogram<T> <span class=\"where fmt-newline\">where<br> T: UnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Time","synthetic":true,"types":[]},{"text":"impl UnwindSafe for UnitFmt","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ArrowCap","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Statistic","synthetic":true,"types":[]}];
|
||||
implementors["headless"] = [{"text":"impl UnwindSafe for MAP","synthetic":true,"types":[]},{"text":"impl UnwindSafe for SIM","synthetic":true,"types":[]},{"text":"impl UnwindSafe for LOAD","synthetic":true,"types":[]},{"text":"impl UnwindSafe for FinishedTrip","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Delays","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Throughput","synthetic":true,"types":[]},{"text":"impl UnwindSafe for AgentPositions","synthetic":true,"types":[]},{"text":"impl UnwindSafe for AgentPosition","synthetic":true,"types":[]},{"text":"impl UnwindSafe for RoadThroughput","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TrafficSignalState","synthetic":true,"types":[]},{"text":"impl UnwindSafe for BlockedByGraph","synthetic":true,"types":[]},{"text":"impl UnwindSafe for LoadSim","synthetic":true,"types":[]}];
|
||||
implementors["import_traffic"] = [{"text":"impl UnwindSafe for Input","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl UnwindSafe for Job","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DesireLine","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Record","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl UnwindSafe for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TripRecord","synthetic":true,"types":[]},{"text":"impl UnwindSafe for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["importer"] = [{"text":"impl UnwindSafe for Job","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ODSummary","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Record","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ImporterConfiguration","synthetic":true,"types":[]},{"text":"impl UnwindSafe for GenericCityImporter","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TripRecord","synthetic":true,"types":[]},{"text":"impl UnwindSafe for StopTimeRecord","synthetic":true,"types":[]}];
|
||||
implementors["kml"] = [{"text":"impl UnwindSafe for ExtraShapes","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ExtraShape","synthetic":true,"types":[]}];
|
||||
implementors["map_editor"] = [{"text":"impl UnwindSafe for App","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for MainState","synthetic":true,"types":[]},{"text":"impl UnwindSafe for State","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Model","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ID","synthetic":true,"types":[]},{"text":"impl<ID> UnwindSafe for Object<ID> <span class=\"where fmt-newline\">where<br> ID: UnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for WorldObject","synthetic":true,"types":[]},{"text":"impl<ID> UnwindSafe for World<ID> <span class=\"where fmt-newline\">where<br> ID: UnwindSafe, </span>","synthetic":true,"types":[]}];
|
||||
implementors["map_gui"] = [{"text":"impl<T> UnwindSafe for SimpleApp<T> <span class=\"where fmt-newline\">where<br> T: UnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ID","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ColorScheme","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ColorSchemeChoice","synthetic":true,"types":[]},{"text":"impl<A, T> !UnwindSafe for FileLoader<A, T>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for MapLoader","synthetic":true,"types":[]},{"text":"impl<A> !UnwindSafe for MapAlreadyLoaded<A>","synthetic":true,"types":[]},{"text":"impl<A, T> !UnwindSafe for FutureLoader<A, T>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for Options","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for OptionsPanel","synthetic":true,"types":[]},{"text":"impl UnwindSafe for TrafficSignalStyle","synthetic":true,"types":[]},{"text":"impl UnwindSafe for CameraAngle","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for AgentCache","synthetic":true,"types":[]},{"text":"impl UnwindSafe for UnzoomedAgents","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawArea","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawBuilding","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawIntersection","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawMap","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawPedCrowd","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawPedestrian","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawMovement","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawUberTurnGroup","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawOptions","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawBike","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawBusStop","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawCar","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawLane","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawParkingLot","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DrawRoad","synthetic":true,"types":[]},{"text":"impl UnwindSafe for SimpleWarper","synthetic":true,"types":[]},{"text":"impl UnwindSafe for CameraState","synthetic":true,"types":[]},{"text":"impl<A> !UnwindSafe for CityPicker<A>","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for ColorDiscrete<'a>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ColorLegend","synthetic":true,"types":[]},{"text":"impl<'a> UnwindSafe for ColorNetwork<'a>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for ColorScale","synthetic":true,"types":[]},{"text":"impl UnwindSafe for DivergingScale","synthetic":true,"types":[]},{"text":"impl<T> UnwindSafe for Grid<T> <span class=\"where fmt-newline\">where<br> T: UnwindSafe, </span>","synthetic":true,"types":[]},{"text":"impl UnwindSafe for HeatmapOptions","synthetic":true,"types":[]},{"text":"impl<A, T> !UnwindSafe for Minimap<A, T>","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for Navigator","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for TurnExplorer","synthetic":true,"types":[]},{"text":"impl<A, T> !UnwindSafe for ChooseSomething<A, T>","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for PopupMsg","synthetic":true,"types":[]},{"text":"impl<A> !UnwindSafe for PromptInput<A>","synthetic":true,"types":[]},{"text":"impl<A> !UnwindSafe for AllCityPicker<A>","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for CrossStreet","synthetic":true,"types":[]},{"text":"impl !UnwindSafe for SearchBuildings","synthetic":true,"types":[]},{"text":"impl<A> !UnwindSafe for Picker<A>","synthetic":true,"types":[]}];
|
||||
|
@ -1,4 +0,0 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `desire_lines_to_scenarios` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, desire_lines_to_scenarios"><title>importer::actdev::desire_lines_to_scenarios - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "desire_lines_to_scenarios", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#94-153" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">desire_lines_to_scenarios</a></span></h1><pre class="rust fn">fn desire_lines_to_scenarios(map: &<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>, input: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../importer/actdev/struct.DesireLine.html" title="struct importer::actdev::DesireLine">DesireLine</a>>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
4
rustdoc/importer/actdev/fn.generate_scenario.html
Normal file
4
rustdoc/importer/actdev/fn.generate_scenario.html
Normal file
@ -0,0 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `generate_scenario` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, generate_scenario"><title>importer::actdev::generate_scenario - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "generate_scenario", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#88-120" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">generate_scenario</a></span></h1><pre class="rust fn">fn generate_scenario(name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, input: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../importer/actdev/struct.ODSummary.html" title="struct importer::actdev::ODSummary">ODSummary</a>>, map: &<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `import_scenarios` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, import_scenarios"><title>importer::actdev::import_scenarios - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "import_scenarios", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#16-71" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">import_scenarios</a></span></h1><pre class="rust fn">pub fn import_scenarios(<br> map: &<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>, <br> config: &<a class="struct" href="../../importer/configuration/struct.ImporterConfiguration.html" title="struct importer::configuration::ImporterConfiguration">ImporterConfiguration</a>, <br> timer: &mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a><'_><br>) -> <a class="type" href="https://docs.rs/anyhow/1.0.37/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#15-70" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">import_scenarios</a></span></h1><pre class="rust fn">pub fn import_scenarios(map: &<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>, config: &<a class="struct" href="../../importer/configuration/struct.ImporterConfiguration.html" title="struct importer::configuration::ImporterConfiguration">ImporterConfiguration</a>) -> <a class="type" href="https://docs.rs/anyhow/1.0.37/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `parse_usize` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, parse_usize"><title>importer::actdev::parse_usize - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "parse_usize", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#74-79" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">parse_usize</a></span></h1><pre class="rust fn">fn parse_usize(feature: &Feature, key: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="type" href="https://docs.rs/anyhow/1.0.37/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#72-77" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">parse_usize</a></span></h1><pre class="rust fn">fn parse_usize(feature: &Feature, key: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="type" href="https://docs.rs/anyhow/1.0.37/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `rand_duration` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, rand_duration"><title>importer::actdev::rand_duration - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "rand_duration", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#156-159" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">rand_duration</a></span></h1><pre class="rust fn">fn rand_duration(<br> rng: &mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>, <br> low: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, <br> high: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a><br>) -> <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#123-126" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">rand_duration</a></span></h1><pre class="rust fn">fn rand_duration(<br> rng: &mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>, <br> low: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, <br> high: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a><br>) -> <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `rand_time` fn in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, rand_time"><title>importer::actdev::rand_time - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a></p><script>window.sidebarCurrent = {name: "rand_time", ty: "fn", relpath: ""};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#161-163" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">rand_time</a></span></h1><pre class="rust fn">fn rand_time(rng: &mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>, low: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, high: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>) -> <a class="struct" href="../../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#128-130" title="goto source code">[src]</a></span><span class="in-band">Function <a href="../index.html">importer</a>::<wbr><a href="index.html">actdev</a>::<wbr><a class="fn" href="">rand_time</a></span></h1><pre class="rust fn">fn rand_time(rng: &mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>, low: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, high: <a class="struct" href="../../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>) -> <a class="struct" href="../../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1,7 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `actdev` mod in crate `importer`."><meta name="keywords" content="rust, rustlang, rust-lang, actdev"><title>importer::actdev - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../importer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module actdev</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><p class="location"><a href="../index.html">importer</a></p><script>window.sidebarCurrent = {name: "actdev", ty: "mod", relpath: "../"};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#1-163" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../index.html">importer</a>::<wbr><a class="mod" href="">actdev</a></span></h1><div class="docblock"><p>This module is used for all cities associated with the https://github.com/cyipt/actdev project.</p>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/importer/actdev.rs.html#1-130" title="goto source code">[src]</a></span><span class="in-band">Module <a href="../index.html">importer</a>::<wbr><a class="mod" href="">actdev</a></span></h1><div class="docblock"><p>This module is used for all cities associated with the https://github.com/cyipt/actdev project.</p>
|
||||
</div><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||
<table><tr class="module-item"><td><a class="struct" href="struct.DesireLine.html" title="importer::actdev::DesireLine struct">DesireLine</a></td><td class="docblock-short"></td></tr></table><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<table><tr class="module-item"><td><a class="fn" href="fn.desire_lines_to_scenarios.html" title="importer::actdev::desire_lines_to_scenarios fn">desire_lines_to_scenarios</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.import_scenarios.html" title="importer::actdev::import_scenarios fn">import_scenarios</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.parse_usize.html" title="importer::actdev::parse_usize fn">parse_usize</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rand_duration.html" title="importer::actdev::rand_duration fn">rand_duration</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rand_time.html" title="importer::actdev::rand_time fn">rand_time</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
||||
<table><tr class="module-item"><td><a class="struct" href="struct.ODSummary.html" title="importer::actdev::ODSummary struct">ODSummary</a></td><td class="docblock-short"><p>Describes some number of people that have the same home, workplace, and preferred mode. When
|
||||
they're created, the only thing that'll differ between them is exact departure time.</p>
|
||||
</td></tr></table><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<table><tr class="module-item"><td><a class="fn" href="fn.generate_scenario.html" title="importer::actdev::generate_scenario fn">generate_scenario</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.import_scenarios.html" title="importer::actdev::import_scenarios fn">import_scenarios</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.parse_usize.html" title="importer::actdev::parse_usize fn">parse_usize</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rand_duration.html" title="importer::actdev::rand_duration fn">rand_duration</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rand_time.html" title="importer::actdev::rand_time fn">rand_time</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "importer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
|
@ -1 +1 @@
|
||||
initSidebarItems({"fn":[["desire_lines_to_scenarios",""],["import_scenarios",""],["parse_usize",""],["rand_duration",""],["rand_time",""]],"struct":[["DesireLine",""]]});
|
||||
initSidebarItems({"fn":[["generate_scenario",""],["import_scenarios",""],["parse_usize",""],["rand_duration",""],["rand_time",""]],"struct":[["ODSummary","Describes some number of people that have the same home, workplace, and preferred mode. When they're created, the only thing that'll differ between them is exact departure time."]]});
|
File diff suppressed because one or more lines are too long
@ -3,4 +3,4 @@
|
||||
<link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../importer/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Crate importer</p><div class="block version"><p>Version 0.1.0</p></div><a id="all-types" href="index.html"><p>Back to index</p></a></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
|
||||
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span>
|
||||
</span>
|
||||
<span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="struct.Job.html">Job</a></li><li><a href="actdev/struct.DesireLine.html">actdev::DesireLine</a></li><li><a href="berlin/struct.Record.html">berlin::Record</a></li><li><a href="configuration/struct.ImporterConfiguration.html">configuration::ImporterConfiguration</a></li><li><a href="generic/struct.GenericCityImporter.html">generic::GenericCityImporter</a></li><li><a href="seattle/struct.StopTimeRecord.html">seattle::StopTimeRecord</a></li><li><a href="seattle/struct.TripRecord.html">seattle::TripRecord</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="actdev/fn.desire_lines_to_scenarios.html">actdev::desire_lines_to_scenarios</a></li><li><a href="actdev/fn.import_scenarios.html">actdev::import_scenarios</a></li><li><a href="actdev/fn.parse_usize.html">actdev::parse_usize</a></li><li><a href="actdev/fn.rand_duration.html">actdev::rand_duration</a></li><li><a href="actdev/fn.rand_time.html">actdev::rand_time</a></li><li><a href="berlin/fn.correlate_population.html">berlin::correlate_population</a></li><li><a href="berlin/fn.distribute_residents.html">berlin::distribute_residents</a></li><li><a href="berlin/fn.import_extra_data.html">berlin::import_extra_data</a></li><li><a href="configuration/fn.load_configuration.html">configuration::load_configuration</a></li><li><a href="dependencies/fn.are_dependencies_callable.html">dependencies::are_dependencies_callable</a></li><li><a href="dependencies/fn.is_program_callable.html">dependencies::is_program_callable</a></li><li><a href="leeds/fn.import_extra_data.html">leeds::import_extra_data</a></li><li><a href="london/fn.import_extra_data.html">london::import_extra_data</a></li><li><a href="fn.main.html">main</a></li><li><a href="fn.oneshot.html">oneshot</a></li><li><a href="seattle/fn.add_gtfs_schedules.html">seattle::add_gtfs_schedules</a></li><li><a href="seattle/fn.adjust_private_parking.html">seattle::adjust_private_parking</a></li><li><a href="seattle/fn.input.html">seattle::input</a></li><li><a href="seattle/fn.match_parcels_to_buildings.html">seattle::match_parcels_to_buildings</a></li><li><a href="seattle/fn.osm_to_raw.html">seattle::osm_to_raw</a></li><li><a href="utils/fn.download.html">utils::download</a></li><li><a href="utils/fn.download_kml.html">utils::download_kml</a></li><li><a href="utils/fn.osmconvert.html">utils::osmconvert</a></li><li><a href="utils/fn.raw_to_map.html">utils::raw_to_map</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "importer";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
|
||||
<span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="struct.Job.html">Job</a></li><li><a href="actdev/struct.ODSummary.html">actdev::ODSummary</a></li><li><a href="berlin/struct.Record.html">berlin::Record</a></li><li><a href="configuration/struct.ImporterConfiguration.html">configuration::ImporterConfiguration</a></li><li><a href="generic/struct.GenericCityImporter.html">generic::GenericCityImporter</a></li><li><a href="seattle/struct.StopTimeRecord.html">seattle::StopTimeRecord</a></li><li><a href="seattle/struct.TripRecord.html">seattle::TripRecord</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="actdev/fn.generate_scenario.html">actdev::generate_scenario</a></li><li><a href="actdev/fn.import_scenarios.html">actdev::import_scenarios</a></li><li><a href="actdev/fn.parse_usize.html">actdev::parse_usize</a></li><li><a href="actdev/fn.rand_duration.html">actdev::rand_duration</a></li><li><a href="actdev/fn.rand_time.html">actdev::rand_time</a></li><li><a href="berlin/fn.correlate_population.html">berlin::correlate_population</a></li><li><a href="berlin/fn.distribute_residents.html">berlin::distribute_residents</a></li><li><a href="berlin/fn.import_extra_data.html">berlin::import_extra_data</a></li><li><a href="configuration/fn.load_configuration.html">configuration::load_configuration</a></li><li><a href="dependencies/fn.are_dependencies_callable.html">dependencies::are_dependencies_callable</a></li><li><a href="dependencies/fn.is_program_callable.html">dependencies::is_program_callable</a></li><li><a href="leeds/fn.import_extra_data.html">leeds::import_extra_data</a></li><li><a href="london/fn.import_extra_data.html">london::import_extra_data</a></li><li><a href="fn.main.html">main</a></li><li><a href="fn.oneshot.html">oneshot</a></li><li><a href="seattle/fn.add_gtfs_schedules.html">seattle::add_gtfs_schedules</a></li><li><a href="seattle/fn.adjust_private_parking.html">seattle::adjust_private_parking</a></li><li><a href="seattle/fn.input.html">seattle::input</a></li><li><a href="seattle/fn.match_parcels_to_buildings.html">seattle::match_parcels_to_buildings</a></li><li><a href="seattle/fn.osm_to_raw.html">seattle::osm_to_raw</a></li><li><a href="utils/fn.download.html">utils::download</a></li><li><a href="utils/fn.download_kml.html">utils::download_kml</a></li><li><a href="utils/fn.osmconvert.html">utils::osmconvert</a></li><li><a href="utils/fn.raw_to_map.html">utils::raw_to_map</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "importer";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
@ -122,7 +122,7 @@
|
||||
<span class="doccomment">/// The output of `rustdoc -V`</span>
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">RUSTDOC_VERSION</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"rustdoc 1.49.0 (e1884a8e3 2020-12-29)"</span>;
|
||||
<span class="doccomment">/// The built-time in RFC2822, UTC</span>
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"Fri, 15 Jan 2021 01:50:32 +0000"</span>;
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"Fri, 15 Jan 2021 02:03:47 +0000"</span>;
|
||||
<span class="doccomment">/// The target architecture, given by `cfg!(target_arch)`.</span>
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">CFG_TARGET_ARCH</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"x86_64"</span>;
|
||||
<span class="doccomment">/// The endianness, given by `cfg!(target_endian)`.</span>
|
||||
|
@ -131,39 +131,6 @@
|
||||
<span id="128">128</span>
|
||||
<span id="129">129</span>
|
||||
<span id="130">130</span>
|
||||
<span id="131">131</span>
|
||||
<span id="132">132</span>
|
||||
<span id="133">133</span>
|
||||
<span id="134">134</span>
|
||||
<span id="135">135</span>
|
||||
<span id="136">136</span>
|
||||
<span id="137">137</span>
|
||||
<span id="138">138</span>
|
||||
<span id="139">139</span>
|
||||
<span id="140">140</span>
|
||||
<span id="141">141</span>
|
||||
<span id="142">142</span>
|
||||
<span id="143">143</span>
|
||||
<span id="144">144</span>
|
||||
<span id="145">145</span>
|
||||
<span id="146">146</span>
|
||||
<span id="147">147</span>
|
||||
<span id="148">148</span>
|
||||
<span id="149">149</span>
|
||||
<span id="150">150</span>
|
||||
<span id="151">151</span>
|
||||
<span id="152">152</span>
|
||||
<span id="153">153</span>
|
||||
<span id="154">154</span>
|
||||
<span id="155">155</span>
|
||||
<span id="156">156</span>
|
||||
<span id="157">157</span>
|
||||
<span id="158">158</span>
|
||||
<span id="159">159</span>
|
||||
<span id="160">160</span>
|
||||
<span id="161">161</span>
|
||||
<span id="162">162</span>
|
||||
<span id="163">163</span>
|
||||
</pre><div class="example-wrap"><pre class="rust ">
|
||||
<span class="doccomment">//! This module is used for all cities associated with the https://github.com/cyipt/actdev project.</span>
|
||||
|
||||
@ -172,7 +139,6 @@
|
||||
<span class="kw">use</span> <span class="ident">rand</span>::{<span class="ident">Rng</span>, <span class="ident">SeedableRng</span>};
|
||||
<span class="kw">use</span> <span class="ident">rand_xorshift</span>::<span class="ident">XorShiftRng</span>;
|
||||
|
||||
<span class="kw">use</span> <span class="ident">abstutil</span>::<span class="ident">Timer</span>;
|
||||
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Duration</span>, <span class="ident">LonLat</span>, <span class="ident">Time</span>};
|
||||
<span class="kw">use</span> <span class="ident">map_model</span>::<span class="ident">Map</span>;
|
||||
<span class="kw">use</span> <span class="ident">sim</span>::{<span class="ident">ExternalPerson</span>, <span class="ident">ExternalTrip</span>, <span class="ident">ExternalTripEndpoint</span>, <span class="ident">Scenario</span>, <span class="ident">TripMode</span>};
|
||||
@ -180,11 +146,7 @@
|
||||
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">configuration</span>::<span class="ident">ImporterConfiguration</span>;
|
||||
<span class="kw">use</span> <span class="kw">crate</span>::<span class="ident">utils</span>::<span class="ident">download</span>;
|
||||
|
||||
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">import_scenarios</span>(
|
||||
<span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>,
|
||||
<span class="ident">config</span>: <span class="kw-2">&</span><span class="ident">ImporterConfiguration</span>,
|
||||
<span class="ident">timer</span>: <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">Timer</span>,
|
||||
) <span class="op">-</span><span class="op">></span> <span class="prelude-ty">Result</span><span class="op"><</span>()<span class="op">></span> {
|
||||
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">import_scenarios</span>(<span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>, <span class="ident">config</span>: <span class="kw-2">&</span><span class="ident">ImporterConfiguration</span>) <span class="op">-</span><span class="op">></span> <span class="prelude-ty">Result</span><span class="op"><</span>()<span class="op">></span> {
|
||||
<span class="comment">// TODO This hardcodes for one city right now; generalize.</span>
|
||||
<span class="ident">download</span>(
|
||||
<span class="ident">config</span>,
|
||||
@ -195,10 +157,10 @@
|
||||
<span class="kw">let</span> <span class="ident">bytes</span> <span class="op">=</span> <span class="ident">abstio</span>::<span class="ident">slurp_file</span>(<span class="ident">abstio</span>::<span class="ident">path</span>(<span class="string">"input/cambridge/desire_lines_disag.geojson"</span>))<span class="question-mark">?</span>;
|
||||
<span class="kw">let</span> <span class="ident">raw_string</span> <span class="op">=</span> <span class="ident">std</span>::<span class="ident">str</span>::<span class="ident">from_utf8</span>(<span class="kw-2">&</span><span class="ident">bytes</span>)<span class="question-mark">?</span>;
|
||||
<span class="kw">let</span> <span class="ident">geojson</span> <span class="op">=</span> <span class="ident">raw_string</span>.<span class="ident">parse</span>::<span class="op"><</span><span class="ident">GeoJson</span><span class="op">></span>()<span class="question-mark">?</span>;
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">results</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">baseline</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">go_dutch</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">if</span> <span class="kw">let</span> <span class="ident">GeoJson</span>::<span class="ident">FeatureCollection</span>(<span class="ident">collection</span>) <span class="op">=</span> <span class="ident">geojson</span> {
|
||||
<span class="kw">for</span> <span class="ident">feature</span> <span class="kw">in</span> <span class="ident">collection</span>.<span class="ident">features</span> {
|
||||
<span class="comment">// TODO Convert to geo types and then further convert to a PolyLine?</span>
|
||||
<span class="kw">let</span> (<span class="ident">home</span>, <span class="ident">work</span>) <span class="op">=</span> <span class="kw">match</span> <span class="ident">feature</span>.<span class="ident">geometry</span>.<span class="ident">as_ref</span>().<span class="ident">map</span>(<span class="op">|</span><span class="ident">g</span><span class="op">|</span> <span class="kw-2">&</span><span class="ident">g</span>.<span class="ident">value</span>) {
|
||||
<span class="prelude-val">Some</span>(<span class="ident">Value</span>::<span class="ident">LineString</span>(<span class="ident">pts</span>)) <span class="op">=</span><span class="op">></span> {
|
||||
<span class="kw">if</span> <span class="ident">pts</span>.<span class="ident">len</span>() <span class="op">!</span><span class="op">=</span> <span class="number">2</span> {
|
||||
@ -214,30 +176,33 @@
|
||||
<span class="macro">bail</span><span class="macro">!</span>(<span class="string">"Geometry isn't a line-string: {:?}"</span>, <span class="ident">feature</span>);
|
||||
}
|
||||
};
|
||||
|
||||
<span class="comment">// TODO Can we get ahold of the raw JSON and run it through serde? That'd be way</span>
|
||||
<span class="comment">// easier.</span>
|
||||
<span class="ident">results</span>.<span class="ident">push</span>(<span class="ident">DesireLine</span> {
|
||||
<span class="ident">home</span>,
|
||||
<span class="ident">work</span>,
|
||||
|
||||
<span class="ident">foot</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"foot"</span>)<span class="question-mark">?</span>,
|
||||
<span class="ident">bicycle</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"bicycle"</span>)<span class="question-mark">?</span>,
|
||||
<span class="ident">car_driver</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"car_driver"</span>)<span class="question-mark">?</span>,
|
||||
|
||||
<span class="ident">walk_commute_godutch</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"walk_commute_godutch"</span>)<span class="question-mark">?</span>,
|
||||
<span class="ident">bicycle_commute_godutch</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"bicycle_commute_godutch"</span>)<span class="question-mark">?</span>,
|
||||
<span class="ident">car_commute_godutch</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="string">"car_commute_godutch"</span>)<span class="question-mark">?</span>,
|
||||
});
|
||||
<span class="kw">for</span> (<span class="ident">mode</span>, <span class="ident">baseline_key</span>, <span class="ident">go_dutch_key</span>) <span class="kw">in</span> <span class="macro">vec</span><span class="macro">!</span>[
|
||||
(<span class="ident">TripMode</span>::<span class="ident">Walk</span>, <span class="string">"foot"</span>, <span class="string">"walk_commute_godutch"</span>),
|
||||
(<span class="ident">TripMode</span>::<span class="ident">Bike</span>, <span class="string">"bicycle"</span>, <span class="string">"bicycle_commute_godutch"</span>),
|
||||
(<span class="ident">TripMode</span>::<span class="ident">Drive</span>, <span class="string">"car_driver"</span>, <span class="string">"car_commute_godutch"</span>),
|
||||
] {
|
||||
<span class="ident">baseline</span>.<span class="ident">push</span>(<span class="ident">ODSummary</span> {
|
||||
<span class="ident">home</span>,
|
||||
<span class="ident">work</span>,
|
||||
<span class="ident">mode</span>,
|
||||
<span class="ident">count</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="ident">baseline_key</span>)<span class="question-mark">?</span>,
|
||||
});
|
||||
<span class="ident">go_dutch</span>.<span class="ident">push</span>(<span class="ident">ODSummary</span> {
|
||||
<span class="ident">home</span>,
|
||||
<span class="ident">work</span>,
|
||||
<span class="ident">mode</span>,
|
||||
<span class="ident">count</span>: <span class="ident">parse_usize</span>(<span class="kw-2">&</span><span class="ident">feature</span>, <span class="ident">go_dutch_key</span>)<span class="question-mark">?</span>,
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<span class="ident">desire_lines_to_scenarios</span>(<span class="ident">map</span>, <span class="ident">results</span>);
|
||||
<span class="ident">generate_scenario</span>(<span class="string">"baseline"</span>, <span class="ident">baseline</span>, <span class="ident">map</span>);
|
||||
<span class="ident">generate_scenario</span>(<span class="string">"go_dutch"</span>, <span class="ident">go_dutch</span>, <span class="ident">map</span>);
|
||||
|
||||
<span class="prelude-val">Ok</span>(())
|
||||
}
|
||||
|
||||
<span class="comment">// TODO Can we be more succinct here?</span>
|
||||
<span class="kw">fn</span> <span class="ident">parse_usize</span>(<span class="ident">feature</span>: <span class="kw-2">&</span><span class="ident">Feature</span>, <span class="ident">key</span>: <span class="kw-2">&</span><span class="ident">str</span>) <span class="op">-</span><span class="op">></span> <span class="prelude-ty">Result</span><span class="op"><</span><span class="ident">usize</span><span class="op">></span> {
|
||||
<span class="kw">match</span> <span class="ident">feature</span>.<span class="ident">property</span>(<span class="ident">key</span>).<span class="ident">and_then</span>(<span class="op">|</span><span class="ident">value</span><span class="op">|</span> <span class="ident">value</span>.<span class="ident">as_f64</span>()) {
|
||||
<span class="prelude-val">Some</span>(<span class="ident">count</span>) <span class="op">=</span><span class="op">></span> <span class="prelude-val">Ok</span>(<span class="ident">count</span> <span class="kw">as</span> <span class="ident">usize</span>),
|
||||
@ -245,78 +210,47 @@
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">struct</span> <span class="ident">DesireLine</span> {
|
||||
<span class="doccomment">/// Describes some number of people that have the same home, workplace, and preferred mode. When</span>
|
||||
<span class="doccomment">/// they're created, the only thing that'll differ between them is exact departure time.</span>
|
||||
<span class="kw">struct</span> <span class="ident">ODSummary</span> {
|
||||
<span class="ident">home</span>: <span class="ident">LonLat</span>,
|
||||
<span class="ident">work</span>: <span class="ident">LonLat</span>,
|
||||
|
||||
<span class="ident">foot</span>: <span class="ident">usize</span>,
|
||||
<span class="ident">bicycle</span>: <span class="ident">usize</span>,
|
||||
<span class="ident">car_driver</span>: <span class="ident">usize</span>,
|
||||
|
||||
<span class="ident">walk_commute_godutch</span>: <span class="ident">usize</span>,
|
||||
<span class="ident">bicycle_commute_godutch</span>: <span class="ident">usize</span>,
|
||||
<span class="ident">car_commute_godutch</span>: <span class="ident">usize</span>,
|
||||
<span class="ident">mode</span>: <span class="ident">TripMode</span>,
|
||||
<span class="ident">count</span>: <span class="ident">usize</span>,
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">desire_lines_to_scenarios</span>(<span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>, <span class="ident">input</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">DesireLine</span><span class="op">></span>) {
|
||||
<span class="kw">fn</span> <span class="ident">generate_scenario</span>(<span class="ident">name</span>: <span class="kw-2">&</span><span class="ident">str</span>, <span class="ident">input</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">ODSummary</span><span class="op">></span>, <span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>) {
|
||||
<span class="comment">// Arbitrary but fixed seed</span>
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">rng</span> <span class="op">=</span> <span class="ident">XorShiftRng</span>::<span class="ident">seed_from_u64</span>(<span class="number">42</span>);
|
||||
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">baseline_people</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">go_dutch_people</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">for</span> <span class="ident">desire</span> <span class="kw">in</span> <span class="ident">input</span> {
|
||||
<span class="comment">// TODO The people in the two scenarios aren't related!</span>
|
||||
<span class="kw">for</span> (<span class="ident">mode</span>, <span class="ident">baseline_count</span>, <span class="ident">go_dutch_count</span>) <span class="kw">in</span> <span class="macro">vec</span><span class="macro">!</span>[
|
||||
(<span class="ident">TripMode</span>::<span class="ident">Walk</span>, <span class="ident">desire</span>.<span class="ident">foot</span>, <span class="ident">desire</span>.<span class="ident">walk_commute_godutch</span>),
|
||||
(
|
||||
<span class="ident">TripMode</span>::<span class="ident">Bike</span>,
|
||||
<span class="ident">desire</span>.<span class="ident">bicycle</span>,
|
||||
<span class="ident">desire</span>.<span class="ident">bicycle_commute_godutch</span>,
|
||||
),
|
||||
(
|
||||
<span class="ident">TripMode</span>::<span class="ident">Drive</span>,
|
||||
<span class="ident">desire</span>.<span class="ident">car_driver</span>,
|
||||
<span class="ident">desire</span>.<span class="ident">car_commute_godutch</span>,
|
||||
),
|
||||
] {
|
||||
<span class="kw">for</span> (<span class="ident">count</span>, <span class="ident">output</span>) <span class="kw">in</span> <span class="macro">vec</span><span class="macro">!</span>[
|
||||
(<span class="ident">baseline_count</span>, <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">baseline_people</span>),
|
||||
(<span class="ident">go_dutch_count</span>, <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">go_dutch_people</span>),
|
||||
] {
|
||||
<span class="kw">for</span> <span class="kw">_</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">count</span> {
|
||||
<span class="kw">let</span> <span class="ident">leave_time</span> <span class="op">=</span> <span class="ident">rand_time</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">rng</span>, <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">7</span>), <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">9</span>));
|
||||
<span class="kw">let</span> <span class="ident">return_time</span> <span class="op">=</span> <span class="ident">rand_time</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">rng</span>, <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">17</span>), <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">19</span>));
|
||||
|
||||
<span class="ident">output</span>.<span class="ident">push</span>(<span class="ident">ExternalPerson</span> {
|
||||
<span class="ident">origin</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">desire</span>.<span class="ident">home</span>),
|
||||
<span class="ident">trips</span>: <span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">ExternalTrip</span> {
|
||||
<span class="ident">departure</span>: <span class="ident">leave_time</span>,
|
||||
<span class="ident">destination</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">desire</span>.<span class="ident">work</span>),
|
||||
<span class="ident">mode</span>,
|
||||
},
|
||||
<span class="ident">ExternalTrip</span> {
|
||||
<span class="ident">departure</span>: <span class="ident">return_time</span>,
|
||||
<span class="ident">destination</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">desire</span>.<span class="ident">home</span>),
|
||||
<span class="ident">mode</span>,
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
}
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">people</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">new</span>();
|
||||
<span class="kw">for</span> <span class="ident">od</span> <span class="kw">in</span> <span class="ident">input</span> {
|
||||
<span class="kw">for</span> <span class="kw">_</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">od</span>.<span class="ident">count</span> {
|
||||
<span class="kw">let</span> <span class="ident">leave_time</span> <span class="op">=</span> <span class="ident">rand_time</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">rng</span>, <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">7</span>), <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">9</span>));
|
||||
<span class="kw">let</span> <span class="ident">return_time</span> <span class="op">=</span> <span class="ident">rand_time</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">rng</span>, <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">17</span>), <span class="ident">Duration</span>::<span class="ident">hours</span>(<span class="number">19</span>));
|
||||
<span class="ident">people</span>.<span class="ident">push</span>(<span class="ident">ExternalPerson</span> {
|
||||
<span class="ident">origin</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">od</span>.<span class="ident">home</span>),
|
||||
<span class="ident">trips</span>: <span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">ExternalTrip</span> {
|
||||
<span class="ident">departure</span>: <span class="ident">leave_time</span>,
|
||||
<span class="ident">destination</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">od</span>.<span class="ident">work</span>),
|
||||
<span class="ident">mode</span>: <span class="ident">od</span>.<span class="ident">mode</span>,
|
||||
},
|
||||
<span class="ident">ExternalTrip</span> {
|
||||
<span class="ident">departure</span>: <span class="ident">return_time</span>,
|
||||
<span class="ident">destination</span>: <span class="ident">ExternalTripEndpoint</span>::<span class="ident">Position</span>(<span class="ident">od</span>.<span class="ident">home</span>),
|
||||
<span class="ident">mode</span>: <span class="ident">od</span>.<span class="ident">mode</span>,
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">baseline</span> <span class="op">=</span> <span class="ident">Scenario</span>::<span class="ident">empty</span>(<span class="kw-2">&</span><span class="ident">map</span>, <span class="string">"baseline"</span>);
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">scenario</span> <span class="op">=</span> <span class="ident">Scenario</span>::<span class="ident">empty</span>(<span class="ident">map</span>, <span class="ident">name</span>);
|
||||
<span class="comment">// Include all buses/trains</span>
|
||||
<span class="ident">baseline</span>.<span class="ident">only_seed_buses</span> <span class="op">=</span> <span class="prelude-val">None</span>;
|
||||
<span class="ident">baseline</span>.<span class="ident">people</span> <span class="op">=</span> <span class="ident">ExternalPerson</span>::<span class="ident">import</span>(<span class="ident">map</span>, <span class="ident">baseline_people</span>).<span class="ident">unwrap</span>();
|
||||
<span class="ident">baseline</span>.<span class="ident">save</span>();
|
||||
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">go_dutch</span> <span class="op">=</span> <span class="ident">Scenario</span>::<span class="ident">empty</span>(<span class="kw-2">&</span><span class="ident">map</span>, <span class="string">"go_dutch"</span>);
|
||||
<span class="ident">go_dutch</span>.<span class="ident">only_seed_buses</span> <span class="op">=</span> <span class="prelude-val">None</span>;
|
||||
<span class="ident">go_dutch</span>.<span class="ident">people</span> <span class="op">=</span> <span class="ident">ExternalPerson</span>::<span class="ident">import</span>(<span class="ident">map</span>, <span class="ident">go_dutch_people</span>).<span class="ident">unwrap</span>();
|
||||
<span class="ident">go_dutch</span>.<span class="ident">save</span>();
|
||||
<span class="ident">scenario</span>.<span class="ident">only_seed_buses</span> <span class="op">=</span> <span class="prelude-val">None</span>;
|
||||
<span class="ident">scenario</span>.<span class="ident">people</span> <span class="op">=</span> <span class="ident">ExternalPerson</span>::<span class="ident">import</span>(<span class="ident">map</span>, <span class="ident">people</span>).<span class="ident">unwrap</span>();
|
||||
<span class="ident">scenario</span>.<span class="ident">save</span>();
|
||||
}
|
||||
|
||||
<span class="comment">// TODO Dedupe the many copies of these</span>
|
||||
|
@ -525,7 +525,7 @@
|
||||
}
|
||||
|
||||
<span class="kw">if</span> <span class="ident">job</span>.<span class="ident">city</span> <span class="op">=</span><span class="op">=</span> <span class="string">"cambridge"</span> {
|
||||
<span class="ident">actdev</span>::<span class="ident">import_scenarios</span>(<span class="ident">maybe_map</span>.<span class="ident">as_ref</span>().<span class="ident">unwrap</span>(), <span class="kw-2">&</span><span class="ident">config</span>, <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">timer</span>).<span class="ident">unwrap</span>();
|
||||
<span class="ident">actdev</span>::<span class="ident">import_scenarios</span>(<span class="ident">maybe_map</span>.<span class="ident">as_ref</span>().<span class="ident">unwrap</span>(), <span class="kw-2">&</span><span class="ident">config</span>).<span class="ident">unwrap</span>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user