<!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 `SimpleAppArgs` struct in crate `map_gui`."><title>SimpleAppArgs in map_gui - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><linkrel="stylesheet"href="../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../static.files/rustdoc-fa3bb1812debf86c.css"><metaname="rustdoc-vars"data-root-path="../"data-static-root-path="../static.files/"data-current-crate="map_gui"data-themes=""data-resource-suffix=""data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)"data-channel="1.74.0"data-search-js="search-8be46b629f5f14a8.js"data-settings-js="settings-74424d7eec62a23e.js"><scriptsrc="../static.files/storage-fec3eaa3851e447d.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../static.files/main-c5bd66d33317d69f.js"></script><noscript><linkrel="stylesheet"href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><linkrel="alternate icon"type="image/png"href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><linkrel="alternate icon"type="image/png"href="../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="logo-container"href="../map_gui/index.html"><imgclass="rust-logo"src="../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a></nav><navclass="sidebar"><aclass="logo-container"href="../map_gui/index.html"><imgclass="rust-logo"src="../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a><h2class="location"><ahref="#">SimpleAppArgs</a></h2><divclass="sidebar-elems"><section><h3><ahref="#fields">Fields</a></h3><ulclass="block"><li><ahref="#structfield.cam">cam</a></li><li><ahref="#structfield.color_scheme">color_scheme</a></li><li><ahref="#structfield.dev">dev</a></li><li><ahref="#structfield.map_path">map_path</a></li><li><ahref="#structfield.minimal_controls">minimal_controls</a></li><li><ahref="#structfield.scale_factor">scale_factor</a></li></ul><h3><ahref="#implementations">Methods</a></h3><ulclass="block"><li><ahref="#method.map_name">map_name</a></li><li><ahref="#method.override_options">override_options</a></li><li><ahref="#method.update_widgetry_settings">update_widgetry_settings</a></li></ul><h3><ahref="#trait-implementations">Trait Implementations</a></h3><ulclass="block"><li><ahref="#impl-StructOpt-for-SimpleAppArgs">StructOpt</a></li></ul><h3><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ulclass="block"><li><ahref="#impl-RefUnwindSafe-for-SimpleAppArgs">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-SimpleAppArgs">Send</a></li><li><ahref="#impl-Sync-for-SimpleAppArgs">Sync</a></li><li><ahref="#impl-Unpin-for-SimpleAppArgs">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-SimpleAppArgs">UnwindSafe</a></li></ul><h3><ahref="#blanket-implementations">Blanket Implementations</a></h3><ul
}</code></pre><h2id="fields"class="fields small-section-header">Fields<ahref="#fields"class="anchor">§</a></h2><spanid="structfield.map_path"class="structfield small-section-header"><ahref="#structfield.map_path"class="anchor field">§</a><code>map_path: <aclass="enum"href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>></code></span><divclass="docblock"><p>Path to a map to initially load. If not provided, load the last map used or a fixed
</div><spanid="structfield.cam"class="structfield small-section-header"><ahref="#structfield.cam"class="anchor field">§</a><code>cam: <aclass="enum"href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>></code></span><divclass="docblock"><p>Initially position the camera here. The format is an OSM-style <code>zoom/lat/lon</code> string
</div><spanid="structfield.color_scheme"class="structfield small-section-header"><ahref="#structfield.color_scheme"class="anchor field">§</a><code>color_scheme: <aclass="enum"href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="colors/enum.ColorSchemeChoice.html"title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a>></code></span><divclass="docblock"><p>The color scheme for map elements, agents, and the UI.</p>
</div><spanid="structfield.minimal_controls"class="structfield small-section-header"><ahref="#structfield.minimal_controls"class="anchor field">§</a><code>minimal_controls: <aclass="primitive"href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a></code></span><divclass="docblock"><p>When making a screen recording, enable this option to hide some UI elements</p>
</div><spanid="structfield.scale_factor"class="structfield small-section-header"><ahref="#structfield.scale_factor"class="anchor field">§</a><code>scale_factor: <aclass="enum"href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.74.0/std/primitive.f64.html">f64</a>></code></span><divclass="docblock"><p>Override the monitor’s auto-detected scale factor</p>
</div><h2id="implementations"class="small-section-header">Implementations<ahref="#implementations"class="anchor">§</a></h2><divid="implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-SimpleAppArgs"class="impl"><aclass="src rightside"href="../src/map_gui/simple_app.rs.html#58-96">source</a><ahref="#impl-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.override_options"class="method"><aclass="src rightside"href="../src/map_gui/simple_app.rs.html#61-68">source</a><h4class="code-header">pub fn <ahref="#method.override_options"class="fn">override_options</a>(&self, opts: &mut <aclass="struct"href="options/struct.Options.html"title="struct map_gui::options::Options">Options</a>)</h4></section></summary><divclass="docblock"><p>Options are passed in by each app, usually seeded with defaults or from a config file. For
the same type, otherwise it must panic.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_args"class="method trait-impl"><ahref="#method.from_args"class="anchor">§</a><h4class="code-header">fn <aclass="fn">from_args</a>() -> Self<spanclass="where fmt-newline">where
Self: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><divclass='docblock'>Builds the struct from the command line arguments (<ahref="https://doc.rust-lang.org/1.74.0/std/env/fn.args_os.html"title="fn 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="method clap::errors::Error::exit"><code>clap::Error::exit</code></a> on failure, printing the error message and aborting the program.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_args_safe"class="method trait-impl"><ahref="#method.from_args_safe"class="anchor">§</a><h4class="code-header">fn <aclass="fn">from_args_safe</a>() -><aclass="enum"href="https://doc.rust-lang.org/1.74.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
Self: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><divclass='docblock'>Builds the struct from the command line arguments (<ahref="https://doc.rust-lang.org/1.74.0/std/env/fn.args_os.html"title="fn 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="struct clap::errors::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="method clap::errors::Error::exit"><code>.exit</code></a> is up to you.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_iter"class="method trait-impl"><ahref="#method.from_iter"class="anchor">§</a><h4class="code-header">fn <aclass="fn">from_iter</a><I>(iter: I) -> Self<spanclass="where fmt-newline">where
<I as <aclass="trait"href="https://doc.rust-lang.org/1.74.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.74.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.74.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.74.0/std/ffi/os_str/struct.OsString.html"title="struct std::ffi::os_str::OsString">OsString</a>> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,</span></h4></section></summary><divclass='docblock'>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. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_iter_safe"class="method trait-impl"><ahref="#method.from_iter_safe"class="anchor">§</a><h4class="code-header">fn <aclass="fn">from_iter_safe</a><I>(iter: I) -><aclass="enum"href="https://doc.rust-lang.org/1.74.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
<I as <aclass="trait"href="https://doc.rust-lang.org/1.74.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.74.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.74.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="https://doc.rust-lang.org/1.74.0/std/ffi/os_str/struct.OsString.html"title="struct std::ffi::os_str::OsString">OsString</a>> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,</span></h4></section></summary><divclass='docblock'>Gets the struct from any iterator such as a <code>Vec</code> of your making. <a>Read more</a></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"><sectionid="impl-RefUnwindSafe-for-SimpleAppArgs"class="impl"><ahref="#impl-RefUnwindSafe-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section><sectionid="impl-Send-for-SimpleAppArgs"class="impl"><ahref="#impl-Send-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section><sectionid="impl-Sync-for-SimpleAppArgs"class="impl"><ahref="#impl-Sync-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section><sectionid="impl-Unpin-for-SimpleAppArgs"class="impl"><ahref="#impl-Unpin-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section><sectionid="impl-UnwindSafe-for-SimpleAppArgs"class="impl"><ahref="#impl-UnwindSafe-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="simple_app/struct.SimpleAppArgs.html"title="struct map_gui::simple_app::SimpleAppArgs">SimpleAppArgs</a></h3></section></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor">§</a></h2><divid="blanket-implementations-list"><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Any-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><ahref="#impl-Any-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T<spanclass="where fmt-newline">where
T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#136">source</a><ahref="#method.type_id"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id"class="fn">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.74.0/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></section></summary><divclass='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><ahref="#impl-Borrow%3CT%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#210">source</a><ahref="#method.borrow"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fn">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&T</a></h4></section></summary><divclass='docblock'>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><ahref="#impl-BorrowMut%3CT%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#217">source</a><ahref="#method.borrow_mut"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fn">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut T</a></h4></section></summary><divclass='docblock'>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Downcast-for-SimpleAppArgs"class="impl"><ahref="#impl-Downcast-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T> Downcast for T<spanclass="where fmt-newline">where
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.into_any_rc"class="method trait-impl"><ahref="#method.into_any_rc"class="anchor">§</a><h4class="code-header">fn <aclass="fn">into_any_rc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><T, <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>) -><aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a>, <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>></h4></section></summary><divclass='docblock'>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>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.as_any"class="method trait-impl"><ahref="#method.as_any"class="anchor">§</a><h4class="code-header">fn <aclass="fn">as_any</a>(&self) ->&(dyn <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><divclass='docblock'>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.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.as_any_mut"class="method trait-impl"><ahref="#method.as_any_mut"class="anchor">§</a><h4class="code-header">fn <aclass="fn">as_any_mut</a>(&mut self) ->&mut (dyn <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><divclass='docblock'>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.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-DowncastSync-for-SimpleAppArgs"class="impl"><ahref="#impl-DowncastSync-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T> DowncastSync for T<spanclass="where fmt-newline">where
T: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.into_any_arc"class="method trait-impl"><ahref="#method.into_any_arc"class="anchor">§</a><h4class="code-header">fn <aclass="fn">into_any_arc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><T, <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>) -><aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> + <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a>, <aclass="struct"href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>></h4></section></summary><divclass='docblock'>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>.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#722">source</a><ahref="#impl-From%3CT%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#725">source</a><ahref="#method.from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.From.html#tymethod.from"class="fn">from</a>(t: T) -> T</h4></section></summary><divclass="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-SimpleAppArgs"class="impl"><ahref="#impl-Instrument-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T> Instrument for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl"><ahref="#method.instrument"class="anchor">§</a><h4class="code-header">fn <aclass="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl"><ahref="#method.in_current_span"class="anchor">§</a><h4class="code-header">fn <aclass="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="super::Span::current()">current</a><ahref="crate::Span"><code>Span</code></a>, returning an
<code><ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#762">source</a><ahref="#impl-TryFrom%3CU%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.74.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#769">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.74.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.74.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-SimpleAppArgs"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#747">source</a><ahref="#impl-TryInto%3CU%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl"><ahref="#associatedtype.Error-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#754">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.74.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.74.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-VZip%3CV%3E-for-SimpleAppArgs"class="impl"><ahref="#impl-VZip%3CV%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<V, T> VZip<V> for T<spanclass="where fmt-newline">where
S: <aclass="trait"href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><Dispatch>,</span></h4></section></summary><divclass='docblock'>Attaches the provided <ahref="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl"><ahref="#method.with_current_subscriber"class="anchor">§</a><h4class="code-header">fn <aclass="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="crate::dispatcher#setting-the-default-subscriber">default</a><ahref="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Within%3CG2%3E-for-SimpleAppArgs"class="impl"><ahref="#impl-Within%3CG2%3E-for-SimpleAppArgs"class="anchor">§</a><h3class="code-header">impl<G1, G2> Within<G2> for G1<spanclass="where fmt-newline">where