<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `Command` enum in crate `cli`."><metaname="keywords"content="rust, rustlang, rust-lang, Command"><title>Command in cli - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../ayu.css"disabled><linkrel="stylesheet"type="text/css"href="../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../storage.js"></script><scriptsrc="../crates.js"></script><scriptdefersrc="../main.js"></script>
<noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../favicon.svg"></head><bodyclass="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu"role="button">☰</div><aclass="sidebar-logo"href="../cli/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../rust-logo.png"alt="logo"></div>
</a><h2class="location">Enum Command</h2><divclass="sidebar-elems"><divclass="block items"><h3class="sidebar-title"><ahref="#variants">Variants</a></h3><divclass="sidebar-links"><ahref="#variant.AugmentScenario">AugmentScenario</a><ahref="#variant.ClipOSM">ClipOSM</a><ahref="#variant.DumpJSON">DumpJSON</a><ahref="#variant.GenerateHouses">GenerateHouses</a><ahref="#variant.GeoJSONToOsmosis">GeoJSONToOsmosis</a><ahref="#variant.Import">Import</a><ahref="#variant.ImportGrid2Demand">ImportGrid2Demand</a><ahref="#variant.ImportJSONMap">ImportJSONMap</a><ahref="#variant.ImportScenario">ImportScenario</a><ahref="#variant.MinifyMap">MinifyMap</a><ahref="#variant.OSM2Lanes">OSM2Lanes</a><ahref="#variant.OneStepImport">OneStepImport</a><ahref="#variant.OneshotImport">OneshotImport</a><ahref="#variant.PickGeofabrik">PickGeofabrik</a><ahref="#variant.PrebakeScenario">PrebakeScenario</a><ahref="#variant.RandomScenario">RandomScenario</a><ahref="#variant.RegenerateEverything">RegenerateEverything</a><ahref="#variant.RegenerateEverythingExternally">RegenerateEverythingExternally</a></div><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-StructOpt">StructOpt</a></div><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">RefUnwindSafe</a><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">UnwindSafe</a></div><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Downcast">Downcast</a><ahref="#impl-DowncastSync">DowncastSync</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Instrument">Instrument</a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a><ahref="#impl-VZip%3CV%3E">VZip<V></a></div></div><h2class="location">Other items in<br><ahref="index.html">cli</a></h2><divid="sidebar-vars"data-name="Command"data-ty="enum"data-relpath=""></div><scriptdefersrc="sidebar-items.js"></script></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../cli/index.html"><imgclass="rust-logo"src="../rust-logo.png"alt="logo"></a><navclass="sub"><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"title="themes"><imgwidth="18"height="18"alt="Pick another theme!"src="../brush.svg"></button><divid="theme-choices"role="menu"></div></div><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><buttontype="button"id="help-button"title="help">?</button><aid="settings-menu"href="../settings.html"title="settings"><imgwidth="18"height="18"alt="Change settings"src="../wheel.svg"></a></div></form></nav></div><sectionid="main-content"class="content"><h1class="fqn"><spanclass="in-band">Enum <ahref="index.html">cli</a>::<wbr><aclass="enum"href="#">Command</a><buttonid="copy-path"onclick="copy_path(this)"title="Copy item path to clipboard"><imgsrc="../clipboard.svg"width="19"height="18"alt="Copy item path"></button></span><spanclass="out-of-band"><spanid="render-detail"><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]</a></span><aclass="srclink"href="../src/cli/main.rs.html#28-232"title="goto source code">[src]</a></span></h1><divclass="docblock item-decl"><
</details>}</code></pre></div><h2id="variants"class="variants small-section-header">Variants<ahref="#variants"class="anchor"></a></h2><h3id="variant.DumpJSON"class="variant small-section-header"><ahref="#variant.DumpJSON"class="anchor field"></a><code>DumpJSON</code></h3><divclass="sub-variant"id="variant.DumpJSON.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.DumpJSON.field.path"class="variant small-section-header"><ahref="#variant.DumpJSON.field.path"class="anchor field"></a><code>path: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span></div></div><divclass="docblock"><p>Print a binary map or scenario file as JSON</p>
</div><h3id="variant.RandomScenario"class="variant small-section-header"><ahref="#variant.RandomScenario"class="anchor field"></a><code>RandomScenario</code></h3><divclass="sub-variant"id="variant.RandomScenario.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.RandomScenario.field.rng_seed"class="variant small-section-header"><ahref="#variant.RandomScenario.field.rng_seed"class="anchor field"></a><code>rng_seed: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div></div><divclass="sub-variant-field"><spanid="variant.RandomScenario.field.map"class="variant small-section-header"><ahref="#variant.RandomScenario.field.map"class="anchor field"></a><code>map: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a map to generate a scenario for</p>
</div></div><divclass="sub-variant-field"><spanid="variant.RandomScenario.field.scenario_name"class="variant small-section-header"><ahref="#variant.RandomScenario.field.scenario_name"class="anchor field"></a><code>scenario_name: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The name of the scenario to generate</p>
</div><h3id="variant.AugmentScenario"class="variant small-section-header"><ahref="#variant.AugmentScenario"class="anchor field"></a><code>AugmentScenario</code></h3><divclass="sub-variant"id="variant.AugmentScenario.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.AugmentScenario.field.input_scenario"class="variant small-section-header"><ahref="#variant.AugmentScenario.field.input_scenario"class="anchor field"></a><code>input_scenario: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a scenario to augment. This will be modified in-place.</p>
</div></div><divclass="sub-variant-field"><spanid="variant.AugmentScenario.field.add_return_trips"class="variant small-section-header"><ahref="#variant.AugmentScenario.field.add_return_trips"class="anchor field"></a><code>add_return_trips: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>For people with only a single trip, add a return trip back home sometime 4-12 hours
</div></div><divclass="sub-variant-field"><spanid="variant.AugmentScenario.field.add_lunch_trips"class="variant small-section-header"><ahref="#variant.AugmentScenario.field.add_lunch_trips"class="anchor field"></a><code>add_lunch_trips: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Before a person’s final trp home, insert a round-trip to a nearby cafe or restaurant</p>
</div></div><divclass="sub-variant-field"><spanid="variant.AugmentScenario.field.scenario_modifiers"class="variant small-section-header"><ahref="#variant.AugmentScenario.field.scenario_modifiers"class="anchor field"></a><code>scenario_modifiers: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="enum"href="../synthpop/modifier/enum.ScenarioModifier.html"title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>></code></span><divclass="docblock"><p>A JSON list of modifiers to transform the scenario. These can be generated with the GUI.</p>
</div></div><divclass="sub-variant-field"><spanid="variant.AugmentScenario.field.rng_seed"class="variant small-section-header"><ahref="#variant.AugmentScenario.field.rng_seed"class="anchor field"></a><code>rng_seed: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div><h3id="variant.ClipOSM"class="variant small-section-header"><ahref="#variant.ClipOSM"class="anchor field"></a><code>ClipOSM</code></h3><divclass="sub-variant"id="variant.ClipOSM.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.ClipOSM.field.pbf_path"class="variant small-section-header"><ahref="#variant.ClipOSM.field.pbf_path"class="anchor field"></a><code>pbf_path: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to the input .osm.pbf file</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ClipOSM.field.clip_path"class="variant small-section-header"><ahref="#variant.ClipOSM.field.clip_path"class="anchor field"></a><code>clip_path: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to an Osmosis boundary polygon</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ClipOSM.field.out_path"class="variant small-section-header"><ahref="#variant.ClipOSM.field.out_path"class="anchor field"></a><code>out_path: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to write the XML results</p>
</div></div></div><divclass="docblock"><p>Clips an OSM file to a boundary. This is a simple Rust port of <code>osmconvert large_map.osm -B=clipping.poly --complete-ways -o=smaller_map.osm</code>.</p>
</div><h3id="variant.ImportGrid2Demand"class="variant small-section-header"><ahref="#variant.ImportGrid2Demand"class="anchor field"></a><code>ImportGrid2Demand</code></h3><divclass="sub-variant"id="variant.ImportGrid2Demand.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.ImportGrid2Demand.field.input"class="variant small-section-header"><ahref="#variant.ImportGrid2Demand.field.input"class="anchor field"></a><code>input: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a grid2demand CSV file</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ImportGrid2Demand.field.map"class="variant small-section-header"><ahref="#variant.ImportGrid2Demand.field.map"class="anchor field"></a><code>map: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a map matching the grid2demand data</p>
</div><h3id="variant.ImportScenario"class="variant small-section-header"><ahref="#variant.ImportScenario"class="anchor field"></a><code>ImportScenario</code></h3><divclass="sub-variant"id="variant.ImportScenario.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.ImportScenario.field.input"class="variant small-section-header"><ahref="#variant.ImportScenario.field.input"class="anchor field"></a><code>input: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a JSON scenario file</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ImportScenario.field.map"class="variant small-section-header"><ahref="#variant.ImportScenario.field.map"class="anchor field"></a><code>map: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a map matching the scenario data</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ImportScenario.field.skip_problems"class="variant small-section-header"><ahref="#variant.ImportScenario.field.skip_problems"class="anchor field"></a><code>skip_problems: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Problems occur when a position is within the map boundary, but not close enough to
</div><h3id="variant.ImportJSONMap"class="variant small-section-header"><ahref="#variant.ImportJSONMap"class="anchor field"></a><code>ImportJSONMap</code></h3><divclass="sub-variant"id="variant.ImportJSONMap.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.ImportJSONMap.field.input"class="variant small-section-header"><ahref="#variant.ImportJSONMap.field.input"class="anchor field"></a><code>input: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a JSON map file to import</p>
</div></div><divclass="sub-variant-field"><spanid="variant.ImportJSONMap.field.output"class="variant small-section-header"><ahref="#variant.ImportJSONMap.field.output"class="anchor field"></a><code>output: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to write</p>
</div><h3id="variant.MinifyMap"class="variant small-section-header"><ahref="#variant.MinifyMap"class="anchor field"></a><code>MinifyMap</code></h3><divclass="sub-variant"id="variant.MinifyMap.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.MinifyMap.field.map"class="variant small-section-header"><ahref="#variant.MinifyMap.field.map"class="anchor field"></a><code>map: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a map to shrink. The map is modified in-place.</p>
</div><h3id="variant.GenerateHouses"class="variant small-section-header"><ahref="#variant.GenerateHouses"class="anchor field"></a><code>GenerateHouses</code></h3><divclass="sub-variant"id="variant.GenerateHouses.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.GenerateHouses.field.map"class="variant small-section-header"><ahref="#variant.GenerateHouses.field.map"class="anchor field"></a><code>map: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a map to generate houses for</p>
</div></div><divclass="sub-variant-field"><spanid="variant.GenerateHouses.field.num_required"class="variant small-section-header"><ahref="#variant.GenerateHouses.field.num_required"class="anchor field"></a><code>num_required: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.usize.html">usize</a></code></span><divclass="docblock"><p>If the tool doesn’t generate at least this many houses, then fail. This can be used to
</div></div><divclass="sub-variant-field"><spanid="variant.GenerateHouses.field.rng_seed"class="variant small-section-header"><ahref="#variant.GenerateHouses.field.rng_seed"class="anchor field"></a><code>rng_seed: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div></div><divclass="sub-variant-field"><spanid="variant.GenerateHouses.field.output"class="variant small-section-header"><ahref="#variant.GenerateHouses.field.output"class="anchor field"></a><code>output: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The GeoJSON file to write</p>
</div><h3id="variant.OneStepImport"class="variant small-section-header"><ahref="#variant.OneStepImport"class="anchor field"></a><code>OneStepImport</code></h3><divclass="sub-variant"id="variant.OneStepImport.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.geojson_path"class="variant small-section-header"><ahref="#variant.OneStepImport.field.geojson_path"class="anchor field"></a><code>geojson_path: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a GeoJSON file with a boundary</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.map_name"class="variant small-section-header"><ahref="#variant.OneStepImport.field.map_name"class="anchor field"></a><code>map_name: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>What to name the new imported map. The country will always be “zz” (a fake country
</div></div><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.drive_on_left"class="variant small-section-header"><ahref="#variant.OneStepImport.field.drive_on_left"class="anchor field"></a><code>drive_on_left: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Do people drive on the left side of the road in this map?</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.use_geofabrik"class="variant small-section-header"><ahref="#variant.OneStepImport.field.use_geofabrik"class="anchor field"></a><code>use_geofabrik: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Use Geofabrik to grab OSM input if true, or Overpass if false. Overpass is faster.</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.filter_crosswalks"class="variant small-section-header"><ahref="#variant.OneStepImport.field.filter_crosswalks"class="anchor field"></a><code>filter_crosswalks: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Downgrade crosswalks not matching a <code>highway=crossing</code> OSM node into unmarked crossings.</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneStepImport.field.create_uk_travel_demand_model"class="variant small-section-header"><ahref="#variant.OneStepImport.field.create_uk_travel_demand_model"class="anchor field"></a><code>create_uk_travel_demand_model: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Generate a simple travel demand model based on 2011 UK commuting data. This will only
</div><h3id="variant.OneshotImport"class="variant small-section-header"><ahref="#variant.OneshotImport"class="anchor field"></a><code>OneshotImport</code></h3><divclass="sub-variant"id="variant.OneshotImport.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.osm_input"class="variant small-section-header"><ahref="#variant.OneshotImport.field.osm_input"class="anchor field"></a><code>osm_input: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span></div><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.clip_path"class="variant small-section-header"><ahref="#variant.OneshotImport.field.clip_path"class="anchor field"></a><code>clip_path: <aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>></code></span><divclass="docblock"><p>The path to an Osmosis boundary polygon. If omitted, a boundary will be derived from
</div></div><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.drive_on_left"class="variant small-section-header"><ahref="#variant.OneshotImport.field.drive_on_left"class="anchor field"></a><code>drive_on_left: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Do people drive on the left side of the road in this map?</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.filter_crosswalks"class="variant small-section-header"><ahref="#variant.OneshotImport.field.filter_crosswalks"class="anchor field"></a><code>filter_crosswalks: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Downgrade crosswalks not matching a <code>highway=crossing</code> OSM node into unmarked crossings.</p>
</div></div><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.create_uk_travel_demand_model"class="variant small-section-header"><ahref="#variant.OneshotImport.field.create_uk_travel_demand_model"class="anchor field"></a><code>create_uk_travel_demand_model: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>Generate a simple travel demand model based on 2011 UK commuting data. This will only
</div></div><divclass="sub-variant-field"><spanid="variant.OneshotImport.field.opts"class="variant small-section-header"><ahref="#variant.OneshotImport.field.opts"class="anchor field"></a><code>opts: <aclass="struct"href="../map_model/make/struct.RawToMapOptions.html"title="struct map_model::make::RawToMapOptions">RawToMapOptions</a></code></span></div></div><divclass="docblock"><p>Imports a one-shot A/B Street map from an .osm file in a single command.</p>
</div><h3id="variant.RegenerateEverything"class="variant small-section-header"><ahref="#variant.RegenerateEverything"class="anchor field"></a><code>RegenerateEverything</code></h3><divclass="sub-variant"id="variant.RegenerateEverything.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.RegenerateEverything.field.shard_num"class="variant small-section-header"><ahref="#variant.RegenerateEverything.field.shard_num"class="anchor field"></a><code>shard_num: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.usize.html">usize</a></code></span><divclass="docblock"><p>If this command is being run in the cloud, parallelize the jobs by specifying which
</div></div><divclass="sub-variant-field"><spanid="variant.RegenerateEverything.field.num_shards"class="variant small-section-header"><ahref="#variant.RegenerateEverything.field.num_shards"class="anchor field"></a><code>num_shards: <aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.usize.html">usize</a></code></span><divclass="docblock"><p>If this command is being run in the cloud, parallelize the jobs by specifying how many
</div><h3id="variant.RegenerateEverythingExternally"class="variant small-section-header"><ahref="#variant.RegenerateEverythingExternally"class="anchor field"></a><code>RegenerateEverythingExternally</code></h3><divclass="docblock"><p>Generate a shell script to regenerate all cities that uses an external task runner.</p>
</div><h3id="variant.Import"class="variant small-section-header"><ahref="#variant.Import"class="anchor field"></a><code>Import</code></h3><divclass="sub-variant"id="variant.Import.fields"><h4>Fields</h4><divclass="sub-variant-field"><spanid="variant.Import.field.job"class="variant small-section-header"><ahref="#variant.Import.field.job"class="anchor field"></a><code>job: <aclass="struct"href="../importer/struct.Job.html"title="struct importer::Job">Job</a></code></span></div></div><divclass="docblock"><p>Import RawMaps, maps, scenarios, and city overviews for a single city.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.from_args"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.from_args"class="anchor"></a><h4class="code-header">fn <ahref="#method.from_args"class="fnname">from_args</a>() -> Self</h4></div></summary><divclass='docblock'><p>Builds the struct from the command line arguments (<ahref="https://doc.rust-lang.org/1.59.0/std/env/fn.args_os.html"title="std::env::args_os"><code>std::env::args_os</code></a>).
Calls <ahref="https://docs.rs/clap/2.33.3/clap/errors/struct.Error.html#method.exit"title="clap::Error::exit"><code>clap::Error::exit</code></a> on failure, printing the error message and aborting the program. <ahref="#method.from_args">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.from_args_safe"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.from_args_safe"class="anchor"></a><h4class="code-header">fn <ahref="#method.from_args_safe"class="fnname">from_args_safe</a>() -><aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, <aclass="struct"href="https://docs.rs/clap/2.33.3/clap/errors/struct.Error.html"title="struct clap::errors::Error">Error</a>></h4></div></summary><divclass='docblock'><p>Builds the struct from the command line arguments (<ahref="https://doc.rust-lang.org/1.59.0/std/env/fn.args_os.html"title="std::env::args_os"><code>std::env::args_os</code></a>).
Unlike [<code>StructOpt::from_args</code>], returns <ahref="https://docs.rs/clap/2.33.3/clap/errors/struct.Error.html"title="clap::Error"><code>clap::Error</code></a> on failure instead of aborting the program,
so calling <ahref="https://docs.rs/clap/2.33.3/clap/errors/struct.Error.html#method.exit"title="clap::Error::exit"><code>.exit</code></a> is up to you. <ahref="#method.from_args_safe">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.from_iter"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.from_iter"class="anchor"></a><h4class="code-header">fn <ahref="#method.from_iter"class="fnname">from_iter</a><I>(iter: I) -> Self <spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> <I as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.59.0/std/ffi/os_str/struct.OsString.html"title="struct std::ffi::os_str::OsString">OsString</a>>,<br> <I as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></h4></div></summary><divclass='docblock'><p>Gets the struct from any iterator such as a <code>Vec</code> of your making.
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.from_iter_safe"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.from_iter_safe"class="anchor"></a><h4class="code-header">fn <ahref="#method.from_iter_safe"class="fnname">from_iter_safe</a><I>(iter: I) -><aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, <aclass="struct"href="https://docs.rs/clap/2.33.3/clap/errors/struct.Error.html"title="struct clap::errors::Error">Error</a>><spanclass="where fmt-newline">where<br> I: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,<br> <I as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.59.0/std/ffi/os_str/struct.OsString.html"title="struct std::ffi::os_str::OsString">OsString</a>>,<br> <I as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/iter/traits/collect/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::collect::IntoIterator::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></h4></div></summary><divclass='docblock'><p>Gets the struct from any iterator such as a <code>Vec</code> of your making. <ahref="#method.from_iter_safe">Read more</a></p>
</div></details></div></details></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><divid="impl-RefUnwindSafe"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-RefUnwindSafe"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div><divid="impl-Send"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Send"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div><divid="impl-Sync"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Sync"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div><divid="impl-Unpin"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Unpin"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div><divid="impl-UnwindSafe"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-UnwindSafe"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor"></a></h2><divid="blanket-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Any"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/any.rs.html#132-136"title="goto source code">[src]</a></div><ahref="#impl-Any"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.type_id"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/any.rs.html#133"title="goto source code">[src]</a></div><ahref="#method.type_id"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html#tymethod.type_id"class="fnname">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.59.0/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></div></summary><divclass='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Borrow%3CT%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#209-214"title="goto source code">[src]</a></div><ahref="#impl-Borrow%3CT%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.borrow"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#211"title="goto source code">[src]</a></div><ahref="#method.borrow"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.reference.html">&</a>T</h4></div></summary><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.59.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-BorrowMut%3CT%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#218-222"title="goto source code">[src]</a></div><ahref="#impl-BorrowMut%3CT%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.borrow_mut"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/borrow.rs.html#219"title="goto source code">[src]</a></div><ahref="#method.borrow_mut"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fnname">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.59.0/std/primitive.reference.html">&mut </a>T</h4></div></summary><divclass='docblock'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.59.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Downcast"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Downcast"class="anchor"></a><h3class="code-header in-band">impl<T> Downcast for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.into_any"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.into_any"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">into_any</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><T, <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>) -><aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.59.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>></h4></div></summary><divclass='docblock'><p>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any">Read more</a></p>
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any_rc">Read more</a></p>
further <code>downcast</code> into <code>Arc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any_arc">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Instrument"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#155"title="goto source code">[src]</a></div><ahref="#impl-Instrument"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.instrument"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#38"title="goto source code">[src]</a></div><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></div></summary><divclass='docblock'><p>Instruments this type with the provided <code>Span</code>, returning an
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.in_current_span"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#74"title="goto source code">[src]</a></div><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></div></summary><divclass='docblock'><p>Instruments this type with the <ahref="../struct.Span.html#method.current">current</a><code>Span</code>, returning an
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Into%3CU%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#538-545"title="goto source code">[src]</a></div><ahref="#impl-Into%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.into"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#542"title="goto source code">[src]</a></div><ahref="#method.into"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html#tymethod.into"class="fnname">into</a>(self) -> U</h4></div></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Same%3CT%3E"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Same%3CT%3E"class="anchor"></a><h3class="code-header in-band">impl<T> Same<T> for T</h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><divid="associatedtype.Output"class="type trait-impl has-srclink"><ahref="#associatedtype.Output"class="anchor"></a><h4class="code-header">type <ahref="#associatedtype.Output"class="associatedtype">Output</a> = T</h4></div></summary><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-TryFrom%3CU%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#588-597"title="goto source code">[src]</a></div><ahref="#impl-TryFrom%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><divid="associatedtype.Error-1"class="type trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></div></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.try_from"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#594"title="goto source code">[src]</a></div><ahref="#method.try_from"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></div></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-TryInto%3CU%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#574-583"title="goto source code">[src]</a></div><ahref="#impl-TryInto%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><divid="associatedtype.Error"class="type trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></div></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.try_into"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.59.0/src/core/convert/mod.rs.html#580"title="goto source code">[src]</a></div><ahref="#method.try_into"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.59.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.59.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></div></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-VZip%3CV%3E"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-VZip%3CV%3E"class="anchor"></a><h3class="code-header in-band">impl<V, T> VZip<V> for T <spanclass="where fmt-newline">where<br> V: MultiLane<T>, </span></h3></div></summary><divclass="impl-items"><divid="method.vzip"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.vzip"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">vzip</a>(self) -> V</h4></div></div></details></div></section><sectionid="search"class="content hidden"></section></div></main><divid="rustdoc-vars"data-root-path="../"data-current-crate="cli"data-themes="ayu,dark,light"data-resource-suffix=""data-rustdoc-version="1.59.0 (9d1b2106e 2022-02-23)"></div>