<!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="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../ayu.css"disabled><scriptid="default-settings"></script><scriptsrc="../storage.js"></script><scriptsrc="../crates.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="icon"type="image/svg+xml"href="../favicon.svg"><linkrel="alternate icon"type="image/png"href="../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../favicon-32x32.png"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></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><ahref='../cli/index.html'><divclass='logo-container rust-logo'><imgsrc='../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.OneStepImport">OneStepImport</a><ahref="#variant.PickGeofabrik">PickGeofabrik</a><ahref="#variant.RandomScenario">RandomScenario</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><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><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="Allcrates
</details>}</pre></div><h2id="variants"class="variants small-section-header">Variants<ahref="#variants"class="anchor"></a></h2><divid="variant.DumpJSON"class="variant small-section-header"><ahref="#variant.DumpJSON"class="anchor field"></a><code>DumpJSON</code></div><divclass="docblock"><p>Print a binary map or scenario file as JSON</p>
</div><divclass="sub-variant"id="variant.DumpJSON.fields"><h3>Fields of <b>DumpJSON</b></h3><div><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.55.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span></div></div><divid="variant.RandomScenario"class="variant small-section-header"><ahref="#variant.RandomScenario"class="anchor field"></a><code>RandomScenario</code></div><divclass="docblock"><p>Generates a random scenario using the proletariat robot travel demand model</p>
</div><divclass="sub-variant"id="variant.RandomScenario.fields"><h3>Fields of <b>RandomScenario</b></h3><div><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.55.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div><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.55.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><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.55.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></div></div><divid="variant.AugmentScenario"class="variant small-section-header"><ahref="#variant.AugmentScenario"class="anchor field"></a><code>AugmentScenario</code></div><divclass="docblock"><p>Modifies the schedule of every person in an existing scenario.</p>
</div><divclass="sub-variant"id="variant.AugmentScenario.fields"><h3>Fields of <b>AugmentScenario</b></h3><div><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.55.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>
<p>This tool isn’t very smart about detecting if a scenario already has these extra trips added
in; be careful about running this on the correct input.</p>
</div><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.55.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
later</p>
</div><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.55.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><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.55.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div></div></div><divid="variant.ClipOSM"class="variant small-section-header"><ahref="#variant.ClipOSM"class="anchor field"></a><code>ClipOSM</code></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><divclass="sub-variant"id="variant.ClipOSM.fields"><h3>Fields of <b>ClipOSM</b></h3><div><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.55.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><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.55.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><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.55.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><divid="variant.GeoJSONToOsmosis"class="variant small-section-header"><ahref="#variant.GeoJSONToOsmosis"class="anchor field"></a><code>GeoJSONToOsmosis</code></div><divclass="docblock"><p>Reads a GeoJSON file, extracts a polygon from every feature, and writes numbered files in
the https://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format format as
output.</p>
</div><divclass="sub-variant"id="variant.GeoJSONToOsmosis.fields"><h3>Fields of <b>GeoJSONToOsmosis</b></h3><div><spanid="variant.GeoJSONToOsmosis.field.input"class="variant small-section-header"><ahref="#variant.GeoJSONToOsmosis.field.input"class="anchor field"></a><code>input: <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to a GeoJSON file</p>
</div></div></div><divid="variant.ImportGrid2Demand"class="variant small-section-header"><ahref="#variant.ImportGrid2Demand"class="anchor field"></a><code>ImportGrid2Demand</code></div><divclass="docblock"><p>Import a scenario from https://github.com/asu-trans-ai-lab/grid2demand.</p>
</div><divclass="sub-variant"id="variant.ImportGrid2Demand.fields"><h3>Fields of <b>ImportGrid2Demand</b></h3><div><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.55.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><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.55.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></div></div><divid="variant.ImportScenario"class="variant small-section-header"><ahref="#variant.ImportScenario"class="anchor field"></a><code>ImportScenario</code></div><divclass="docblock"><p>Import a JSON scenario in the
</div><divclass="sub-variant"id="variant.ImportScenario.fields"><h3>Fields of <b>ImportScenario</b></h3><div><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.55.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><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.55.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><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.55.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
buildings. Skip people with problematic positions if true, abort otherwise.</p>
</div></div></div><divid="variant.ImportJSONMap"class="variant small-section-header"><ahref="#variant.ImportJSONMap"class="anchor field"></a><code>ImportJSONMap</code></div><divclass="docblock"><p>Transform a JSON map that’s been manually edited into the binary format suitable for
simulation.</p>
</div><divclass="sub-variant"id="variant.ImportJSONMap.fields"><h3>Fields of <b>ImportJSONMap</b></h3><div><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.55.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><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.55.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to write</p>
</div></div></div><divid="variant.MinifyMap"class="variant small-section-header"><ahref="#variant.MinifyMap"class="anchor field"></a><code>MinifyMap</code></div><divclass="docblock"><p>Removes nonessential parts of a Map, for the bike network tool.</p>
</div><divclass="sub-variant"id="variant.MinifyMap.fields"><h3>Fields of <b>MinifyMap</b></h3><div><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.55.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</p>
</div></div></div><divid="variant.GenerateHouses"class="variant small-section-header"><ahref="#variant.GenerateHouses"class="anchor field"></a><code>GenerateHouses</code></div><divclass="docblock"><p>Procedurally generates houses along empty residential roads of a map</p>
</div><divclass="sub-variant"id="variant.GenerateHouses.fields"><h3>Fields of <b>GenerateHouses</b></h3><div><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.55.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><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.55.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
autodetect if a map probably already has most houses tagged in OSM.</p>
</div><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.55.0/std/primitive.u64.html">u64</a></code></span><divclass="docblock"><p>A seed for generating random numbers</p>
</div><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.55.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></div></div><divid="variant.PickGeofabrik"class="variant small-section-header"><ahref="#variant.PickGeofabrik"class="anchor field"></a><code>PickGeofabrik</code></div><divclass="docblock"><p>Prints the osm.pbf file from download.geofabrik.de that covers a given boundary.</p>
<p>This is a useful tool when importing a new map, if you don’t already know which geofabrik
file you should use as your OSM input.</p>
</div><divclass="sub-variant"id="variant.PickGeofabrik.fields"><h3>Fields of <b>PickGeofabrik</b></h3><div><spanid="variant.PickGeofabrik.field.input"class="variant small-section-header"><ahref="#variant.PickGeofabrik.field.input"class="anchor field"></a><code>input: <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></span><divclass="docblock"><p>The path to an <ahref="https://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format">osmosis polygon boundary
file</a></p>
</div></div></div><divid="variant.OneStepImport"class="variant small-section-header"><ahref="#variant.OneStepImport"class="anchor field"></a><code>OneStepImport</code></div><divclass="docblock"><p>Imports a one-shot A/B Street map in a single command.</p>
</div><divclass="sub-variant"id="variant.OneStepImport.fields"><h3>Fields of <b>OneStepImport</b></h3><div><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.55.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><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.55.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
code), with the city as “oneshot.” This name shouldn’t contain spaces or be empty.</p>
</div><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.55.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><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.55.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></div><divid="variant.Import"class="variant small-section-header"><ahref="#variant.Import"class="anchor field"></a><code>Import</code></div><divclass="docblock"><p>Runs the main A/B Street importer, which manages maps and scenarios for many cities.</p>
</div><divclass="sub-variant"id="variant.Import.fields"><h3>Fields of <b>Import</b></h3><div><spanid="variant.Import.field.raw_args"class="variant small-section-header"><ahref="#variant.Import.field.raw_args"class="anchor field"></a><code>raw_args: <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html"title="struct alloc::vec::Vec">Vec</a><<aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>></code></span><divclass="docblock"><p>See the importer’s source code for the defined flags. You should first pass a bare “–”
to avoid arguments being parsed.</p>
</div></div></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-StructOpt"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../src/cli/main.rs.html#21"title="goto source code">[src]</a></div><ahref="#impl-StructOpt"class="anchor"></a><h3class="code-header in-band">impl StructOpt for <aclass="enum"href="enum.Command.html"title="enum cli::Command">Command</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.clap"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../src/cli/main.rs.html#21"title="goto source code">[src]</a></div><ahref="#method.clap"class="anchor"></a><h4class="code-header">fn <aclass="fnname">clap</a><'a, 'b>() -><aclass="struct"href="https://docs.rs/clap/2.33.3/clap/app/struct.App.html"title="struct clap::app::App">App</a><'a, 'b></h4></div></summary><divclass='docblock'><p>Returns <ahref="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><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.from_clap"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../src/cli/main.rs.html#21"title="goto source code">[src]</a></div><ahref="#method.from_clap"class="anchor"></a><h4class="code-header">fn <aclass="fnname">from_clap</a>(matches: &<aclass="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></div></summary><divclass='docblock'><p>Builds the struct from <ahref="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. <ahref="#tymethod.from_clap">Read more</a></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.55.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.55.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.55.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.55.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.55.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.55.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.55.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.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.
Print the error message and quit the program in case of failure. <ahref="#method.from_iter">Read more</a></p>
</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.55.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.55.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.55.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.55.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.55.0/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.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.55.0/std/panic/trait.RefUnwindSafe.html"title="trait std::panic::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.55.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.55.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.55.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.55.0/std/panic/trait.UnwindSafe.html"title="trait std::panic::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.55.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.55.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.55.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.55.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.55.0/core/any/trait.Any.html#tymethod.type_id"class="fnname">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.55.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.55.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.55.0/src/core/borrow.rs.html#208-213"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.55.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.55.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.55.0/src/core/borrow.rs.html#210"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.55.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.55.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.55.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.55.0/src/core/borrow.rs.html#216-220"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.55.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.55.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.55.0/src/core/borrow.rs.html#217"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.55.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.55.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.55.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.55.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.55.0/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><T, <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>) -><aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.55.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>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.into_any_rc"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.into_any_rc"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">into_any_rc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static></h4></div></summary><divclass='docblock'><p>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
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>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.as_any"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.as_any"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">as_any</a>(&self) ->&(dyn <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></div></summary><divclass='docblock'><p>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s. <ahref="#tymethod.as_any">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.as_any_mut"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.as_any_mut"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">as_any_mut</a>(&mut self) ->&mut (dyn <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></div></summary><divclass='docblock'><p>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s. <ahref="#tymethod.as_any_mut">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-DowncastSync"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-DowncastSync"class="anchor"></a><h3class="code-header in-band">impl<T> DowncastSync for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.into_any_arc"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.into_any_arc"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">into_any_arc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/1.55.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> + 'static></h4></div></summary><divclass='docblock'><p>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
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.55.0/src/core/convert/mod.rs.html#535-542"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.55.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.55.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.55.0/src/core/convert/mod.rs.html#539"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.55.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="type">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.55.0/src/core/convert/mod.rs.html#583-592"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.55.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.55.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"class="type trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.55.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.55.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.55.0/src/core/convert/mod.rs.html#589"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.55.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.55.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.55.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.0/src/core/convert/mod.rs.html#569-578"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.55.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.55.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-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.55.0/core/convert/trait.TryInto.html#associatedtype.Error"class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.55.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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.55.0/src/core/convert/mod.rs.html#575"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.55.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.55.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.55.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/1.55.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><divid="rustdoc-vars"data-root-path="../"data-current-crate="cli"data-search-index-js="../search-index.js"data-search-js="../search.js"></div>