mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-23 22:42:32 +03:00
deploy: 5c65ee174a
This commit is contained in:
parent
373b355e10
commit
f7d2ce4cb5
@ -3,5 +3,5 @@
|
||||
</a><h2 class="location"></h2>
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../cli/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location">Crate cli</h2></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../cli/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="import_grid2demand/struct.Record.html">import_grid2demand::Record</a></li><li><a href="import_scenario/struct.Input.html">import_scenario::Input</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="enum.Command.html">Command</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="augment_scenario/fn.add_lunch_trips.html">augment_scenario::add_lunch_trips</a></li><li><a href="augment_scenario/fn.add_return_trips.html">augment_scenario::add_return_trips</a></li><li><a href="augment_scenario/fn.delete_cancelled_trips.html">augment_scenario::delete_cancelled_trips</a></li><li><a href="augment_scenario/fn.pick_lunch_spot.html">augment_scenario::pick_lunch_spot</a></li><li><a href="augment_scenario/fn.rand_duration.html">augment_scenario::rand_duration</a></li><li><a href="augment_scenario/fn.run.html">augment_scenario::run</a></li><li><a href="clip_osm/fn.clip.html">clip_osm::clip</a></li><li><a href="clip_osm/fn.run.html">clip_osm::run</a></li><li><a href="clip_osm/fn.to_pt.html">clip_osm::to_pt</a></li><li><a href="fn.dump_json.html">dump_json</a></li><li><a href="generate_houses/fn.generate_buildings_on_empty_residential_roads.html">generate_houses::generate_buildings_on_empty_residential_roads</a></li><li><a href="generate_houses/fn.rand_dist.html">generate_houses::rand_dist</a></li><li><a href="generate_houses/fn.run.html">generate_houses::run</a></li><li><a href="geojson_to_osmosis/fn.run.html">geojson_to_osmosis::run</a></li><li><a href="import_grid2demand/fn.parse_linestring.html">import_grid2demand::parse_linestring</a></li><li><a href="import_grid2demand/fn.parse_time.html">import_grid2demand::parse_time</a></li><li><a href="import_grid2demand/fn.parse_trips.html">import_grid2demand::parse_trips</a></li><li><a href="import_grid2demand/fn.run.html">import_grid2demand::run</a></li><li><a href="fn.import_json_map.html">import_json_map</a></li><li><a href="import_scenario/fn.run.html">import_scenario::run</a></li><li><a href="fn.main.html">main</a></li><li><a href="fn.minify_map.html">minify_map</a></li><li><a href="one_step_import/fn.run.html">one_step_import::run</a></li><li><a href="fn.parse_modifiers.html">parse_modifiers</a></li><li><a href="fn.prebake_scenario.html">prebake_scenario</a></li><li><a href="fn.random_scenario.html">random_scenario</a></li><li><a href="fn.regenerate_everything_externally.html">regenerate_everything_externally</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="type.ModifierList.html">ModifierList</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</a><h2 class="location">Crate cli</h2></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../cli/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span></h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="import_grid2demand/struct.Record.html">import_grid2demand::Record</a></li><li><a href="import_scenario/struct.Input.html">import_scenario::Input</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="enum.Command.html">Command</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="augment_scenario/fn.add_lunch_trips.html">augment_scenario::add_lunch_trips</a></li><li><a href="augment_scenario/fn.add_return_trips.html">augment_scenario::add_return_trips</a></li><li><a href="augment_scenario/fn.delete_cancelled_trips.html">augment_scenario::delete_cancelled_trips</a></li><li><a href="augment_scenario/fn.pick_lunch_spot.html">augment_scenario::pick_lunch_spot</a></li><li><a href="augment_scenario/fn.rand_duration.html">augment_scenario::rand_duration</a></li><li><a href="augment_scenario/fn.run.html">augment_scenario::run</a></li><li><a href="clip_osm/fn.clip.html">clip_osm::clip</a></li><li><a href="clip_osm/fn.run.html">clip_osm::run</a></li><li><a href="clip_osm/fn.to_pt.html">clip_osm::to_pt</a></li><li><a href="fn.driving_side.html">driving_side</a></li><li><a href="fn.dump_json.html">dump_json</a></li><li><a href="generate_houses/fn.generate_buildings_on_empty_residential_roads.html">generate_houses::generate_buildings_on_empty_residential_roads</a></li><li><a href="generate_houses/fn.rand_dist.html">generate_houses::rand_dist</a></li><li><a href="generate_houses/fn.run.html">generate_houses::run</a></li><li><a href="geojson_to_osmosis/fn.run.html">geojson_to_osmosis::run</a></li><li><a href="import_grid2demand/fn.parse_linestring.html">import_grid2demand::parse_linestring</a></li><li><a href="import_grid2demand/fn.parse_time.html">import_grid2demand::parse_time</a></li><li><a href="import_grid2demand/fn.parse_trips.html">import_grid2demand::parse_trips</a></li><li><a href="import_grid2demand/fn.run.html">import_grid2demand::run</a></li><li><a href="fn.import_json_map.html">import_json_map</a></li><li><a href="import_scenario/fn.run.html">import_scenario::run</a></li><li><a href="fn.main.html">main</a></li><li><a href="fn.minify_map.html">minify_map</a></li><li><a href="one_step_import/fn.run.html">one_step_import::run</a></li><li><a href="fn.parse_modifiers.html">parse_modifiers</a></li><li><a href="fn.prebake_scenario.html">prebake_scenario</a></li><li><a href="fn.random_scenario.html">random_scenario</a></li><li><a href="fn.regenerate_everything_externally.html">regenerate_everything_externally</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="type.ModifierList.html">ModifierList</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
8
rustdoc/cli/fn.driving_side.html
Normal file
8
rustdoc/cli/fn.driving_side.html
Normal file
@ -0,0 +1,8 @@
|
||||
<!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 `driving_side` fn in crate `cli`."><meta name="keywords" content="rust, rustlang, rust-lang, driving_side"><title>driving_side in cli - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><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="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><script defer src="../main.js"></script>
|
||||
<noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../cli/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"></h2>
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../cli/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In cli</a></h2><div id="sidebar-vars" data-name="driving_side" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../cli/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Function <a href="index.html">cli</a>::<wbr><a class="fn" href="#">driving_side</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/cli/main.rs.html#421-427">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub(crate) fn driving_side(drive_on_left: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>) -> <a class="enum" href="../raw_map/types/enum.DrivingSide.html" title="enum raw_map::types::DrivingSide">DrivingSide</a></code></pre></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
@ -4,11 +4,11 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../cli/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"><a href="#">Crate cli</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></div></ul><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section><div id="sidebar-vars" data-name="cli" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../cli/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">cli</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/cli/main.rs.html#1-419">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A collection of tools, mostly related to importing maps and scenarios. These are bundled as a
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">cli</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/cli/main.rs.html#1-427">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A collection of tools, mostly related to importing maps and scenarios. These are bundled as a
|
||||
single executable to reduce the cost of static linking in the release’s file size.</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="augment_scenario/index.html" title="cli::augment_scenario mod">augment_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="clip_osm/index.html" title="cli::clip_osm mod">clip_osm</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="generate_houses/index.html" title="cli::generate_houses mod">generate_houses</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="geojson_to_osmosis/index.html" title="cli::geojson_to_osmosis mod">geojson_to_osmosis</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="import_grid2demand/index.html" title="cli::import_grid2demand mod">import_grid2demand</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="import_scenario/index.html" title="cli::import_scenario mod">import_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="one_step_import/index.html" title="cli::one_step_import mod">one_step_import</a></div><div class="item-right docblock-short"></div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Command.html" title="cli::Command enum">Command</a></div><div class="item-right docblock-short"></div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.dump_json.html" title="cli::dump_json fn">dump_json</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.import_json_map.html" title="cli::import_json_map fn">import_json_map</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.main.html" title="cli::main fn">main</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.minify_map.html" title="cli::minify_map fn">minify_map</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.parse_modifiers.html" title="cli::parse_modifiers fn">parse_modifiers</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prebake_scenario.html" title="cli::prebake_scenario fn">prebake_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.random_scenario.html" title="cli::random_scenario fn">random_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.regenerate_everything_externally.html" title="cli::regenerate_everything_externally fn">regenerate_everything_externally</a></div><div class="item-right docblock-short"></div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.driving_side.html" title="cli::driving_side fn">driving_side</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.dump_json.html" title="cli::dump_json fn">dump_json</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.import_json_map.html" title="cli::import_json_map fn">import_json_map</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.main.html" title="cli::main fn">main</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.minify_map.html" title="cli::minify_map fn">minify_map</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.parse_modifiers.html" title="cli::parse_modifiers fn">parse_modifiers</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.prebake_scenario.html" title="cli::prebake_scenario fn">prebake_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.random_scenario.html" title="cli::random_scenario fn">random_scenario</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.regenerate_everything_externally.html" title="cli::regenerate_everything_externally fn">regenerate_everything_externally</a></div><div class="item-right docblock-short"></div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ModifierList.html" title="cli::ModifierList type">ModifierList</a></div><div class="item-right docblock-short"></div></div></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
@ -4,5 +4,5 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../../cli/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
|
||||
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In cli::one_step_import</a></h2><div id="sidebar-vars" data-name="run" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../cli/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">cli</a>::<wbr><a href="index.html">one_step_import</a>::<wbr><a class="fn" href="#">run</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/cli/one_step_import.rs.html#8-97">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub async fn run(<br> geojson_path: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> name: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> drive_on_left: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> use_geofabrik: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a><br>) -> <a class="type" href="https://docs.rs/anyhow/1.0.41/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.unit.html">()</a>></code></pre></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">cli</a>::<wbr><a href="index.html">one_step_import</a>::<wbr><a class="fn" href="#">run</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/cli/one_step_import.rs.html#8-97">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub async fn run(<br> geojson_path: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> name: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> driving_side: <a class="enum" href="../../raw_map/types/enum.DrivingSide.html" title="enum raw_map::types::DrivingSide">DrivingSide</a>, <br> use_geofabrik: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a><br>) -> <a class="type" href="https://docs.rs/anyhow/1.0.41/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.unit.html">()</a>></code></pre></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
@ -1 +1 @@
|
||||
initSidebarItems({"enum":[["Command",""]],"fn":[["dump_json",""],["import_json_map",""],["main",""],["minify_map",""],["parse_modifiers",""],["prebake_scenario",""],["random_scenario",""],["regenerate_everything_externally",""]],"mod":[["augment_scenario",""],["clip_osm",""],["generate_houses",""],["geojson_to_osmosis",""],["import_grid2demand",""],["import_scenario",""],["one_step_import",""]],"type":[["ModifierList",""]]});
|
||||
initSidebarItems({"enum":[["Command",""]],"fn":[["driving_side",""],["dump_json",""],["import_json_map",""],["main",""],["minify_map",""],["parse_modifiers",""],["prebake_scenario",""],["random_scenario",""],["regenerate_everything_externally",""]],"mod":[["augment_scenario",""],["clip_osm",""],["generate_houses",""],["geojson_to_osmosis",""],["import_grid2demand",""],["import_scenario",""],["one_step_import",""]],"type":[["ModifierList",""]]});
|
@ -4,6 +4,6 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../importer/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In importer</a></h2><div id="sidebar-vars" data-name="oneshot" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../importer/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Function <a href="index.html">importer</a>::<wbr><a class="fn" href="#">oneshot</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#50-106">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub async fn oneshot(<br> osm_path: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> clip: <a class="enum" href="https://doc.rust-lang.org/1.60.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>, <br> drive_on_right: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a><br>)</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transforms a .osm file to a map in one step.</p>
|
||||
<h1 class="fqn"><span class="in-band">Function <a href="index.html">importer</a>::<wbr><a class="fn" href="#">oneshot</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#50-102">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub async fn oneshot(<br> osm_path: <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> clip: <a class="enum" href="https://doc.rust-lang.org/1.60.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>, <br> driving_side: <a class="enum" href="../raw_map/types/enum.DrivingSide.html" title="enum raw_map::types::DrivingSide">DrivingSide</a>, <br> filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>, <br> opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a><br>)</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transforms a .osm file to a map in one step.</p>
|
||||
</div></details></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="importer" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
@ -4,7 +4,7 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../importer/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"><a href="#">Crate importer</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></div></ul><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div></section><div id="sidebar-vars" data-name="importer" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../importer/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">importer</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#1-373">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>It’s assumed that the importer is run with the current directory as the project repository; aka
|
||||
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">importer</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#1-369">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>It’s assumed that the importer is run with the current directory as the project repository; aka
|
||||
<code>./data/</code> and <code>./importer/config</code> must exist.</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
|
||||
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="basemap/index.html" title="importer::basemap mod">basemap</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="berlin/index.html" title="importer::berlin mod">berlin</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="configuration/index.html" title="importer::configuration mod">configuration</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="map_config/index.html" title="importer::map_config mod">map_config</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="pick_geofabrik/index.html" title="importer::pick_geofabrik mod">pick_geofabrik</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="seattle/index.html" title="importer::seattle mod">seattle</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="soundcast/index.html" title="importer::soundcast mod">soundcast</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="uk/index.html" title="importer::uk mod">uk</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="utils/index.html" title="importer::utils mod">utils</a></div><div class="item-right docblock-short"></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
|
||||
|
@ -4,7 +4,7 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../importer/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
|
||||
</a><h2 class="location"><a href="#">Job</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.city">city</a></li><li><a href="#structfield.city_overview">city_overview</a></li><li><a href="#structfield.only_map">only_map</a></li><li><a href="#structfield.opts">opts</a></li><li><a href="#structfield.osm_to_raw">osm_to_raw</a></li><li><a href="#structfield.raw_to_map">raw_to_map</a></li><li><a href="#structfield.scenario">scenario</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.flags">flags</a></li><li><a href="#method.full_for_city">full_for_city</a></li><li><a href="#method.run">run</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-StructOpt">StructOpt</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From<T></a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into<U></a></li><li><a href="#impl-Same%3CT%3E">Same<T></a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E">VZip<V></a></li></ul></div></section><h2 class="location"><a href="index.html">In importer</a></h2><div id="sidebar-vars" data-name="Job" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../importer/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Struct <a href="index.html">importer</a>::<wbr><a class="struct" href="#">Job</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#110-133">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Job {
|
||||
<h1 class="fqn"><span class="in-band">Struct <a href="index.html">importer</a>::<wbr><a class="struct" href="#">Job</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/importer/lib.rs.html#106-129">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Job {
|
||||
pub city: <a class="struct" href="../abstio/abst_paths/struct.CityName.html" title="struct abstio::abst_paths::CityName">CityName</a>,
|
||||
pub osm_to_raw: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>,
|
||||
pub raw_to_map: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a>,
|
||||
@ -19,10 +19,10 @@
|
||||
</div><span id="structfield.city_overview" class="structfield small-section-header"><a href="#structfield.city_overview" class="anchor field"></a><code>city_overview: <a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Produce a city overview from all of the individual maps in a city.</p>
|
||||
</div><span id="structfield.only_map" class="structfield small-section-header"><a href="#structfield.only_map" class="anchor field"></a><code>only_map: <a class="enum" href="https://doc.rust-lang.org/1.60.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><div class="docblock"><p>Only process one map. If not specified, process all maps defined by clipping polygons in
|
||||
importer/config/$city/.</p>
|
||||
</div><span id="structfield.opts" class="structfield small-section-header"><a href="#structfield.opts" class="anchor field"></a><code>opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#135-373">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h3></section></summary><div class="impl-items"><section id="method.full_for_city" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#136-164">source</a></span><a href="#method.full_for_city" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.full_for_city" class="fnname">full_for_city</a>(city: <a class="struct" href="../abstio/abst_paths/struct.CityName.html" title="struct abstio::abst_paths::CityName">CityName</a>) -> <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.flags" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#168-188">source</a></span><a href="#method.flags" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.flags" class="fnname">flags</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>><span class="notable-traits"><span class="notable-traits-tooltip">ⓘ<span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.u8.html">u8</a>, A></span><code class="content"><span class="where fmt-newline">impl<A> <a class="trait" href="https://doc.rust-lang.org/1.60.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.u8.html">u8</a>, A> <span class="where fmt-newline">where<br> A: <a class="trait" href="https://doc.rust-lang.org/1.60.0/core/alloc/trait.Allocator.html" title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><div class="docblock"><p>Return the command-line flags that should produce this job. Incomplete – doesn’t invert
|
||||
</div><span id="structfield.opts" class="structfield small-section-header"><a href="#structfield.opts" class="anchor field"></a><code>opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#131-369">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h3></section></summary><div class="impl-items"><section id="method.full_for_city" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#132-160">source</a></span><a href="#method.full_for_city" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.full_for_city" class="fnname">full_for_city</a>(city: <a class="struct" href="../abstio/abst_paths/struct.CityName.html" title="struct abstio::abst_paths::CityName">CityName</a>) -> <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.flags" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#164-184">source</a></span><a href="#method.flags" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.flags" class="fnname">flags</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>><span class="notable-traits"><span class="notable-traits-tooltip">ⓘ<span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.u8.html">u8</a>, A></span><code class="content"><span class="where fmt-newline">impl<A> <a class="trait" href="https://doc.rust-lang.org/1.60.0/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="struct" href="https://doc.rust-lang.org/1.60.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.u8.html">u8</a>, A> <span class="where fmt-newline">where<br> A: <a class="trait" href="https://doc.rust-lang.org/1.60.0/core/alloc/trait.Allocator.html" title="trait core::alloc::Allocator">Allocator</a>, </span></span></code></span></span></span></span></h4></section></summary><div class="docblock"><p>Return the command-line flags that should produce this job. Incomplete – doesn’t invert
|
||||
RawToMapOptions</p>
|
||||
</div></details><section id="method.run" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#190-372">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.run" class="fnname">run</a>(self, timer: &mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a><'_>)</h4></section></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-StructOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#109">source</a></span><a href="#impl-StructOpt" class="anchor"></a><h3 class="code-header in-band">impl StructOpt for <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clap" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#109">source</a></span><a href="#method.clap" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clap</a><'a, 'b>() -> <a class="struct" href="https://docs.rs/clap/2.33.3/clap/app/struct.App.html" title="struct clap::app::App">App</a><'a, 'b></h4></section></summary><div class='docblock'><p>Returns <a href="https://docs.rs/clap/2.33.3/clap/app/struct.App.html" title="clap::App"><code>clap::App</code></a> corresponding to the struct.</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_clap" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#109">source</a></span><a href="#method.from_clap" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from_clap</a>(matches: &<a class="struct" href="https://docs.rs/clap/2.33.3/clap/args/arg_matches/struct.ArgMatches.html" title="struct clap::args::arg_matches::ArgMatches">ArgMatches</a><'_>) -> Self</h4></section></summary><div class='docblock'><p>Builds the struct from <a href="https://docs.rs/clap/2.33.3/clap/args/arg_matches/struct.ArgMatches.html" title="clap::ArgMatches"><code>clap::ArgMatches</code></a>. It’s guaranteed to succeed
|
||||
</div></details><section id="method.run" class="method has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#186-368">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.run" class="fnname">run</a>(self, timer: &mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a><'_>)</h4></section></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-StructOpt" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#105">source</a></span><a href="#impl-StructOpt" class="anchor"></a><h3 class="code-header in-band">impl StructOpt for <a class="struct" href="struct.Job.html" title="struct importer::Job">Job</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clap" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#105">source</a></span><a href="#method.clap" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clap</a><'a, 'b>() -> <a class="struct" href="https://docs.rs/clap/2.33.3/clap/app/struct.App.html" title="struct clap::app::App">App</a><'a, 'b></h4></section></summary><div class='docblock'><p>Returns <a href="https://docs.rs/clap/2.33.3/clap/app/struct.App.html" title="clap::App"><code>clap::App</code></a> corresponding to the struct.</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_clap" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/importer/lib.rs.html#105">source</a></span><a href="#method.from_clap" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from_clap</a>(matches: &<a class="struct" href="https://docs.rs/clap/2.33.3/clap/args/arg_matches/struct.ArgMatches.html" title="struct clap::args::arg_matches::ArgMatches">ArgMatches</a><'_>) -> Self</h4></section></summary><div class='docblock'><p>Builds the struct from <a href="https://docs.rs/clap/2.33.3/clap/args/arg_matches/struct.ArgMatches.html" title="clap::ArgMatches"><code>clap::ArgMatches</code></a>. It’s guaranteed to succeed
|
||||
if <code>matches</code> originates from an <code>App</code> generated by [<code>StructOpt::clap</code>] called on
|
||||
the same type, otherwise it must panic. <a href="#tymethod.from_clap">Read more</a></p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_args" class="method trait-impl has-srclink"><a href="#method.from_args" class="anchor"></a><h4 class="code-header">fn <a href="#method.from_args" class="fnname">from_args</a>() -> Self</h4></section></summary><div class='docblock'><p>Builds the struct from the command line arguments (<a href="https://doc.rust-lang.org/1.60.0/std/env/fn.args_os.html" title="std::env::args_os"><code>std::env::args_os</code></a>).
|
||||
|
@ -4,6 +4,6 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../../../../map_gui/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
|
||||
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2><div id="sidebar-vars" data-name="BUILT_TIME_UTC" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-f69e066278ff4726/out/built.rs.html#78">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.str.html">str</a> = r"Wed, 18 May 2022 11:07:08 +0000";</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
||||
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-f69e066278ff4726/out/built.rs.html#78">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.60.0/std/primitive.str.html">str</a> = r"Wed, 18 May 2022 11:10:17 +0000";</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
||||
</div></details></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="map_gui" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
File diff suppressed because one or more lines are too long
@ -422,6 +422,14 @@
|
||||
<span id="417">417</span>
|
||||
<span id="418">418</span>
|
||||
<span id="419">419</span>
|
||||
<span id="420">420</span>
|
||||
<span id="421">421</span>
|
||||
<span id="422">422</span>
|
||||
<span id="423">423</span>
|
||||
<span id="424">424</span>
|
||||
<span id="425">425</span>
|
||||
<span id="426">426</span>
|
||||
<span id="427">427</span>
|
||||
</pre><pre class="rust"><code><span class="doccomment">//! A collection of tools, mostly related to importing maps and scenarios. These are bundled as a</span>
|
||||
<span class="doccomment">//! single executable to reduce the cost of static linking in the release's file size.</span>
|
||||
|
||||
@ -727,7 +735,7 @@
|
||||
<span class="ident">one_step_import::run</span>(
|
||||
<span class="ident">geojson_path</span>,
|
||||
<span class="ident">map_name</span>,
|
||||
<span class="ident">drive_on_left</span>,
|
||||
<span class="ident">driving_side</span>(<span class="ident">drive_on_left</span>),
|
||||
<span class="ident">use_geofabrik</span>,
|
||||
<span class="ident">filter_crosswalks</span>,
|
||||
<span class="ident">create_uk_travel_demand_model</span>,
|
||||
@ -745,7 +753,7 @@
|
||||
<span class="ident">importer::oneshot</span>(
|
||||
<span class="ident">osm_input</span>,
|
||||
<span class="ident">clip_path</span>,
|
||||
<span class="ident">drive_on_left</span>,
|
||||
<span class="ident">driving_side</span>(<span class="ident">drive_on_left</span>),
|
||||
<span class="ident">filter_crosswalks</span>,
|
||||
<span class="ident">create_uk_travel_demand_model</span>,
|
||||
<span class="ident">opts</span>,
|
||||
@ -841,6 +849,14 @@
|
||||
<span class="kw">let</span> <span class="ident">map</span> <span class="op">=</span> <span class="ident">map_model::Map::load_synchronously</span>(<span class="ident">scenario</span>.<span class="ident">map_name</span>.<span class="ident">path</span>(), <span class="kw-2">&mut</span> <span class="ident">timer</span>);
|
||||
<span class="ident">sim::prebake::prebake</span>(<span class="kw-2">&</span><span class="ident">map</span>, <span class="ident">scenario</span>, <span class="kw-2">&mut</span> <span class="ident">timer</span>);
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">driving_side</span>(<span class="ident">drive_on_left</span>: <span class="ident">bool</span>) -> <span class="ident">map_model::DrivingSide</span> {
|
||||
<span class="kw">if</span> <span class="ident">drive_on_left</span> {
|
||||
<span class="ident">map_model::DrivingSide::Left</span>
|
||||
} <span class="kw">else</span> {
|
||||
<span class="ident">map_model::DrivingSide::Right</span>
|
||||
}
|
||||
}
|
||||
</code></pre></div>
|
||||
</section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cli" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.60.0 (7737e0b5c 2022-04-04)" ></div>
|
||||
</body></html>
|
@ -110,7 +110,7 @@
|
||||
<span class="kw">pub</span> <span class="kw">async</span> <span class="kw">fn</span> <span class="ident">run</span>(
|
||||
<span class="ident">geojson_path</span>: <span class="ident">String</span>,
|
||||
<span class="ident">name</span>: <span class="ident">String</span>,
|
||||
<span class="ident">drive_on_left</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">driving_side</span>: <span class="ident">map_model::DrivingSide</span>,
|
||||
<span class="ident">use_geofabrik</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">filter_crosswalks</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">create_uk_travel_demand_model</span>: <span class="ident">bool</span>,
|
||||
@ -184,7 +184,7 @@
|
||||
<span class="ident">importer::oneshot</span>(
|
||||
<span class="ident">osm</span>,
|
||||
<span class="prelude-val">Some</span>(<span class="string">"boundary0.poly"</span>.<span class="ident">to_string</span>()),
|
||||
<span class="op">!</span><span class="ident">drive_on_left</span>,
|
||||
<span class="ident">driving_side</span>,
|
||||
<span class="ident">filter_crosswalks</span>,
|
||||
<span class="ident">create_uk_travel_demand_model</span>,
|
||||
<span class="ident">map_model::RawToMapOptions::default</span>(),
|
||||
|
@ -372,10 +372,6 @@
|
||||
<span id="367">367</span>
|
||||
<span id="368">368</span>
|
||||
<span id="369">369</span>
|
||||
<span id="370">370</span>
|
||||
<span id="371">371</span>
|
||||
<span id="372">372</span>
|
||||
<span id="373">373</span>
|
||||
</pre><pre class="rust"><code><span class="doccomment">//! It's assumed that the importer is run with the current directory as the project repository; aka</span>
|
||||
<span class="doccomment">//! `./data/` and `./importer/config` must exist.</span>
|
||||
|
||||
@ -428,7 +424,7 @@
|
||||
<span class="kw">pub</span> <span class="kw">async</span> <span class="kw">fn</span> <span class="ident">oneshot</span>(
|
||||
<span class="ident">osm_path</span>: <span class="ident">String</span>,
|
||||
<span class="ident">clip</span>: <span class="prelude-ty">Option</span><span class="op"><</span><span class="ident">String</span><span class="op">></span>,
|
||||
<span class="ident">drive_on_right</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">driving_side</span>: <span class="ident">map_model::DrivingSide</span>,
|
||||
<span class="ident">filter_crosswalks</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">create_uk_travel_demand_model</span>: <span class="ident">bool</span>,
|
||||
<span class="ident">opts</span>: <span class="ident">RawToMapOptions</span>,
|
||||
@ -442,11 +438,7 @@
|
||||
<span class="ident">clip</span>,
|
||||
<span class="ident">convert_osm::Options</span> {
|
||||
<span class="ident">map_config</span>: <span class="ident">map_model::MapConfig</span> {
|
||||
<span class="ident">driving_side</span>: <span class="kw">if</span> <span class="ident">drive_on_right</span> {
|
||||
<span class="ident">map_model::DrivingSide::Right</span>
|
||||
} <span class="kw">else</span> {
|
||||
<span class="ident">map_model::DrivingSide::Left</span>
|
||||
},
|
||||
<span class="ident">driving_side</span>,
|
||||
<span class="ident">bikes_can_use_bus_lanes</span>: <span class="bool-val">true</span>,
|
||||
<span class="ident">inferred_sidewalks</span>: <span class="bool-val">true</span>,
|
||||
<span class="ident">street_parking_spot_length</span>: <span class="ident">Distance::meters</span>(<span class="number">8.0</span>),
|
||||
|
@ -179,7 +179,7 @@
|
||||
<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">r"rustdoc 1.60.0 (7737e0b5c 2022-04-04)"</span>;
|
||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The build time in RFC2822, UTC."#</span>]</span>
|
||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</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">r"Wed, 18 May 2022 11:07:08 +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">r"Wed, 18 May 2022 11:10:17 +0000"</span>;
|
||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#</span>]</span>
|
||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</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">r"x86_64"</span>;
|
||||
|
Loading…
Reference in New Issue
Block a user