mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-18 03:41:52 +03:00
deploy: d833f82c73
This commit is contained in:
parent
43c4f0dd19
commit
7ae8661f8c
@ -47,11 +47,11 @@ the event and immediately apply the transition. <a href="#method.panel_changed">
|
|||||||
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
||||||
</div></details><div id="method.draw_baselayer-62" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/debug/uber_turns.rs.html#236-238" title="goto source code">[src]</a></div><a href="#method.draw_baselayer-62" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div><div id="method.draw-63" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/debug/uber_turns.rs.html#240-247" title="goto source code">[src]</a></div><a href="#method.draw-63" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw" class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-1" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-1" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
</div></details><div id="method.draw_baselayer-62" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/debug/uber_turns.rs.html#236-238" title="goto source code">[src]</a></div><a href="#method.draw_baselayer-62" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div><div id="method.draw-63" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/debug/uber_turns.rs.html#240-247" title="goto source code">[src]</a></div><a href="#method.draw-63" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw" class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-1" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-1" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-1" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-1" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-1" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-1" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-SimpleState%3CApp%3E-10" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#716-779" title="goto source code">[src]</a></div><a href="#impl-SimpleState%3CApp%3E-10" class="anchor"></a><h3 class="code-header in-band">impl SimpleState<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../ungap/route/struct.RenameEdits.html" title="struct game::ungap::route::RenameEdits">RenameEdits</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click-10" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#717-741" title="goto source code">[src]</a></div><a href="#method.on_click-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> x: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a>, <br> panel: &Panel<br>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-SimpleState%3CApp%3E-10" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#717-780" title="goto source code">[src]</a></div><a href="#impl-SimpleState%3CApp%3E-10" class="anchor"></a><h3 class="code-header in-band">impl SimpleState<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../ungap/route/struct.RenameEdits.html" title="struct game::ungap::route::RenameEdits">RenameEdits</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click-10" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#718-742" title="goto source code">[src]</a></div><a href="#method.on_click-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> x: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a>, <br> panel: &Panel<br>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
|
||||||
the fallback case can just use <code>unreachable!()</code>. <a href="#tymethod.on_click">Read more</a></p>
|
the fallback case can just use <code>unreachable!()</code>. <a href="#tymethod.on_click">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.panel_changed-11" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#743-774" title="goto source code">[src]</a></div><a href="#method.panel_changed-11" class="anchor"></a><h4 class="code-header">fn <a href="#method.panel_changed" class="fnname">panel_changed</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> _: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> panel: &mut Panel<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>>></h4></div></summary><div class='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.panel_changed-11" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#744-775" title="goto source code">[src]</a></div><a href="#method.panel_changed-11" class="anchor"></a><h4 class="code-header">fn <a href="#method.panel_changed" class="fnname">panel_changed</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> _: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> panel: &mut Panel<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>>></h4></div></summary><div class='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
|
||||||
the event and immediately apply the transition. <a href="#method.panel_changed">Read more</a></p>
|
the event and immediately apply the transition. <a href="#method.panel_changed">Read more</a></p>
|
||||||
</div></details><div id="method.draw-72" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#776-778" title="goto source code">[src]</a></div><a href="#method.draw-72" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw" class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
</div></details><div id="method.draw-72" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/ungap/route.rs.html#777-779" title="goto source code">[src]</a></div><a href="#method.draw-72" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw" class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.other_event-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.other_event-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.other_event" class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><div class='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.other_event-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.other_event-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.other_event" class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><div class='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
|
||||||
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
||||||
@ -119,7 +119,7 @@ the event and immediately apply the transition. <a href="#method.panel_changed">
|
|||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-8" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-8" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_mouseover-8" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_mouseover-8" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_mouseover" class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Called when the mouse has moved.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.other_event-8" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.other_event-8" class="anchor"></a><h4 class="code-header">fn <a href="#method.other_event" class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><div class='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.other_event-8" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.other_event-8" class="anchor"></a><h4 class="code-header">fn <a href="#method.other_event" class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><div class='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
|
||||||
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
call this to handle all other events. <a href="#method.other_event">Read more</a></p>
|
||||||
</div></details><div id="method.draw_baselayer-69" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-69" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-SimpleState%3CApp%3E-9" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#632-645" title="goto source code">[src]</a></div><a href="#impl-SimpleState%3CApp%3E-9" class="anchor"></a><h3 class="code-header in-band">impl SimpleState<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.DepartureSummary.html" title="struct game::sandbox::gameplay::play_scenario::DepartureSummary">DepartureSummary</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click-9" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#633-644" title="goto source code">[src]</a></div><a href="#method.on_click-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> x: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
|
</div></details><div id="method.draw_baselayer-69" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-69" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-SimpleState%3CApp%3E-9" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#633-646" title="goto source code">[src]</a></div><a href="#impl-SimpleState%3CApp%3E-9" class="anchor"></a><h3 class="code-header in-band">impl SimpleState<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.DepartureSummary.html" title="struct game::sandbox::gameplay::play_scenario::DepartureSummary">DepartureSummary</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click-9" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#634-645" title="goto source code">[src]</a></div><a href="#method.on_click-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, <br> x: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
|
||||||
the fallback case can just use <code>unreachable!()</code>. <a href="#tymethod.on_click">Read more</a></p>
|
the fallback case can just use <code>unreachable!()</code>. <a href="#tymethod.on_click">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-9" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-9" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_click_custom-9" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_click_custom-9" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_click_custom" class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> _action: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><div class='docblock'><p>Called when something on the panel has been clicked.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.panel_changed-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.panel_changed-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.panel_changed" class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><div class='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.panel_changed-10" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.panel_changed-10" class="anchor"></a><h4 class="code-header">fn <a href="#method.panel_changed" class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><div class='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
|
||||||
@ -259,16 +259,16 @@ call this to handle all other events. <a href="#method.other_event">Read more</a
|
|||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-39" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/commuter.rs.html#443-449" title="goto source code">[src]</a></div><a href="#method.draw-39" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-39" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/commuter.rs.html#443-449" title="goto source code">[src]</a></div><a href="#method.draw-39" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-38" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-38" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-38" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-38" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-38" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-38" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-38" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-38" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-39" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#57-74" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-39" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/misc/struct.ActiveTraffic.html" title="struct game::sandbox::dashboards::misc::ActiveTraffic">ActiveTraffic</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-39" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#58-69" title="goto source code">[src]</a></div><a href="#method.event-39" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-39" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#63-80" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-39" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/misc/struct.ActiveTraffic.html" title="struct game::sandbox::dashboards::misc::ActiveTraffic">ActiveTraffic</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-39" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#64-75" title="goto source code">[src]</a></div><a href="#method.event-39" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-40" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#71-73" title="goto source code">[src]</a></div><a href="#method.draw-40" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-40" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#77-79" title="goto source code">[src]</a></div><a href="#method.draw-40" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-39" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-39" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-39" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-39" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-39" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-39" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-39" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-39" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-4" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#132-151" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-4" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../common/warp/struct.DebugWarp.html" title="struct game::common::warp::DebugWarp">DebugWarp</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-4" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#133-145" title="goto source code">[src]</a></div><a href="#method.event-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-4" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#132-151" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-4" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../common/warp/struct.DebugWarp.html" title="struct game::common::warp::DebugWarp">DebugWarp</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-4" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#133-145" title="goto source code">[src]</a></div><a href="#method.event-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-5" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#147-150" title="goto source code">[src]</a></div><a href="#method.draw-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-5" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/common/warp.rs.html#147-150" title="goto source code">[src]</a></div><a href="#method.draw-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-4" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-4" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-4" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-4" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-4" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-4" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-4" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-4" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-40" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#197-247" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-40" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/misc/struct.TransitRoutes.html" title="struct game::sandbox::dashboards::misc::TransitRoutes">TransitRoutes</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-40" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#198-242" title="goto source code">[src]</a></div><a href="#method.event-40" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-40" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#203-253" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-40" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/misc/struct.TransitRoutes.html" title="struct game::sandbox::dashboards::misc::TransitRoutes">TransitRoutes</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-40" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#204-248" title="goto source code">[src]</a></div><a href="#method.event-40" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-41" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#244-246" title="goto source code">[src]</a></div><a href="#method.draw-41" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw-41" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/misc.rs.html#250-252" title="goto source code">[src]</a></div><a href="#method.draw-41" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _app: &<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-40" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-40" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer-40" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer-40" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-40" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-40" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy-40" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy-40" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-41" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#59-101" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-41" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/mode_shift/struct.ModeShift.html" title="struct game::sandbox::dashboards::mode_shift::ModeShift">ModeShift</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-41" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#60-88" title="goto source code">[src]</a></div><a href="#method.event-41" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E-41" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#59-101" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E-41" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>> for <a class="struct" href="../sandbox/dashboards/mode_shift/struct.ModeShift.html" title="struct game::sandbox::dashboards::mode_shift::ModeShift">ModeShift</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event-41" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#60-88" title="goto source code">[src]</a></div><a href="#method.event-41" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `debug` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, debug"><title>debug in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="debug" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">debug</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#105-110" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn debug(<br> ctx: &EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `debug` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, debug"><title>debug in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="debug" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">debug</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#106-111" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn debug(<br> ctx: &EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `debug_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, debug_body"><title>debug_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="debug_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">debug_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#112-200" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn debug_body(ctx: &EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `debug_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, debug_body"><title>debug_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="debug_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">debug_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#113-201" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn debug_body(ctx: &EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `header` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, header"><title>header in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="header" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">header</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#253-290" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn header(<br> ctx: &EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> tab: <a class="enum" href="../enum.Tab.html" title="enum game::info::Tab">Tab</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `header` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, header"><title>header in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="header" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">header</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#254-291" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn header(<br> ctx: &EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> tab: <a class="enum" href="../enum.Tab.html" title="enum game::info::Tab">Tab</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `info_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, info_body"><title>info_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="info_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">info_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#17-103" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn info_body(ctx: &EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `info_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, info_body"><title>info_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="info_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">info_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#17-104" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn info_body(ctx: &EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `traffic` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, traffic"><title>traffic in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="traffic" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">traffic</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#202-213" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn traffic(<br> ctx: &mut EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> opts: &<a class="struct" href="../struct.DataOptions.html" title="struct game::info::DataOptions">DataOptions</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `traffic` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, traffic"><title>traffic in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="traffic" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">traffic</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#203-214" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn traffic(<br> ctx: &mut EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> opts: &<a class="struct" href="../struct.DataOptions.html" title="struct game::info::DataOptions">DataOptions</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `traffic_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, traffic_body"><title>traffic_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="traffic_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">traffic_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#215-251" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn traffic_body(<br> ctx: &mut EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> opts: &<a class="struct" href="../struct.DataOptions.html" title="struct game::info::DataOptions">DataOptions</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `traffic_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, traffic_body"><title>traffic_body in game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a></h2><div id="sidebar-vars" data-name="traffic_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">lane</a>::<wbr><a class="fn" href="#">traffic_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#216-252" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn traffic_body(<br> ctx: &mut EventCtx<'_>, <br> app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, <br> id: <a class="struct" href="../../../map_model/objects/lane/struct.LaneID.html" title="struct map_model::objects::lane::LaneID">LaneID</a>, <br> opts: &<a class="struct" href="../struct.DataOptions.html" title="struct game::info::DataOptions">DataOptions</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `lane` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, lane"><title>game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module lane</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="lane" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">lane</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#1-290" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `lane` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, lane"><title>game::info::lane - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module lane</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="lane" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">lane</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/lane.rs.html#1-291" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.debug.html" title="game::info::lane::debug fn">debug</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.debug_body.html" title="game::info::lane::debug_body fn">debug_body</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.header.html" title="game::info::lane::header fn">header</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info.html" title="game::info::lane::info fn">info</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info_body.html" title="game::info::lane::info_body fn">info_body</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.traffic.html" title="game::info::lane::traffic fn">traffic</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.traffic_body.html" title="game::info::lane::traffic_body fn">traffic_body</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.debug.html" title="game::info::lane::debug fn">debug</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.debug_body.html" title="game::info::lane::debug_body fn">debug_body</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.header.html" title="game::info::lane::header fn">header</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info.html" title="game::info::lane::info fn">info</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info_body.html" title="game::info::lane::info_body fn">info_body</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.traffic.html" title="game::info::lane::traffic fn">traffic</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.traffic_body.html" title="game::info::lane::traffic_body fn">traffic_body</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `header` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, header"><title>header in game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a></h2><div id="sidebar-vars" data-name="header" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a>::<wbr><a class="fn" href="#">header</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#85-98" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn header(<br> ctx: &EventCtx<'_>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/parking_lot/struct.ParkingLotID.html" title="struct map_model::objects::parking_lot::ParkingLotID">ParkingLotID</a>, <br> tab: <a class="enum" href="../enum.Tab.html" title="enum game::info::Tab">Tab</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `header` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, header"><title>header in game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a></h2><div id="sidebar-vars" data-name="header" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a>::<wbr><a class="fn" href="#">header</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#86-99" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn header(<br> ctx: &EventCtx<'_>, <br> details: &mut <a class="struct" href="../struct.Details.html" title="struct game::info::Details">Details</a>, <br> id: <a class="struct" href="../../../map_model/objects/parking_lot/struct.ParkingLotID.html" title="struct map_model::objects::parking_lot::ParkingLotID">ParkingLotID</a>, <br> tab: <a class="enum" href="../enum.Tab.html" title="enum game::info::Tab">Tab</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `info_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, info_body"><title>info_body in game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a></h2><div id="sidebar-vars" data-name="info_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a>::<wbr><a class="fn" href="#">info_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#17-83" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn info_body(ctx: &mut EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/parking_lot/struct.ParkingLotID.html" title="struct map_model::objects::parking_lot::ParkingLotID">ParkingLotID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `info_body` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, info_body"><title>info_body in game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a></h2><div id="sidebar-vars" data-name="info_body" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">parking_lot</a>::<wbr><a class="fn" href="#">info_body</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#17-84" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn info_body(ctx: &mut EventCtx<'_>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>, id: <a class="struct" href="../../../map_model/objects/parking_lot/struct.ParkingLotID.html" title="struct map_model::objects::parking_lot::ParkingLotID">ParkingLotID</a>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `parking_lot` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, parking_lot"><title>game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module parking_lot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="parking_lot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">parking_lot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#1-98" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `parking_lot` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, parking_lot"><title>game::info::parking_lot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module parking_lot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="parking_lot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">parking_lot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/parking_lot.rs.html#1-99" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.header.html" title="game::info::parking_lot::header fn">header</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info.html" title="game::info::parking_lot::info fn">info</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info_body.html" title="game::info::parking_lot::info_body fn">info_body</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.header.html" title="game::info::parking_lot::header fn">header</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info.html" title="game::info::parking_lot::info fn">info</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.info_body.html" title="game::info::parking_lot::info_body fn">info_body</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `endpoint` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, endpoint"><title>endpoint in game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a></h2><div id="sidebar-vars" data-name="endpoint" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">endpoint</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#924-950" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn endpoint(endpt: &<a class="enum" href="../../../sim/make/spawner/enum.TripEndpoint.html" title="enum sim::make::spawner::TripEndpoint">TripEndpoint</a>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a><a class="enum" href="../../../map_gui/enum.ID.html" title="enum map_gui::ID">ID</a>, <a class="struct" href="../../../geom/pt/struct.Pt2D.html" title="struct geom::pt::Pt2D">Pt2D</a>, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a><a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `endpoint` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, endpoint"><title>endpoint in game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a></h2><div id="sidebar-vars" data-name="endpoint" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">endpoint</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#933-959" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn endpoint(endpt: &<a class="enum" href="../../../sim/make/spawner/enum.TripEndpoint.html" title="enum sim::make::spawner::TripEndpoint">TripEndpoint</a>, app: &<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a><a class="enum" href="../../../map_gui/enum.ID.html" title="enum map_gui::ID">ID</a>, <a class="struct" href="../../../geom/pt/struct.Pt2D.html" title="struct geom::pt::Pt2D">Pt2D</a>, <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a><a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_elevation` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, make_elevation"><title>make_elevation in game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a></h2><div id="sidebar-vars" data-name="make_elevation" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">make_elevation</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#886-921" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn make_elevation(<br> ctx: &EventCtx<'_>, <br> color: Color, <br> walking: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>, <br> path: &<a class="struct" href="../../../map_model/pathfind/v1/struct.Path.html" title="struct map_model::pathfind::v1::Path">Path</a>, <br> map: &<a class="struct" href="../../../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_elevation` fn in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, make_elevation"><title>make_elevation in game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a></h2><div id="sidebar-vars" data-name="make_elevation" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">make_elevation</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#887-930" title="goto source code">[src]</a></span></h1><pre class="rust fn">fn make_elevation(<br> ctx: &EventCtx<'_>, <br> color: Color, <br> walking: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>, <br> path: &<a class="struct" href="../../../map_model/pathfind/v1/struct.Path.html" title="struct map_model::pathfind::v1::Path">Path</a>, <br> map: &<a class="struct" href="../../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>, <br> unit_fmt: <a class="struct" href="../../../geom/struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a><br>) -> Widget</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `trip` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, trip"><title>game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module trip</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="trip" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">trip</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#1-950" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `trip` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, trip"><title>game::info::trip - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module trip</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="trip" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a class="mod" href="#">trip</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/info/trip.rs.html#1-959" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.OpenTrip.html" title="game::info::trip::OpenTrip struct">OpenTrip</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.OpenTrip.html" title="game::info::trip::OpenTrip struct">OpenTrip</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.cancelled.html" title="game::info::trip::cancelled fn">cancelled</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.describe_problems.html" title="game::info::trip::describe_problems fn">describe_problems</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.draw_problems.html" title="game::info::trip::draw_problems fn">draw_problems</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.endpoint.html" title="game::info::trip::endpoint fn">endpoint</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.finished.html" title="game::info::trip::finished fn">finished</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.future.html" title="game::info::trip::future fn">future</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_elevation.html" title="game::info::trip::make_elevation fn">make_elevation</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_timeline.html" title="game::info::trip::make_timeline fn">make_timeline</a></div><div class="item-right docblock-short"><p>Draws the timeline for a single trip, with tooltips</p>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.cancelled.html" title="game::info::trip::cancelled fn">cancelled</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.describe_problems.html" title="game::info::trip::describe_problems fn">describe_problems</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.draw_problems.html" title="game::info::trip::draw_problems fn">draw_problems</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.endpoint.html" title="game::info::trip::endpoint fn">endpoint</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.finished.html" title="game::info::trip::finished fn">finished</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.future.html" title="game::info::trip::future fn">future</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_elevation.html" title="game::info::trip::make_elevation fn">make_elevation</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_timeline.html" title="game::info::trip::make_timeline fn">make_timeline</a></div><div class="item-right docblock-short"><p>Draws the timeline for a single trip, with tooltips</p>
|
||||||
</div><div class="item-left module-item"><a class="fn" href="fn.make_trip_details.html" title="game::info::trip::make_trip_details fn">make_trip_details</a></div><div class="item-right docblock-short"><p>Creates the timeline, location warp, and time warp buttons for one trip, and draws the route on
|
</div><div class="item-left module-item"><a class="fn" href="fn.make_trip_details.html" title="game::info::trip::make_trip_details fn">make_trip_details</a></div><div class="item-right docblock-short"><p>Creates the timeline, location warp, and time warp buttons for one trip, and draws the route on
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The build time in RFC2822, UTC."><meta name="keywords" content="rust, rustlang, rust-lang, BUILT_TIME_UTC"><title>BUILT_TIME_UTC in game::pregame::built_info - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a></h2><div id="sidebar-vars" data-name="BUILT_TIME_UTC" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html#78" title="goto source code">[src]</a></span></h1><pre class="rust const">pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a> = r"Sat, 18 Sep 2021 20:19:18 +0000";</pre><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The build time in RFC2822, UTC."><meta name="keywords" content="rust, rustlang, rust-lang, BUILT_TIME_UTC"><title>BUILT_TIME_UTC in game::pregame::built_info - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a></h2><div id="sidebar-vars" data-name="BUILT_TIME_UTC" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">game</a>::<wbr><a href="../index.html">pregame</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html#78" title="goto source code">[src]</a></span></h1><pre class="rust const">pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.str.html">str</a> = r"Sat, 18 Sep 2021 21:16:14 +0000";</pre><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
||||||
</div></details></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
</div></details></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="game" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `misc` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, misc"><title>game::sandbox::dashboards::misc - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../../storage.js"></script><script src="../../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module misc</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="misc" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">dashboards</a>::<wbr><a class="mod" href="#">misc</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../../src/game/sandbox/dashboards/misc.rs.html#1-247" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `misc` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, misc"><title>game::sandbox::dashboards::misc - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../../storage.js"></script><script src="../../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module misc</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="misc" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">dashboards</a>::<wbr><a class="mod" href="#">misc</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../../src/game/sandbox/dashboards/misc.rs.html#1-253" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ActiveTraffic.html" title="game::sandbox::dashboards::misc::ActiveTraffic struct">ActiveTraffic</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.TransitRoutes.html" title="game::sandbox::dashboards::misc::TransitRoutes struct">TransitRoutes</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ActiveTraffic.html" title="game::sandbox::dashboards::misc::ActiveTraffic struct">ActiveTraffic</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.TransitRoutes.html" title="game::sandbox::dashboards::misc::TransitRoutes struct">TransitRoutes</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.downsample.html" title="game::sandbox::dashboards::misc::downsample fn">downsample</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="game" data-search-index-js="../../../../search-index.js" data-search-js="../../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.downsample.html" title="game::sandbox::dashboards::misc::downsample fn">downsample</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="game" data-search-index-js="../../../../search-index.js" data-search-js="../../../../search.js"></div>
|
||||||
<script src="../../../../main.js"></script>
|
<script src="../../../../main.js"></script>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `play_scenario` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, play_scenario"><title>game::sandbox::gameplay::play_scenario - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../../storage.js"></script><script src="../../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module play_scenario</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="play_scenario" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">gameplay</a>::<wbr><a class="mod" href="#">play_scenario</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../../src/game/sandbox/gameplay/play_scenario.rs.html#1-688" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `play_scenario` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, play_scenario"><title>game::sandbox::gameplay::play_scenario - Rust</title><link rel="stylesheet" type="text/css" href="../../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../../storage.js"></script><script src="../../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module play_scenario</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="play_scenario" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">gameplay</a>::<wbr><a class="mod" href="#">play_scenario</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../../src/game/sandbox/gameplay/play_scenario.rs.html#1-689" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ChangeMode.html" title="game::sandbox::gameplay::play_scenario::ChangeMode struct">ChangeMode</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.CountTrips.html" title="game::sandbox::gameplay::play_scenario::CountTrips struct">CountTrips</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.DepartureSummary.html" title="game::sandbox::gameplay::play_scenario::DepartureSummary struct">DepartureSummary</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.EditScenarioModifiers.html" title="game::sandbox::gameplay::play_scenario::EditScenarioModifiers struct">EditScenarioModifiers</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.PlayScenario.html" title="game::sandbox::gameplay::play_scenario::PlayScenario struct">PlayScenario</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="game" data-search-index-js="../../../../search-index.js" data-search-js="../../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ChangeMode.html" title="game::sandbox::gameplay::play_scenario::ChangeMode struct">ChangeMode</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.CountTrips.html" title="game::sandbox::gameplay::play_scenario::CountTrips struct">CountTrips</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.DepartureSummary.html" title="game::sandbox::gameplay::play_scenario::DepartureSummary struct">DepartureSummary</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.EditScenarioModifiers.html" title="game::sandbox::gameplay::play_scenario::EditScenarioModifiers struct">EditScenarioModifiers</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.PlayScenario.html" title="game::sandbox::gameplay::play_scenario::PlayScenario struct">PlayScenario</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="game" data-search-index-js="../../../../search-index.js" data-search-js="../../../../search.js"></div>
|
||||||
<script src="../../../../main.js"></script>
|
<script src="../../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `route` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, route"><title>game::ungap::route - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module route</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li></ul></div><div id="sidebar-vars" data-name="route" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">ungap</a>::<wbr><a class="mod" href="#">route</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/ungap/route.rs.html#1-779" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `route` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, route"><title>game::ungap::route - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module route</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li></ul></div><div id="sidebar-vars" data-name="route" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">game</a>::<wbr><a href="../index.html">ungap</a>::<wbr><a class="mod" href="#">route</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/game/ungap/route.rs.html#1-780" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.NamedRoute.html" title="game::ungap::route::NamedRoute struct">NamedRoute</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.RenameEdits.html" title="game::ungap::route::RenameEdits struct">RenameEdits</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.RouteManagement.html" title="game::ungap::route::RouteManagement struct">RouteManagement</a></div><div class="item-right docblock-short"><p>Save sequences of waypoints as named routes. Basic file management – save, load, browse. This
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.NamedRoute.html" title="game::ungap::route::NamedRoute struct">NamedRoute</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.RenameEdits.html" title="game::ungap::route::RenameEdits struct">RenameEdits</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.RouteManagement.html" title="game::ungap::route::RouteManagement struct">RouteManagement</a></div><div class="item-right docblock-short"><p>Save sequences of waypoints as named routes. Basic file management – save, load, browse. This
|
||||||
is useful to define “test cases,” then edit the bike network and “run the tests” to compare
|
is useful to define “test cases,” then edit the bike network and “run the tests” to compare
|
||||||
results.</p>
|
results.</p>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Specifies how to stringify different geom objects."><meta name="keywords" content="rust, rustlang, rust-lang, UnitFmt"><title>UnitFmt in geom - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../geom/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct UnitFmt</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.metric">metric</a><a href="#structfield.round_durations">round_durations</a></div><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><a href="#impl-Serialize">Serialize</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">geom</a></h2><div id="sidebar-vars" data-name="UnitFmt" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">geom</a>::<wbr><a class="struct" href="#">UnitFmt</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/geom/lib.rs.html#68-73" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct UnitFmt {
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Specifies how to stringify different geom objects."><meta name="keywords" content="rust, rustlang, rust-lang, UnitFmt"><title>UnitFmt in geom - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../geom/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct UnitFmt</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.metric">metric</a><a href="#structfield.round_durations">round_durations</a></div><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><a href="#impl-Serialize">Serialize</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">geom</a></h2><div id="sidebar-vars" data-name="UnitFmt" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">geom</a>::<wbr><a class="struct" href="#">UnitFmt</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/geom/lib.rs.html#68-73" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct UnitFmt {
|
||||||
pub round_durations: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>,
|
pub round_durations: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>,
|
||||||
pub metric: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>,
|
pub metric: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a>,
|
||||||
}</pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Specifies how to stringify different geom objects.</p>
|
}</pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Specifies how to stringify different geom objects.</p>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.clone_from" class="method trait-impl has-srclink"><div class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/clone.rs.html#130" title="goto source code">[src]</a></div><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.55.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&</a>Self)</h4></div></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.55.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.clone_from" class="method trait-impl has-srclink"><div class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/clone.rs.html#130" title="goto source code">[src]</a></div><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.55.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&</a>Self)</h4></div></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.55.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deserialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="type" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></div></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deserialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="type" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></div></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Serialize" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#impl-Serialize" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.serialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#method.serialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> __S: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></h4></div></summary><div class='docblock'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Serialize" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#impl-Serialize" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.serialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#method.serialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> __S: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></h4></div></summary><div class='docblock'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
|
||||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
</div></details></div></details><div id="impl-Copy" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/geom/lib.rs.html#67" title="goto source code">[src]</a></div><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Borrow%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#208-213" title="goto source code">[src]</a></div><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="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 <span class="where fmt-newline">where<br> T: ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#210" title="goto source code">[src]</a></div><a href="#method.borrow" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&</a>T</h4></div></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Borrow%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#208-213" title="goto source code">[src]</a></div><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="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 <span class="where fmt-newline">where<br> T: ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#210" title="goto source code">[src]</a></div><a href="#method.borrow" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&</a>T</h4></div></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#216-220" title="goto source code">[src]</a></div><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="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 <span class="where fmt-newline">where<br> T: ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow_mut" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#217" title="goto source code">[src]</a></div><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>T</h4></div></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#216-220" title="goto source code">[src]</a></div><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="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 <span class="where fmt-newline">where<br> T: ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.borrow_mut" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/borrow.rs.html#217" title="goto source code">[src]</a></div><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>T</h4></div></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.55.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/convert/mod.rs.html#546-550" title="goto source code">[src]</a></div><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/convert/mod.rs.html#547" title="goto source code">[src]</a></div><a href="#method.from" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CT%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/convert/mod.rs.html#546-550" title="goto source code">[src]</a></div><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/convert/mod.rs.html#547" title="goto source code">[src]</a></div><a href="#method.from" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -175,7 +175,7 @@
|
|||||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">RUSTDOC_VERSION</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"rustdoc 1.55.0 (c8dfcfe04 2021-09-06)"</span>;
|
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">RUSTDOC_VERSION</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"rustdoc 1.55.0 (c8dfcfe04 2021-09-06)"</span>;
|
||||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The build time in RFC2822, UTC."#</span>]</span>
|
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The build time in RFC2822, UTC."#</span>]</span>
|
||||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
||||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"Sat, 18 Sep 2021 20:19:18 +0000"</span>;
|
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"Sat, 18 Sep 2021 21:16:14 +0000"</span>;
|
||||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#</span>]</span>
|
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#</span>]</span>
|
||||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
||||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">CFG_TARGET_ARCH</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"x86_64"</span>;
|
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">CFG_TARGET_ARCH</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"x86_64"</span>;
|
||||||
|
@ -899,9 +899,9 @@
|
|||||||
.<span class="ident">small_heading</span>()
|
.<span class="ident">small_heading</span>()
|
||||||
.<span class="ident">into_widget</span>(<span class="ident">ctx</span>),
|
.<span class="ident">into_widget</span>(<span class="ident">ctx</span>),
|
||||||
<span class="kw">if</span> <span class="ident">fan_chart</span> {
|
<span class="kw">if</span> <span class="ident">fan_chart</span> {
|
||||||
<span class="ident">FanChart::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>)
|
<span class="ident">FanChart::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>, <span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>)
|
||||||
} <span class="kw">else</span> {
|
} <span class="kw">else</span> {
|
||||||
<span class="ident">ScatterPlot::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>)
|
<span class="ident">ScatterPlot::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>, <span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>)
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
.<span class="ident">padding</span>(<span class="number">10</span>)
|
.<span class="ident">padding</span>(<span class="number">10</span>)
|
||||||
|
@ -288,6 +288,7 @@
|
|||||||
<span id="288">288</span>
|
<span id="288">288</span>
|
||||||
<span id="289">289</span>
|
<span id="289">289</span>
|
||||||
<span id="290">290</span>
|
<span id="290">290</span>
|
||||||
|
<span id="291">291</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
||||||
|
|
||||||
@ -382,6 +383,7 @@
|
|||||||
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">capacity</span>),
|
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">capacity</span>),
|
||||||
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
||||||
},
|
},
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.<span class="ident">padding</span>(<span class="number">10</span>)
|
.<span class="ident">padding</span>(<span class="number">10</span>)
|
||||||
|
@ -1525,7 +1525,7 @@
|
|||||||
<span class="ident">plot_opts</span>.<span class="ident">disabled</span> <span class="op">=</span> <span class="ident">opts</span>.<span class="ident">disabled_series</span>();
|
<span class="ident">plot_opts</span>.<span class="ident">disabled</span> <span class="op">=</span> <span class="ident">opts</span>.<span class="ident">disabled_series</span>();
|
||||||
<span class="ident">Widget::col</span>(<span class="macro">vec!</span>[
|
<span class="ident">Widget::col</span>(<span class="macro">vec!</span>[
|
||||||
<span class="ident">Line</span>(<span class="ident">title</span>).<span class="ident">small_heading</span>().<span class="ident">into_widget</span>(<span class="ident">ctx</span>),
|
<span class="ident">Line</span>(<span class="ident">title</span>).<span class="ident">small_heading</span>().<span class="ident">into_widget</span>(<span class="ident">ctx</span>),
|
||||||
<span class="ident">LinePlot::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">title</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>),
|
<span class="ident">LinePlot::new_widget</span>(<span class="ident">ctx</span>, <span class="ident">title</span>, <span class="ident">series</span>, <span class="ident">plot_opts</span>, <span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>),
|
||||||
])
|
])
|
||||||
.<span class="ident">padding</span>(<span class="number">10</span>)
|
.<span class="ident">padding</span>(<span class="number">10</span>)
|
||||||
.<span class="ident">bg</span>(<span class="ident">app</span>.<span class="ident">cs</span>.<span class="ident">inner_panel_bg</span>)
|
.<span class="ident">bg</span>(<span class="ident">app</span>.<span class="ident">cs</span>.<span class="ident">inner_panel_bg</span>)
|
||||||
|
@ -96,6 +96,7 @@
|
|||||||
<span id="96">96</span>
|
<span id="96">96</span>
|
||||||
<span id="97">97</span>
|
<span id="97">97</span>
|
||||||
<span id="98">98</span>
|
<span id="98">98</span>
|
||||||
|
<span id="99">99</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
||||||
|
|
||||||
@ -162,6 +163,7 @@
|
|||||||
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">capacity</span>),
|
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">capacity</span>),
|
||||||
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
||||||
},
|
},
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.<span class="ident">padding</span>(<span class="number">10</span>)
|
.<span class="ident">padding</span>(<span class="number">10</span>)
|
||||||
|
@ -948,12 +948,21 @@
|
|||||||
<span id="948">948</span>
|
<span id="948">948</span>
|
||||||
<span id="949">949</span>
|
<span id="949">949</span>
|
||||||
<span id="950">950</span>
|
<span id="950">950</span>
|
||||||
|
<span id="951">951</span>
|
||||||
|
<span id="952">952</span>
|
||||||
|
<span id="953">953</span>
|
||||||
|
<span id="954">954</span>
|
||||||
|
<span id="955">955</span>
|
||||||
|
<span id="956">956</span>
|
||||||
|
<span id="957">957</span>
|
||||||
|
<span id="958">958</span>
|
||||||
|
<span id="959">959</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">HashSet</span>};
|
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">HashSet</span>};
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="ident">maplit::btreemap</span>;
|
<span class="kw">use</span> <span class="ident">maplit::btreemap</span>;
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">Percent</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>};
|
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">Percent</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>, <span class="ident">UnitFmt</span>};
|
||||||
<span class="kw">use</span> <span class="ident">map_gui::ID</span>;
|
<span class="kw">use</span> <span class="ident">map_gui::ID</span>;
|
||||||
<span class="kw">use</span> <span class="ident">map_model</span>::{<span class="ident">Map</span>, <span class="ident">Path</span>, <span class="ident">PathStep</span>, <span class="ident">Traversable</span>};
|
<span class="kw">use</span> <span class="ident">map_model</span>::{<span class="ident">Map</span>, <span class="ident">Path</span>, <span class="ident">PathStep</span>, <span class="ident">Traversable</span>};
|
||||||
<span class="kw">use</span> <span class="ident">sim</span>::{
|
<span class="kw">use</span> <span class="ident">sim</span>::{
|
||||||
@ -1728,6 +1737,7 @@
|
|||||||
<span class="ident">p</span>.<span class="ident">phase_type</span> <span class="op">=</span><span class="op">=</span> <span class="ident">TripPhaseType::Walking</span>,
|
<span class="ident">p</span>.<span class="ident">phase_type</span> <span class="op">=</span><span class="op">=</span> <span class="ident">TripPhaseType::Walking</span>,
|
||||||
<span class="ident">path</span>,
|
<span class="ident">path</span>,
|
||||||
<span class="ident">map_for_pathfinding</span>,
|
<span class="ident">map_for_pathfinding</span>,
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1834,7 +1844,14 @@
|
|||||||
<span class="ident">Widget::col</span>(<span class="ident">col</span>)
|
<span class="ident">Widget::col</span>(<span class="ident">col</span>)
|
||||||
}
|
}
|
||||||
|
|
||||||
<span class="kw">fn</span> <span class="ident">make_elevation</span>(<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>, <span class="ident">color</span>: <span class="ident">Color</span>, <span class="ident">walking</span>: <span class="ident">bool</span>, <span class="ident">path</span>: <span class="kw-2">&</span><span class="ident">Path</span>, <span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
<span class="kw">fn</span> <span class="ident">make_elevation</span>(
|
||||||
|
<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>,
|
||||||
|
<span class="ident">color</span>: <span class="ident">Color</span>,
|
||||||
|
<span class="ident">walking</span>: <span class="ident">bool</span>,
|
||||||
|
<span class="ident">path</span>: <span class="kw-2">&</span><span class="ident">Path</span>,
|
||||||
|
<span class="ident">map</span>: <span class="kw-2">&</span><span class="ident">Map</span>,
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">UnitFmt</span>,
|
||||||
|
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">pts</span>: <span class="ident">Vec</span><span class="op"><</span>(<span class="ident">Distance</span>, <span class="ident">Distance</span>)<span class="op">></span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">pts</span>: <span class="ident">Vec</span><span class="op"><</span>(<span class="ident">Distance</span>, <span class="ident">Distance</span>)<span class="op">></span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">dist</span> <span class="op">=</span> <span class="ident">Distance::ZERO</span>;
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">dist</span> <span class="op">=</span> <span class="ident">Distance::ZERO</span>;
|
||||||
<span class="kw">for</span> <span class="ident">step</span> <span class="kw">in</span> <span class="ident">path</span>.<span class="ident">get_steps</span>() {
|
<span class="kw">for</span> <span class="ident">step</span> <span class="kw">in</span> <span class="ident">path</span>.<span class="ident">get_steps</span>() {
|
||||||
@ -1868,6 +1885,7 @@
|
|||||||
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">map</span>.<span class="ident">max_elevation</span>().<span class="ident">round_up_for_axis</span>()),
|
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">map</span>.<span class="ident">max_elevation</span>().<span class="ident">round_up_for_axis</span>()),
|
||||||
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
||||||
},
|
},
|
||||||
|
<span class="ident">unit_fmt</span>,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -245,6 +245,12 @@
|
|||||||
<span id="245">245</span>
|
<span id="245">245</span>
|
||||||
<span id="246">246</span>
|
<span id="246">246</span>
|
||||||
<span id="247">247</span>
|
<span id="247">247</span>
|
||||||
|
<span id="248">248</span>
|
||||||
|
<span id="249">249</span>
|
||||||
|
<span id="250">250</span>
|
||||||
|
<span id="251">251</span>
|
||||||
|
<span id="252">252</span>
|
||||||
|
<span id="253">253</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">abstutil</span>::{<span class="ident">prettyprint_usize</span>, <span class="ident">Counter</span>};
|
<span class="kw">use</span> <span class="ident">abstutil</span>::{<span class="ident">prettyprint_usize</span>, <span class="ident">Counter</span>};
|
||||||
<span class="kw">use</span> <span class="ident">geom::Time</span>;
|
<span class="kw">use</span> <span class="ident">geom::Time</span>;
|
||||||
@ -293,8 +299,14 @@
|
|||||||
<span class="ident">Box::new</span>(<span class="ident">ActiveTraffic</span> {
|
<span class="ident">Box::new</span>(<span class="ident">ActiveTraffic</span> {
|
||||||
<span class="ident">panel</span>: <span class="ident">Panel::new_builder</span>(<span class="ident">Widget::col</span>(<span class="macro">vec!</span>[
|
<span class="ident">panel</span>: <span class="ident">Panel::new_builder</span>(<span class="ident">Widget::col</span>(<span class="macro">vec!</span>[
|
||||||
<span class="ident">DashTab::ActiveTraffic</span>.<span class="ident">picker</span>(<span class="ident">ctx</span>, <span class="ident">app</span>),
|
<span class="ident">DashTab::ActiveTraffic</span>.<span class="ident">picker</span>(<span class="ident">ctx</span>, <span class="ident">app</span>),
|
||||||
<span class="ident">LinePlot::new_widget</span>(<span class="ident">ctx</span>, <span class="string">"active traffic"</span>, <span class="ident">active_agents</span>, <span class="ident">PlotOptions::fixed</span>())
|
<span class="ident">LinePlot::new_widget</span>(
|
||||||
.<span class="ident">section</span>(<span class="ident">ctx</span>),
|
<span class="ident">ctx</span>,
|
||||||
|
<span class="string">"active traffic"</span>,
|
||||||
|
<span class="ident">active_agents</span>,
|
||||||
|
<span class="ident">PlotOptions::fixed</span>(),
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
|
)
|
||||||
|
.<span class="ident">section</span>(<span class="ident">ctx</span>),
|
||||||
]))
|
]))
|
||||||
.<span class="ident">exact_size_percent</span>(<span class="number">90</span>, <span class="number">90</span>)
|
.<span class="ident">exact_size_percent</span>(<span class="number">90</span>, <span class="number">90</span>)
|
||||||
.<span class="ident">build</span>(<span class="ident">ctx</span>),
|
.<span class="ident">build</span>(<span class="ident">ctx</span>),
|
||||||
|
@ -686,6 +686,7 @@
|
|||||||
<span id="686">686</span>
|
<span id="686">686</span>
|
||||||
<span id="687">687</span>
|
<span id="687">687</span>
|
||||||
<span id="688">688</span>
|
<span id="688">688</span>
|
||||||
|
<span id="689">689</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">BTreeSet</span>};
|
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">BTreeSet</span>};
|
||||||
|
|
||||||
@ -1295,6 +1296,7 @@
|
|||||||
<span class="ident">pts</span>,
|
<span class="ident">pts</span>,
|
||||||
}],
|
}],
|
||||||
<span class="ident">PlotOptions::fixed</span>(),
|
<span class="ident">PlotOptions::fixed</span>(),
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
)
|
)
|
||||||
.<span class="ident">section</span>(<span class="ident">ctx</span>),
|
.<span class="ident">section</span>(<span class="ident">ctx</span>),
|
||||||
<span class="kw">if</span> <span class="ident">first_trip</span> <span class="op">-</span> <span class="ident">app</span>.<span class="ident">primary</span>.<span class="ident">sim</span>.<span class="ident">time</span>() <span class="op">></span> <span class="ident">Duration::minutes</span>(<span class="number">15</span>) {
|
<span class="kw">if</span> <span class="ident">first_trip</span> <span class="op">-</span> <span class="ident">app</span>.<span class="ident">primary</span>.<span class="ident">sim</span>.<span class="ident">time</span>() <span class="op">></span> <span class="ident">Duration::minutes</span>(<span class="number">15</span>) {
|
||||||
|
@ -777,6 +777,7 @@
|
|||||||
<span id="777">777</span>
|
<span id="777">777</span>
|
||||||
<span id="778">778</span>
|
<span id="778">778</span>
|
||||||
<span id="779">779</span>
|
<span id="779">779</span>
|
||||||
|
<span id="780">780</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">HashSet</span>};
|
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">HashSet</span>};
|
||||||
|
|
||||||
@ -1127,6 +1128,7 @@
|
|||||||
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">map</span>.<span class="ident">max_elevation</span>().<span class="ident">round_up_for_axis</span>()),
|
<span class="ident">max_y</span>: <span class="prelude-val">Some</span>(<span class="ident">map</span>.<span class="ident">max_elevation</span>().<span class="ident">round_up_for_axis</span>()),
|
||||||
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
||||||
},
|
},
|
||||||
|
<span class="ident">app</span>.<span class="ident">opts</span>.<span class="ident">units</span>,
|
||||||
),
|
),
|
||||||
]))
|
]))
|
||||||
.<span class="ident">aligned</span>(<span class="ident">HorizontalAlignment::Right</span>, <span class="ident">VerticalAlignment::Top</span>)
|
.<span class="ident">aligned</span>(<span class="ident">HorizontalAlignment::Right</span>, <span class="ident">VerticalAlignment::Top</span>)
|
||||||
|
@ -204,7 +204,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
<span class="doccomment">/// Specifies how to stringify different geom objects.</span>
|
<span class="doccomment">/// Specifies how to stringify different geom objects.</span>
|
||||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Serialize</span>, <span class="ident">Deserialize</span>)]</span>
|
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Clone</span>, <span class="ident">Serialize</span>, <span class="ident">Deserialize</span>, <span class="ident">Copy</span>)]</span>
|
||||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">UnitFmt</span> {
|
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">UnitFmt</span> {
|
||||||
<span class="doccomment">/// Round `Duration`s to a whole number of seconds.</span>
|
<span class="doccomment">/// Round `Duration`s to a whole number of seconds.</span>
|
||||||
<span class="kw">pub</span> <span class="ident">round_durations</span>: <span class="ident">bool</span>,
|
<span class="kw">pub</span> <span class="ident">round_durations</span>: <span class="ident">bool</span>,
|
||||||
|
@ -227,11 +227,19 @@
|
|||||||
<span id="227">227</span>
|
<span id="227">227</span>
|
||||||
<span id="228">228</span>
|
<span id="228">228</span>
|
||||||
<span id="229">229</span>
|
<span id="229">229</span>
|
||||||
|
<span id="230">230</span>
|
||||||
|
<span id="231">231</span>
|
||||||
|
<span id="232">232</span>
|
||||||
|
<span id="233">233</span>
|
||||||
|
<span id="234">234</span>
|
||||||
|
<span id="235">235</span>
|
||||||
|
<span id="236">236</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections::VecDeque</span>;
|
<span class="kw">use</span> <span class="ident">std::collections::VecDeque</span>;
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="ident">geom</span>::{
|
<span class="kw">use</span> <span class="ident">geom</span>::{
|
||||||
<span class="ident">Angle</span>, <span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">HgramValue</span>, <span class="ident">Histogram</span>, <span class="ident">PolyLine</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>, <span class="ident">Statistic</span>, <span class="ident">Time</span>,
|
<span class="ident">Angle</span>, <span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">HgramValue</span>, <span class="ident">Histogram</span>, <span class="ident">PolyLine</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>, <span class="ident">Statistic</span>, <span class="ident">Time</span>,
|
||||||
|
<span class="ident">UnitFmt</span>,
|
||||||
};
|
};
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">thick_lineseries</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>};
|
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">thick_lineseries</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>};
|
||||||
@ -253,6 +261,7 @@
|
|||||||
<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>,
|
<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>,
|
||||||
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
||||||
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span>,
|
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span>,
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">UnitFmt</span>,
|
||||||
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
||||||
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
||||||
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
||||||
@ -394,7 +403,12 @@
|
|||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
||||||
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
||||||
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
||||||
<span class="ident">col</span>.<span class="ident">push</span>(<span class="ident">max_y</span>.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>).<span class="ident">prettyprint</span>().<span class="ident">text_widget</span>(<span class="ident">ctx</span>));
|
<span class="ident">col</span>.<span class="ident">push</span>(
|
||||||
|
<span class="ident">max_y</span>
|
||||||
|
.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>)
|
||||||
|
.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="ident">unit_fmt</span>)
|
||||||
|
.<span class="ident">text_widget</span>(<span class="ident">ctx</span>),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
||||||
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
||||||
|
@ -269,8 +269,20 @@
|
|||||||
<span id="269">269</span>
|
<span id="269">269</span>
|
||||||
<span id="270">270</span>
|
<span id="270">270</span>
|
||||||
<span id="271">271</span>
|
<span id="271">271</span>
|
||||||
|
<span id="272">272</span>
|
||||||
|
<span id="273">273</span>
|
||||||
|
<span id="274">274</span>
|
||||||
|
<span id="275">275</span>
|
||||||
|
<span id="276">276</span>
|
||||||
|
<span id="277">277</span>
|
||||||
|
<span id="278">278</span>
|
||||||
|
<span id="279">279</span>
|
||||||
|
<span id="280">280</span>
|
||||||
|
<span id="281">281</span>
|
||||||
|
<span id="282">282</span>
|
||||||
|
<span id="283">283</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Bounds</span>, <span class="ident">Circle</span>, <span class="ident">Distance</span>, <span class="ident">FindClosest</span>, <span class="ident">PolyLine</span>, <span class="ident">Pt2D</span>};
|
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Bounds</span>, <span class="ident">Circle</span>, <span class="ident">Distance</span>, <span class="ident">FindClosest</span>, <span class="ident">PolyLine</span>, <span class="ident">Pt2D</span>, <span class="ident">UnitFmt</span>};
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">thick_lineseries</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>, <span class="ident">Series</span>};
|
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">thick_lineseries</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>, <span class="ident">Series</span>};
|
||||||
<span class="kw">use</span> <span class="kw">crate</span>::{
|
<span class="kw">use</span> <span class="kw">crate</span>::{
|
||||||
@ -290,6 +302,7 @@
|
|||||||
|
|
||||||
<span class="ident">top_left</span>: <span class="ident">ScreenPt</span>,
|
<span class="ident">top_left</span>: <span class="ident">ScreenPt</span>,
|
||||||
<span class="ident">dims</span>: <span class="ident">ScreenDims</span>,
|
<span class="ident">dims</span>: <span class="ident">ScreenDims</span>,
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">UnitFmt</span>,
|
||||||
}
|
}
|
||||||
|
|
||||||
<span class="kw">impl</span><span class="op"><</span><span class="ident">X</span>: <span class="ident">Axis</span><span class="op"><</span><span class="ident">X</span><span class="op">></span>, <span class="ident">Y</span>: <span class="ident">Axis</span><span class="op"><</span><span class="ident">Y</span><span class="op">></span><span class="op">></span> <span class="ident">LinePlot</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span> {
|
<span class="kw">impl</span><span class="op"><</span><span class="ident">X</span>: <span class="ident">Axis</span><span class="op"><</span><span class="ident">X</span><span class="op">></span>, <span class="ident">Y</span>: <span class="ident">Axis</span><span class="op"><</span><span class="ident">Y</span><span class="op">></span><span class="op">></span> <span class="ident">LinePlot</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span> {
|
||||||
@ -300,6 +313,7 @@
|
|||||||
<span class="ident">label</span>: <span class="kw-2">&</span><span class="ident">str</span>,
|
<span class="ident">label</span>: <span class="kw-2">&</span><span class="ident">str</span>,
|
||||||
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
||||||
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span>,
|
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">X</span>, <span class="ident">Y</span><span class="op">></span>,
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">UnitFmt</span>,
|
||||||
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
||||||
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
||||||
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
||||||
@ -402,24 +416,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<span class="kw">let</span> <span class="ident">plot</span> <span class="op">=</span> <span class="ident">LinePlot</span> {
|
|
||||||
<span class="ident">draw</span>: <span class="ident">ctx</span>.<span class="ident">upload</span>(<span class="ident">batch</span>),
|
|
||||||
<span class="ident">closest</span>,
|
|
||||||
<span class="ident">max_x</span>,
|
|
||||||
<span class="ident">max_y</span>,
|
|
||||||
<span class="ident">hovering</span>: <span class="prelude-val">None</span>,
|
|
||||||
|
|
||||||
<span class="ident">top_left</span>: <span class="ident">ScreenPt::new</span>(<span class="number">0.0</span>, <span class="number">0.0</span>),
|
|
||||||
<span class="ident">dims</span>: <span class="ident">ScreenDims::new</span>(<span class="ident">width</span>, <span class="ident">height</span>),
|
|
||||||
};
|
|
||||||
|
|
||||||
<span class="kw">let</span> <span class="ident">num_x_labels</span> <span class="op">=</span> <span class="number">3</span>;
|
<span class="kw">let</span> <span class="ident">num_x_labels</span> <span class="op">=</span> <span class="number">3</span>;
|
||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">row</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">row</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
||||||
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_x_labels</span> {
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_x_labels</span> {
|
||||||
<span class="kw">let</span> <span class="ident">percent_x</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_x_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
<span class="kw">let</span> <span class="ident">percent_x</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_x_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
||||||
<span class="kw">let</span> <span class="ident">x</span> <span class="op">=</span> <span class="ident">max_x</span>.<span class="ident">from_percent</span>(<span class="ident">percent_x</span>);
|
<span class="kw">let</span> <span class="ident">x</span> <span class="op">=</span> <span class="ident">max_x</span>.<span class="ident">from_percent</span>(<span class="ident">percent_x</span>);
|
||||||
<span class="comment">// TODO Need ticks now to actually see where this goes</span>
|
<span class="comment">// TODO Need ticks now to actually see where this goes</span>
|
||||||
<span class="kw">let</span> <span class="ident">batch</span> <span class="op">=</span> <span class="ident">Text::from</span>(<span class="ident">x</span>.<span class="ident">prettyprint</span>())
|
<span class="kw">let</span> <span class="ident">batch</span> <span class="op">=</span> <span class="ident">Text::from</span>(<span class="ident">x</span>.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="ident">unit_fmt</span>))
|
||||||
.<span class="ident">render</span>(<span class="ident">ctx</span>)
|
.<span class="ident">render</span>(<span class="ident">ctx</span>)
|
||||||
.<span class="ident">rotate</span>(<span class="ident">Angle::degrees</span>(<span class="op">-</span><span class="number">15.0</span>))
|
.<span class="ident">rotate</span>(<span class="ident">Angle::degrees</span>(<span class="op">-</span><span class="number">15.0</span>))
|
||||||
.<span class="ident">autocrop</span>();
|
.<span class="ident">autocrop</span>();
|
||||||
@ -431,11 +434,28 @@
|
|||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
||||||
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
||||||
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
||||||
<span class="ident">col</span>.<span class="ident">push</span>(<span class="ident">max_y</span>.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>).<span class="ident">prettyprint</span>().<span class="ident">text_widget</span>(<span class="ident">ctx</span>));
|
<span class="ident">col</span>.<span class="ident">push</span>(
|
||||||
|
<span class="ident">max_y</span>
|
||||||
|
.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>)
|
||||||
|
.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="ident">unit_fmt</span>)
|
||||||
|
.<span class="ident">text_widget</span>(<span class="ident">ctx</span>),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
||||||
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
||||||
|
|
||||||
|
<span class="kw">let</span> <span class="ident">plot</span> <span class="op">=</span> <span class="ident">LinePlot</span> {
|
||||||
|
<span class="ident">draw</span>: <span class="ident">ctx</span>.<span class="ident">upload</span>(<span class="ident">batch</span>),
|
||||||
|
<span class="ident">closest</span>,
|
||||||
|
<span class="ident">max_x</span>,
|
||||||
|
<span class="ident">max_y</span>,
|
||||||
|
<span class="ident">hovering</span>: <span class="prelude-val">None</span>,
|
||||||
|
|
||||||
|
<span class="ident">top_left</span>: <span class="ident">ScreenPt::new</span>(<span class="number">0.0</span>, <span class="number">0.0</span>),
|
||||||
|
<span class="ident">dims</span>: <span class="ident">ScreenDims::new</span>(<span class="ident">width</span>, <span class="ident">height</span>),
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">unit_fmt</span>,
|
||||||
|
};
|
||||||
|
|
||||||
<span class="comment">// Don't let the x-axis fill the parent container</span>
|
<span class="comment">// Don't let the x-axis fill the parent container</span>
|
||||||
<span class="ident">Widget::custom_col</span>(<span class="macro">vec!</span>[
|
<span class="ident">Widget::custom_col</span>(<span class="macro">vec!</span>[
|
||||||
<span class="ident">legend</span>.<span class="ident">margin_below</span>(<span class="number">10</span>),
|
<span class="ident">legend</span>.<span class="ident">margin_below</span>(<span class="number">10</span>),
|
||||||
@ -457,7 +477,11 @@
|
|||||||
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">set_hovering</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">ctx</span>: <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">EventCtx</span>, <span class="ident">x</span>: <span class="ident">X</span>, <span class="ident">y</span>: <span class="ident">Y</span>) {
|
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">set_hovering</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">ctx</span>: <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">EventCtx</span>, <span class="ident">x</span>: <span class="ident">X</span>, <span class="ident">y</span>: <span class="ident">Y</span>) {
|
||||||
<span class="comment">// TODO What series?</span>
|
<span class="comment">// TODO What series?</span>
|
||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">txt</span> <span class="op">=</span> <span class="ident">Text::new</span>().<span class="ident">bg</span>(<span class="ident">Color::RED</span>);
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">txt</span> <span class="op">=</span> <span class="ident">Text::new</span>().<span class="ident">bg</span>(<span class="ident">Color::RED</span>);
|
||||||
<span class="ident">txt</span>.<span class="ident">add_line</span>(<span class="macro">format!</span>(<span class="string">"at {}, {}"</span>, <span class="ident">x</span>.<span class="ident">prettyprint</span>(), <span class="ident">y</span>.<span class="ident">prettyprint</span>()));
|
<span class="ident">txt</span>.<span class="ident">add_line</span>(<span class="macro">format!</span>(
|
||||||
|
<span class="string">"at {}, {}"</span>,
|
||||||
|
<span class="ident">x</span>.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="self">self</span>.<span class="ident">unit_fmt</span>),
|
||||||
|
<span class="ident">y</span>.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="self">self</span>.<span class="ident">unit_fmt</span>)
|
||||||
|
));
|
||||||
|
|
||||||
<span class="comment">// Find this point in screen-space</span>
|
<span class="comment">// Find this point in screen-space</span>
|
||||||
<span class="kw">let</span> <span class="ident">pt</span> <span class="op">=</span> <span class="ident">Pt2D::new</span>(
|
<span class="kw">let</span> <span class="ident">pt</span> <span class="op">=</span> <span class="ident">Pt2D::new</span>(
|
||||||
@ -503,8 +527,8 @@
|
|||||||
<span class="ident">txt</span>.<span class="ident">add_line</span>(<span class="macro">format!</span>(
|
<span class="ident">txt</span>.<span class="ident">add_line</span>(<span class="macro">format!</span>(
|
||||||
<span class="string">"{}: at {}, {}"</span>,
|
<span class="string">"{}: at {}, {}"</span>,
|
||||||
<span class="ident">label</span>,
|
<span class="ident">label</span>,
|
||||||
<span class="ident">x</span>.<span class="ident">prettyprint</span>(),
|
<span class="ident">x</span>.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="self">self</span>.<span class="ident">unit_fmt</span>),
|
||||||
<span class="ident">y</span>.<span class="ident">prettyprint</span>()
|
<span class="ident">y</span>.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="self">self</span>.<span class="ident">unit_fmt</span>)
|
||||||
));
|
));
|
||||||
<span class="ident">hits</span>.<span class="ident">push</span>((<span class="ident">x</span>, <span class="ident">y</span>));
|
<span class="ident">hits</span>.<span class="ident">push</span>((<span class="ident">x</span>, <span class="ident">y</span>));
|
||||||
}
|
}
|
||||||
|
@ -222,9 +222,6 @@
|
|||||||
<span id="222">222</span>
|
<span id="222">222</span>
|
||||||
<span id="223">223</span>
|
<span id="223">223</span>
|
||||||
<span id="224">224</span>
|
<span id="224">224</span>
|
||||||
<span id="225">225</span>
|
|
||||||
<span id="226">226</span>
|
|
||||||
<span id="227">227</span>
|
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
||||||
|
|
||||||
@ -264,7 +261,7 @@
|
|||||||
<span class="comment">// percent is [0.0, 1.0]</span>
|
<span class="comment">// percent is [0.0, 1.0]</span>
|
||||||
<span class="kw">fn</span> <span class="ident">from_percent</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">percent</span>: <span class="ident">f64</span>) <span class="op">-</span><span class="op">></span> <span class="ident">T</span>;
|
<span class="kw">fn</span> <span class="ident">from_percent</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">percent</span>: <span class="ident">f64</span>) <span class="op">-</span><span class="op">></span> <span class="ident">T</span>;
|
||||||
<span class="kw">fn</span> <span class="ident">to_percent</span>(<span class="self">self</span>, <span class="ident">max</span>: <span class="ident">T</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span>;
|
<span class="kw">fn</span> <span class="ident">to_percent</span>(<span class="self">self</span>, <span class="ident">max</span>: <span class="ident">T</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span>;
|
||||||
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span>;
|
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>, <span class="ident">unit_fmt</span>: <span class="kw-2">&</span><span class="ident">UnitFmt</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span>;
|
||||||
<span class="comment">// For order of magnitude calculations</span>
|
<span class="comment">// For order of magnitude calculations</span>
|
||||||
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span>;
|
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span>;
|
||||||
<span class="kw">fn</span> <span class="ident">from_f64</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">x</span>: <span class="ident">f64</span>) <span class="op">-</span><span class="op">></span> <span class="ident">T</span>;
|
<span class="kw">fn</span> <span class="ident">from_f64</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">x</span>: <span class="ident">f64</span>) <span class="op">-</span><span class="op">></span> <span class="ident">T</span>;
|
||||||
@ -282,7 +279,7 @@
|
|||||||
(<span class="self">self</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> (<span class="ident">max</span> <span class="kw">as</span> <span class="ident">f64</span>)
|
(<span class="self">self</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> (<span class="ident">max</span> <span class="kw">as</span> <span class="ident">f64</span>)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>, <span class="kw">_</span>: <span class="kw-2">&</span><span class="ident">UnitFmt</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
||||||
<span class="ident">prettyprint_usize</span>(<span class="self">self</span>)
|
<span class="ident">prettyprint_usize</span>(<span class="self">self</span>)
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
||||||
@ -307,7 +304,7 @@
|
|||||||
<span class="self">self</span> <span class="op">/</span> <span class="ident">max</span>
|
<span class="self">self</span> <span class="op">/</span> <span class="ident">max</span>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>, <span class="kw">_</span>: <span class="kw-2">&</span><span class="ident">UnitFmt</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
||||||
<span class="self">self</span>.<span class="ident">to_string</span>(<span class="kw-2">&</span><span class="ident">UnitFmt</span> {
|
<span class="self">self</span>.<span class="ident">to_string</span>(<span class="kw-2">&</span><span class="ident">UnitFmt</span> {
|
||||||
<span class="ident">metric</span>: <span class="bool-val">false</span>,
|
<span class="ident">metric</span>: <span class="bool-val">false</span>,
|
||||||
<span class="ident">round_durations</span>: <span class="bool-val">true</span>,
|
<span class="ident">round_durations</span>: <span class="bool-val">true</span>,
|
||||||
@ -335,7 +332,7 @@
|
|||||||
<span class="self">self</span>.<span class="ident">to_percent</span>(<span class="ident">max</span>)
|
<span class="self">self</span>.<span class="ident">to_percent</span>(<span class="ident">max</span>)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>, <span class="kw">_</span>: <span class="kw-2">&</span><span class="ident">UnitFmt</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
||||||
<span class="self">self</span>.<span class="ident">ampm_tostring</span>()
|
<span class="self">self</span>.<span class="ident">ampm_tostring</span>()
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
||||||
@ -360,11 +357,8 @@
|
|||||||
<span class="self">self</span> <span class="op">/</span> <span class="ident">max</span>
|
<span class="self">self</span> <span class="op">/</span> <span class="ident">max</span>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
<span class="kw">fn</span> <span class="ident">prettyprint</span>(<span class="self">self</span>, <span class="ident">unit_fmt</span>: <span class="kw-2">&</span><span class="ident">UnitFmt</span>) <span class="op">-</span><span class="op">></span> <span class="ident">String</span> {
|
||||||
<span class="self">self</span>.<span class="ident">to_string</span>(<span class="kw-2">&</span><span class="ident">UnitFmt</span> {
|
<span class="self">self</span>.<span class="ident">to_string</span>(<span class="ident">unit_fmt</span>)
|
||||||
<span class="ident">metric</span>: <span class="bool-val">false</span>,
|
|
||||||
<span class="ident">round_durations</span>: <span class="bool-val">true</span>,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
<span class="kw">fn</span> <span class="ident">to_f64</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">f64</span> {
|
||||||
<span class="self">self</span>.<span class="ident">inner_meters</span>() <span class="kw">as</span> <span class="ident">f64</span>
|
<span class="self">self</span>.<span class="ident">inner_meters</span>() <span class="kw">as</span> <span class="ident">f64</span>
|
||||||
|
@ -192,8 +192,14 @@
|
|||||||
<span id="192">192</span>
|
<span id="192">192</span>
|
||||||
<span id="193">193</span>
|
<span id="193">193</span>
|
||||||
<span id="194">194</span>
|
<span id="194">194</span>
|
||||||
|
<span id="195">195</span>
|
||||||
|
<span id="196">196</span>
|
||||||
|
<span id="197">197</span>
|
||||||
|
<span id="198">198</span>
|
||||||
|
<span id="199">199</span>
|
||||||
|
<span id="200">200</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Circle</span>, <span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">PolyLine</span>, <span class="ident">Pt2D</span>, <span class="ident">Time</span>};
|
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Circle</span>, <span class="ident">Distance</span>, <span class="ident">Duration</span>, <span class="ident">PolyLine</span>, <span class="ident">Pt2D</span>, <span class="ident">Time</span>, <span class="ident">UnitFmt</span>};
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>, <span class="ident">Series</span>};
|
<span class="kw">use</span> <span class="kw">crate</span><span class="ident">::widgets::plots</span>::{<span class="ident">make_legend</span>, <span class="ident">Axis</span>, <span class="ident">PlotOptions</span>, <span class="ident">Series</span>};
|
||||||
<span class="kw">use</span> <span class="kw">crate</span>::{
|
<span class="kw">use</span> <span class="kw">crate</span>::{
|
||||||
@ -214,6 +220,7 @@
|
|||||||
<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>,
|
<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">EventCtx</span>,
|
||||||
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
<span class="kw-2">mut</span> <span class="ident">series</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Series</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span><span class="op">></span>,
|
||||||
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span>,
|
<span class="ident">opts</span>: <span class="ident">PlotOptions</span><span class="op"><</span><span class="ident">Time</span>, <span class="ident">Y</span><span class="op">></span>,
|
||||||
|
<span class="ident">unit_fmt</span>: <span class="ident">UnitFmt</span>,
|
||||||
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
) <span class="op">-</span><span class="op">></span> <span class="ident">Widget</span> {
|
||||||
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
<span class="kw">let</span> <span class="ident">legend</span> <span class="op">=</span> <span class="ident">make_legend</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">series</span>, <span class="kw-2">&</span><span class="ident">opts</span>);
|
||||||
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
<span class="ident">series</span>.<span class="ident">retain</span>(<span class="op">|</span><span class="ident">s</span><span class="op">|</span> <span class="op">!</span><span class="ident">opts</span>.<span class="ident">disabled</span>.<span class="ident">contains</span>(<span class="kw-2">&</span><span class="ident">s</span>.<span class="ident">label</span>));
|
||||||
@ -357,7 +364,12 @@
|
|||||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">col</span> <span class="op">=</span> <span class="ident">Vec::new</span>();
|
||||||
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> <span class="number">0</span>..<span class="ident">num_y_labels</span> {
|
||||||
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
<span class="kw">let</span> <span class="ident">percent_y</span> <span class="op">=</span> (<span class="ident">i</span> <span class="kw">as</span> <span class="ident">f64</span>) <span class="op">/</span> ((<span class="ident">num_y_labels</span> <span class="op">-</span> <span class="number">1</span>) <span class="kw">as</span> <span class="ident">f64</span>);
|
||||||
<span class="ident">col</span>.<span class="ident">push</span>(<span class="ident">max_y</span>.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>).<span class="ident">prettyprint</span>().<span class="ident">text_widget</span>(<span class="ident">ctx</span>));
|
<span class="ident">col</span>.<span class="ident">push</span>(
|
||||||
|
<span class="ident">max_y</span>
|
||||||
|
.<span class="ident">from_percent</span>(<span class="ident">percent_y</span>)
|
||||||
|
.<span class="ident">prettyprint</span>(<span class="kw-2">&</span><span class="ident">unit_fmt</span>)
|
||||||
|
.<span class="ident">text_widget</span>(<span class="ident">ctx</span>),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
<span class="ident">col</span>.<span class="ident">reverse</span>();
|
||||||
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
<span class="kw">let</span> <span class="ident">y_axis</span> <span class="op">=</span> <span class="ident">Widget::custom_col</span>(<span class="ident">col</span>).<span class="ident">padding</span>(<span class="number">10</span>).<span class="ident">evenly_spaced</span>();
|
||||||
|
@ -650,13 +650,17 @@
|
|||||||
<span id="650">650</span>
|
<span id="650">650</span>
|
||||||
<span id="651">651</span>
|
<span id="651">651</span>
|
||||||
<span id="652">652</span>
|
<span id="652">652</span>
|
||||||
|
<span id="653">653</span>
|
||||||
|
<span id="654">654</span>
|
||||||
|
<span id="655">655</span>
|
||||||
|
<span id="656">656</span>
|
||||||
</pre><pre class="rust">
|
</pre><pre class="rust">
|
||||||
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
<span class="kw">use</span> <span class="ident">std::collections::HashSet</span>;
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="ident">rand::SeedableRng</span>;
|
<span class="kw">use</span> <span class="ident">rand::SeedableRng</span>;
|
||||||
<span class="kw">use</span> <span class="ident">rand_xorshift::XorShiftRng</span>;
|
<span class="kw">use</span> <span class="ident">rand_xorshift::XorShiftRng</span>;
|
||||||
|
|
||||||
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Duration</span>, <span class="ident">Percent</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>, <span class="ident">Time</span>};
|
<span class="kw">use</span> <span class="ident">geom</span>::{<span class="ident">Angle</span>, <span class="ident">Duration</span>, <span class="ident">Percent</span>, <span class="ident">Polygon</span>, <span class="ident">Pt2D</span>, <span class="ident">Time</span>, <span class="ident">UnitFmt</span>};
|
||||||
<span class="kw">use</span> <span class="ident">widgetry</span>::{
|
<span class="kw">use</span> <span class="ident">widgetry</span>::{
|
||||||
<span class="ident">lctrl</span>, <span class="ident">Choice</span>, <span class="ident">Color</span>, <span class="ident">ContentMode</span>, <span class="ident">DragDrop</span>, <span class="ident">Drawable</span>, <span class="ident">EventCtx</span>, <span class="ident">Fill</span>, <span class="ident">GeomBatch</span>, <span class="ident">GfxCtx</span>,
|
<span class="ident">lctrl</span>, <span class="ident">Choice</span>, <span class="ident">Color</span>, <span class="ident">ContentMode</span>, <span class="ident">DragDrop</span>, <span class="ident">Drawable</span>, <span class="ident">EventCtx</span>, <span class="ident">Fill</span>, <span class="ident">GeomBatch</span>, <span class="ident">GfxCtx</span>,
|
||||||
<span class="ident">HorizontalAlignment</span>, <span class="ident">Image</span>, <span class="ident">Key</span>, <span class="ident">Line</span>, <span class="ident">LinePlot</span>, <span class="ident">Outcome</span>, <span class="ident">Panel</span>, <span class="ident">PersistentSplit</span>, <span class="ident">PlotOptions</span>,
|
<span class="ident">HorizontalAlignment</span>, <span class="ident">Image</span>, <span class="ident">Key</span>, <span class="ident">Line</span>, <span class="ident">LinePlot</span>, <span class="ident">Outcome</span>, <span class="ident">Panel</span>, <span class="ident">PersistentSplit</span>, <span class="ident">PlotOptions</span>,
|
||||||
@ -774,6 +778,10 @@
|
|||||||
<span class="ident">max_y</span>: <span class="prelude-val">None</span>,
|
<span class="ident">max_y</span>: <span class="prelude-val">None</span>,
|
||||||
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
<span class="ident">disabled</span>: <span class="ident">HashSet::new</span>(),
|
||||||
},
|
},
|
||||||
|
<span class="ident">UnitFmt</span> {
|
||||||
|
<span class="ident">round_durations</span>: <span class="bool-val">true</span>,
|
||||||
|
<span class="ident">metric</span>: <span class="bool-val">true</span>,
|
||||||
|
},
|
||||||
),
|
),
|
||||||
]))
|
]))
|
||||||
<span class="comment">// Don't let the panel exceed this percentage of the window. Scrollbars appear</span>
|
<span class="comment">// Don't let the panel exceed this percentage of the window. Scrollbars appear</span>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `FanChart` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, FanChart"><title>FanChart in widgetry - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct FanChart</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.dims">dims</a><a href="#structfield.draw">draw</a><a href="#structfield.top_left">top_left</a></div><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><div class="sidebar-links"><a href="#method.new_widget">new_widget</a></div><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-WidgetImpl">WidgetImpl</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">widgetry</a></h2><div id="sidebar-vars" data-name="FanChart" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">widgetry</a>::<wbr><a class="struct" href="#">FanChart</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#14-19" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct FanChart {
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `FanChart` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, FanChart"><title>FanChart in widgetry - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct FanChart</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.dims">dims</a><a href="#structfield.draw">draw</a><a href="#structfield.top_left">top_left</a></div><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><div class="sidebar-links"><a href="#method.new_widget">new_widget</a></div><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-WidgetImpl">WidgetImpl</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">widgetry</a></h2><div id="sidebar-vars" data-name="FanChart" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">widgetry</a>::<wbr><a class="struct" href="#">FanChart</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#15-20" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct FanChart {
|
||||||
draw: <a class="struct" href="backend_glow/struct.Drawable.html" title="struct widgetry::backend_glow::Drawable">Drawable</a>,
|
draw: <a class="struct" href="backend_glow/struct.Drawable.html" title="struct widgetry::backend_glow::Drawable">Drawable</a>,
|
||||||
top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a>,
|
top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a>,
|
||||||
dims: <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a>,
|
dims: <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a>,
|
||||||
}</pre></div><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.draw" class="structfield small-section-header"><a href="#structfield.draw" class="anchor field"></a><code>draw: <a class="struct" href="backend_glow/struct.Drawable.html" title="struct widgetry::backend_glow::Drawable">Drawable</a></code></span><span id="structfield.top_left" class="structfield small-section-header"><a href="#structfield.top_left" class="anchor field"></a><code>top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a></code></span><span id="structfield.dims" class="structfield small-section-header"><a href="#structfield.dims" class="anchor field"></a><code>dims: <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#21-180" title="goto source code">[src]</a></div><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="widgets/fan_chart/struct.FanChart.html" title="struct widgetry::widgets::fan_chart::FanChart">FanChart</a></h3></div></summary><div class="impl-items"><div id="method.new_widget" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#22-179" title="goto source code">[src]</a></div><a href="#method.new_widget" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new_widget" class="fnname">new_widget</a><Y: <a class="trait" href="widgets/plots/trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><Y> + <a class="trait" href="../geom/stats/trait.HgramValue.html" title="trait geom::stats::HgramValue">HgramValue</a><Y>>(<br> ctx: &<a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, <br> series: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="widgets/plots/struct.Series.html" title="struct widgetry::widgets::plots::Series">Series</a><<a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a>, Y>>, <br> opts: <a class="struct" href="widgets/plots/struct.PlotOptions.html" title="struct widgetry::widgets::plots::PlotOptions">PlotOptions</a><<a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a>, Y><br>) -> <a class="struct" href="widgets/struct.Widget.html" title="struct widgetry::widgets::Widget">Widget</a></h4></div></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-WidgetImpl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#182-196" title="goto source code">[src]</a></div><a href="#impl-WidgetImpl" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="widgets/trait.WidgetImpl.html" title="trait widgetry::widgets::WidgetImpl">WidgetImpl</a> for <a class="struct" href="widgets/fan_chart/struct.FanChart.html" title="struct widgetry::widgets::fan_chart::FanChart">FanChart</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_dims" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#183-185" title="goto source code">[src]</a></div><a href="#method.get_dims" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.get_dims" class="fnname">get_dims</a>(&self) -> <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a></h4></div></summary><div class='docblock'><p>What width and height does the widget occupy? If this changes, be sure to set
|
}</pre></div><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.draw" class="structfield small-section-header"><a href="#structfield.draw" class="anchor field"></a><code>draw: <a class="struct" href="backend_glow/struct.Drawable.html" title="struct widgetry::backend_glow::Drawable">Drawable</a></code></span><span id="structfield.top_left" class="structfield small-section-header"><a href="#structfield.top_left" class="anchor field"></a><code>top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a></code></span><span id="structfield.dims" class="structfield small-section-header"><a href="#structfield.dims" class="anchor field"></a><code>dims: <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#22-187" title="goto source code">[src]</a></div><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="widgets/fan_chart/struct.FanChart.html" title="struct widgetry::widgets::fan_chart::FanChart">FanChart</a></h3></div></summary><div class="impl-items"><div id="method.new_widget" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#23-186" title="goto source code">[src]</a></div><a href="#method.new_widget" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new_widget" class="fnname">new_widget</a><Y: <a class="trait" href="widgets/plots/trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><Y> + <a class="trait" href="../geom/stats/trait.HgramValue.html" title="trait geom::stats::HgramValue">HgramValue</a><Y>>(<br> ctx: &<a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, <br> series: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="widgets/plots/struct.Series.html" title="struct widgetry::widgets::plots::Series">Series</a><<a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a>, Y>>, <br> opts: <a class="struct" href="widgets/plots/struct.PlotOptions.html" title="struct widgetry::widgets::plots::PlotOptions">PlotOptions</a><<a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a>, Y>, <br> unit_fmt: <a class="struct" href="../geom/struct.UnitFmt.html" title="struct geom::UnitFmt">UnitFmt</a><br>) -> <a class="struct" href="widgets/struct.Widget.html" title="struct widgetry::widgets::Widget">Widget</a></h4></div></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-WidgetImpl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#189-203" title="goto source code">[src]</a></div><a href="#impl-WidgetImpl" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="widgets/trait.WidgetImpl.html" title="trait widgetry::widgets::WidgetImpl">WidgetImpl</a> for <a class="struct" href="widgets/fan_chart/struct.FanChart.html" title="struct widgetry::widgets::fan_chart::FanChart">FanChart</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.get_dims" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#190-192" title="goto source code">[src]</a></div><a href="#method.get_dims" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.get_dims" class="fnname">get_dims</a>(&self) -> <a class="struct" href="screen_geom/struct.ScreenDims.html" title="struct widgetry::screen_geom::ScreenDims">ScreenDims</a></h4></div></summary><div class='docblock'><p>What width and height does the widget occupy? If this changes, be sure to set
|
||||||
<code>redo_layout</code> to true in <code>event</code>. <a href="widgets/trait.WidgetImpl.html#tymethod.get_dims">Read more</a></p>
|
<code>redo_layout</code> to true in <code>event</code>. <a href="widgets/trait.WidgetImpl.html#tymethod.get_dims">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_pos" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#187-189" title="goto source code">[src]</a></div><a href="#method.set_pos" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.set_pos" class="fnname">set_pos</a>(&mut self, top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a>)</h4></div></summary><div class='docblock'><p>Your widget’s top left corner should be here. Handle mouse events and draw appropriately.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.set_pos" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#194-196" title="goto source code">[src]</a></div><a href="#method.set_pos" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.set_pos" class="fnname">set_pos</a>(&mut self, top_left: <a class="struct" href="screen_geom/struct.ScreenPt.html" title="struct widgetry::screen_geom::ScreenPt">ScreenPt</a>)</h4></div></summary><div class='docblock'><p>Your widget’s top left corner should be here. Handle mouse events and draw appropriately.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#191" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.event" class="fnname">event</a>(&mut self, _: &mut <a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, _: &mut <a class="struct" href="widgets/struct.WidgetOutput.html" title="struct widgetry::widgets::WidgetOutput">WidgetOutput</a>)</h4></div></summary><div class='docblock'><p>Your chance to react to an event. Any side effects outside of this widget are communicated
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#198" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.event" class="fnname">event</a>(&mut self, _: &mut <a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, _: &mut <a class="struct" href="widgets/struct.WidgetOutput.html" title="struct widgetry::widgets::WidgetOutput">WidgetOutput</a>)</h4></div></summary><div class='docblock'><p>Your chance to react to an event. Any side effects outside of this widget are communicated
|
||||||
through the output. <a href="widgets/trait.WidgetImpl.html#tymethod.event">Read more</a></p>
|
through the output. <a href="widgets/trait.WidgetImpl.html#tymethod.event">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#193-195" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.draw" class="fnname">draw</a>(&self, g: &mut <a class="struct" href="drawing/struct.GfxCtx.html" title="struct widgetry::drawing::GfxCtx">GfxCtx</a><'_>)</h4></div></summary><div class='docblock'><p>Draw the widget. Be sure to draw relative to the top-left specified by <code>set_pos</code>.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/fan_chart.rs.html#200-202" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#tymethod.draw" class="fnname">draw</a>(&self, g: &mut <a class="struct" href="drawing/struct.GfxCtx.html" title="struct widgetry::drawing::GfxCtx">GfxCtx</a><'_>)</h4></div></summary><div class='docblock'><p>Draw the widget. Be sure to draw relative to the top-left specified by <code>set_pos</code>.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.can_restore" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/mod.rs.html#61-63" title="goto source code">[src]</a></div><a href="#method.can_restore" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#method.can_restore" class="fnname">can_restore</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a></h4></div></summary><div class='docblock'><p>If a new Panel is being created to replace an older one, all widgets have the chance to
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.can_restore" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/mod.rs.html#61-63" title="goto source code">[src]</a></div><a href="#method.can_restore" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#method.can_restore" class="fnname">can_restore</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.bool.html">bool</a></h4></div></summary><div class='docblock'><p>If a new Panel is being created to replace an older one, all widgets have the chance to
|
||||||
preserve state from the previous version. <a href="widgets/trait.WidgetImpl.html#method.can_restore">Read more</a></p>
|
preserve state from the previous version. <a href="widgets/trait.WidgetImpl.html#method.can_restore">Read more</a></p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.restore" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/mod.rs.html#66-68" title="goto source code">[src]</a></div><a href="#method.restore" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#method.restore" class="fnname">restore</a>(&mut self, _: &mut <a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, _prev: &dyn <a class="trait" href="widgets/trait.WidgetImpl.html" title="trait widgetry::widgets::WidgetImpl">WidgetImpl</a>)</h4></div></summary><div class='docblock'><p>Restore state from the previous version of this widget, with the same ID. Implementors must
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.restore" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry/widgets/mod.rs.html#66-68" title="goto source code">[src]</a></div><a href="#method.restore" class="anchor"></a><h4 class="code-header">fn <a href="widgets/trait.WidgetImpl.html#method.restore" class="fnname">restore</a>(&mut self, _: &mut <a class="struct" href="event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, _prev: &dyn <a class="trait" href="widgets/trait.WidgetImpl.html" title="trait widgetry::widgets::WidgetImpl">WidgetImpl</a>)</h4></div></summary><div class='docblock'><p>Restore state from the previous version of this widget, with the same ID. Implementors must
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Series` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, Series"><title>Series in widgetry - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct Series</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.color">color</a><a href="#structfield.label">label</a><a href="#structfield.pts">pts</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">widgetry</a></h2><div id="sidebar-vars" data-name="Series" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">widgetry</a>::<wbr><a class="struct" href="#">Series</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry/widgets/plots.rs.html#152-157" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct Series<X, Y> {
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Series` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, Series"><title>Series in widgetry - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct Series</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.color">color</a><a href="#structfield.label">label</a><a href="#structfield.pts">pts</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="index.html">widgetry</a></h2><div id="sidebar-vars" data-name="Series" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="index.html">widgetry</a>::<wbr><a class="struct" href="#">Series</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry/widgets/plots.rs.html#149-154" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct Series<X, Y> {
|
||||||
pub label: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
|
pub label: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
|
||||||
pub color: <a class="struct" href="color/struct.Color.html" title="struct widgetry::color::Color">Color</a>,
|
pub color: <a class="struct" href="color/struct.Color.html" title="struct widgetry::color::Color">Color</a>,
|
||||||
pub pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a>X, Y<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>>,
|
pub pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a>X, Y<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>>,
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `fan_chart` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, fan_chart"><title>widgetry::widgets::fan_chart - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module fan_chart</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="fan_chart" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">fan_chart</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/fan_chart.rs.html#1-229" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `fan_chart` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, fan_chart"><title>widgetry::widgets::fan_chart - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module fan_chart</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="fan_chart" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">fan_chart</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/fan_chart.rs.html#1-236" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.FanChart.html" title="widgetry::widgets::fan_chart::FanChart struct">FanChart</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.FanChart.html" title="widgetry::widgets::fan_chart::FanChart struct">FanChart</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.slidey_window.html" title="widgetry::widgets::fan_chart::slidey_window fn">slidey_window</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.slidey_window.html" title="widgetry::widgets::fan_chart::slidey_window fn">slidey_window</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `line_plot` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, line_plot"><title>widgetry::widgets::line_plot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module line_plot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="line_plot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">line_plot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/line_plot.rs.html#1-271" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `line_plot` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, line_plot"><title>widgetry::widgets::line_plot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module line_plot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="line_plot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">line_plot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/line_plot.rs.html#1-283" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.Hovering.html" title="widgetry::widgets::line_plot::Hovering struct">Hovering</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.LinePlot.html" title="widgetry::widgets::line_plot::LinePlot struct">LinePlot</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.Hovering.html" title="widgetry::widgets::line_plot::Hovering struct">Hovering</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.LinePlot.html" title="widgetry::widgets::line_plot::LinePlot struct">LinePlot</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_legend` fn in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, make_legend"><title>make_legend in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="make_legend" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="fn" href="#">make_legend</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#159-191" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn make_legend<X: <a class="trait" href="trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><X>, Y: <a class="trait" href="trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><Y>>(<br> ctx: &<a class="struct" href="../../event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, <br> series: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.slice.html">&[</a><a class="struct" href="struct.Series.html" title="struct widgetry::widgets::plots::Series">Series</a><X, Y><a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.slice.html">]</a>, <br> opts: &<a class="struct" href="struct.PlotOptions.html" title="struct widgetry::widgets::plots::PlotOptions">PlotOptions</a><X, Y><br>) -> <a class="struct" href="../struct.Widget.html" title="struct widgetry::widgets::Widget">Widget</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_legend` fn in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, make_legend"><title>make_legend in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="make_legend" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="fn" href="#">make_legend</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#156-188" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn make_legend<X: <a class="trait" href="trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><X>, Y: <a class="trait" href="trait.Axis.html" title="trait widgetry::widgets::plots::Axis">Axis</a><Y>>(<br> ctx: &<a class="struct" href="../../event_ctx/struct.EventCtx.html" title="struct widgetry::event_ctx::EventCtx">EventCtx</a><'_>, <br> series: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.slice.html">&[</a><a class="struct" href="struct.Series.html" title="struct widgetry::widgets::plots::Series">Series</a><X, Y><a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.slice.html">]</a>, <br> opts: &<a class="struct" href="struct.PlotOptions.html" title="struct widgetry::widgets::plots::PlotOptions">PlotOptions</a><X, Y><br>) -> <a class="struct" href="../struct.Widget.html" title="struct widgetry::widgets::Widget">Widget</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `thick_lineseries` fn in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, thick_lineseries"><title>thick_lineseries in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="thick_lineseries" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="fn" href="#">thick_lineseries</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#194-227" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn thick_lineseries(pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../../geom/pt/struct.Pt2D.html" title="struct geom::pt::Pt2D">Pt2D</a>>, width: <a class="struct" href="../../../geom/distance/struct.Distance.html" title="struct geom::distance::Distance">Distance</a>) -> <a class="struct" href="../../../geom/polygon/struct.Polygon.html" title="struct geom::polygon::Polygon">Polygon</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `thick_lineseries` fn in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, thick_lineseries"><title>thick_lineseries in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="thick_lineseries" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="fn" href="#">thick_lineseries</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#191-224" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn thick_lineseries(pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../../geom/pt/struct.Pt2D.html" title="struct geom::pt::Pt2D">Pt2D</a>>, width: <a class="struct" href="../../../geom/distance/struct.Distance.html" title="struct geom::distance::Distance">Distance</a>) -> <a class="struct" href="../../../geom/polygon/struct.Polygon.html" title="struct geom::polygon::Polygon">Polygon</a></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `plots` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, plots"><title>widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module plots</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="plots" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">plots</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#1-227" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `plots` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, plots"><title>widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module plots</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="plots" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">plots</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#1-224" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.PlotOptions.html" title="widgetry::widgets::plots::PlotOptions struct">PlotOptions</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.Series.html" title="widgetry::widgets::plots::Series struct">Series</a></div><div class="item-right docblock-short"></div></div><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.PlotOptions.html" title="widgetry::widgets::plots::PlotOptions struct">PlotOptions</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.Series.html" title="widgetry::widgets::plots::Series struct">Series</a></div><div class="item-right docblock-short"></div></div><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="trait" href="trait.Axis.html" title="widgetry::widgets::plots::Axis trait">Axis</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="trait" href="trait.Axis.html" title="widgetry::widgets::plots::Axis trait">Axis</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.make_legend.html" title="widgetry::widgets::plots::make_legend fn">make_legend</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.thick_lineseries.html" title="widgetry::widgets::plots::thick_lineseries fn">thick_lineseries</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.make_legend.html" title="widgetry::widgets::plots::make_legend fn">make_legend</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.thick_lineseries.html" title="widgetry::widgets::plots::thick_lineseries fn">thick_lineseries</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Series` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, Series"><title>Series in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct Series</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.color">color</a><a href="#structfield.label">label</a><a href="#structfield.pts">pts</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="Series" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="struct" href="#">Series</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#152-157" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct Series<X, Y> {
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Series` struct in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, Series"><title>Series in widgetry::widgets::plots - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Struct Series</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><div class="sidebar-links"><a href="#structfield.color">color</a><a href="#structfield.label">label</a><a href="#structfield.pts">pts</a></div><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Same%3CT%3E">Same<T></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><h2 class="location">Other items in<br><a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a></h2><div id="sidebar-vars" data-name="Series" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a href="index.html">plots</a>::<wbr><a class="struct" href="#">Series</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/plots.rs.html#149-154" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust struct">pub struct Series<X, Y> {
|
||||||
pub label: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
|
pub label: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
|
||||||
pub color: <a class="struct" href="../../color/struct.Color.html" title="struct widgetry::color::Color">Color</a>,
|
pub color: <a class="struct" href="../../color/struct.Color.html" title="struct widgetry::color::Color">Color</a>,
|
||||||
pub pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a>X, Y<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>>,
|
pub pts: <a class="struct" href="https://doc.rust-lang.org/1.55.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a>X, Y<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>>,
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `scatter_plot` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, scatter_plot"><title>widgetry::widgets::scatter_plot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module scatter_plot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="scatter_plot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">scatter_plot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/scatter_plot.rs.html#1-194" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `scatter_plot` mod in crate `widgetry`."><meta name="keywords" content="rust, rustlang, rust-lang, scatter_plot"><title>widgetry::widgets::scatter_plot - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings" ></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../widgetry/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><h2 class="location">Module scatter_plot</h2><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li></ul></div><div id="sidebar-vars" data-name="scatter_plot" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">widgetry</a>::<wbr><a href="../index.html">widgets</a>::<wbr><a class="mod" href="#">scatter_plot</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/widgetry/widgets/scatter_plot.rs.html#1-200" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ScatterPlot.html" title="widgetry::widgets::scatter_plot::ScatterPlot struct">ScatterPlot</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.ScatterPlot.html" title="widgetry::widgets::scatter_plot::ScatterPlot struct">ScatterPlot</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="widgetry" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||||||
<script src="../../../main.js"></script>
|
<script src="../../../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `build_drag_drop` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, build_drag_drop"><title>build_drag_drop in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="build_drag_drop" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">build_drag_drop</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#610-635" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn build_drag_drop(<br> ctx: &EventCtx<'_>, <br> num_cards: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.usize.html">usize</a><br>) -> DragDrop<<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.usize.html">usize</a>></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `build_drag_drop` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, build_drag_drop"><title>build_drag_drop in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="build_drag_drop" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">build_drag_drop</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#614-639" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn build_drag_drop(<br> ctx: &EventCtx<'_>, <br> num_cards: <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.usize.html">usize</a><br>) -> DragDrop<<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.usize.html">usize</a>></pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_controls` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, make_controls"><title>make_controls in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="make_controls" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">make_controls</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#510-608" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn make_controls(<br> ctx: &mut EventCtx<'_>, <br> tabs: &mut TabController<br>) -> Panel</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_controls` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, make_controls"><title>make_controls in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="make_controls" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">make_controls</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#514-612" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn make_controls(<br> ctx: &mut EventCtx<'_>, <br> tabs: &mut TabController<br>) -> Panel</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_tabs` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, make_tabs"><title>make_tabs in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="make_tabs" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">make_tabs</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#318-508" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn make_tabs(ctx: &mut EventCtx<'_>) -> TabController</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `make_tabs` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, make_tabs"><title>make_tabs in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="make_tabs" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">make_tabs</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#322-512" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn make_tabs(ctx: &mut EventCtx<'_>) -> TabController</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `setup_scrollable_canvas` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, setup_scrollable_canvas"><title>setup_scrollable_canvas in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="setup_scrollable_canvas" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">setup_scrollable_canvas</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#279-316" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn setup_scrollable_canvas(ctx: &mut EventCtx<'_>) -> Drawable</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `setup_scrollable_canvas` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, setup_scrollable_canvas"><title>setup_scrollable_canvas in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="setup_scrollable_canvas" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">setup_scrollable_canvas</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#283-320" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn setup_scrollable_canvas(ctx: &mut EventCtx<'_>) -> Drawable</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `setup_texture_demo` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, setup_texture_demo"><title>setup_texture_demo in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="setup_texture_demo" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">setup_texture_demo</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#247-275" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn setup_texture_demo(<br> ctx: &mut EventCtx<'_>, <br> bg_texture: Texture, <br> fg_texture: Texture<br>) -> Drawable</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `setup_texture_demo` fn in crate `widgetry_demo`."><meta name="keywords" content="rust, rustlang, rust-lang, setup_texture_demo"><title>setup_texture_demo in widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><h2 class="location">Other items in<br><a href="index.html">widgetry_demo</a></h2><div id="sidebar-vars" data-name="setup_texture_demo" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">widgetry_demo</a>::<wbr><a class="fn" href="#">setup_texture_demo</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#251-279" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub(crate) fn setup_texture_demo(<br> ctx: &mut EventCtx<'_>, <br> bg_texture: Texture, <br> fg_texture: Texture<br>) -> Drawable</pre></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `widgetry_demo` crate."><meta name="keywords" content="rust, rustlang, rust-lang, widgetry_demo"><title>widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Crate widgetry_demo</h2><div class="block version"><div class="narrow-helper"></div><p>Version 0.1.0</p></div><div class="sidebar-elems"><a id="all-types" href="all.html"><p>See all widgetry_demo's items</p></a><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="widgetry_demo" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">widgetry_demo</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#1-652" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `widgetry_demo` crate."><meta name="keywords" content="rust, rustlang, rust-lang, widgetry_demo"><title>widgetry_demo - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../widgetry_demo/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Crate widgetry_demo</h2><div class="block version"><div class="narrow-helper"></div><p>Version 0.1.0</p></div><div class="sidebar-elems"><a id="all-types" href="all.html"><p>See all widgetry_demo's items</p></a><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div><div id="sidebar-vars" data-name="widgetry_demo" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">widgetry_demo</a><button id="copy-path" onclick="copy_path(this)" title="copy path"><img src="../clipboard.svg" width="19" height="18" alt="Copy item import" title="Copy item import to clipboard"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../src/widgetry_demo/lib.rs.html#1-656" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.App.html" title="widgetry_demo::App struct">App</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.Demo.html" title="widgetry_demo::Demo struct">Demo</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
<div class="item-table"><div class="item-left module-item"><a class="struct" href="struct.App.html" title="widgetry_demo::App struct">App</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="struct" href="struct.Demo.html" title="widgetry_demo::Demo struct">Demo</a></div><div class="item-right docblock-short"></div></div><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||||
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.build_drag_drop.html" title="widgetry_demo::build_drag_drop fn">build_drag_drop</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.main.html" title="widgetry_demo::main fn">main</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_controls.html" title="widgetry_demo::make_controls fn">make_controls</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_tabs.html" title="widgetry_demo::make_tabs fn">make_tabs</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.run.html" title="widgetry_demo::run fn">run</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.setup_scrollable_canvas.html" title="widgetry_demo::setup_scrollable_canvas fn">setup_scrollable_canvas</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.setup_texture_demo.html" title="widgetry_demo::setup_texture_demo fn">setup_texture_demo</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
<div class="item-table"><div class="item-left module-item"><a class="fn" href="fn.build_drag_drop.html" title="widgetry_demo::build_drag_drop fn">build_drag_drop</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.main.html" title="widgetry_demo::main fn">main</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_controls.html" title="widgetry_demo::make_controls fn">make_controls</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.make_tabs.html" title="widgetry_demo::make_tabs fn">make_tabs</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.run.html" title="widgetry_demo::run fn">run</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.setup_scrollable_canvas.html" title="widgetry_demo::setup_scrollable_canvas fn">setup_scrollable_canvas</a></div><div class="item-right docblock-short"></div><div class="item-left module-item"><a class="fn" href="fn.setup_texture_demo.html" title="widgetry_demo::setup_texture_demo fn">setup_texture_demo</a></div><div class="item-right docblock-short"></div></div></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="widgetry_demo" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.before_quit" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.before_quit" class="anchor"></a><h4 class="code-header">fn <a href="#method.before_quit" class="fnname">before_quit</a>(&self, &Canvas)</h4></div></summary><div class='docblock'><p>Called before a normal exit, like window close</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.before_quit" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.before_quit" class="anchor"></a><h4 class="code-header">fn <a href="#method.before_quit" class="fnname">before_quit</a>(&self, &Canvas)</h4></div></summary><div class='docblock'><p>Called before a normal exit, like window close</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.free_memory" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.free_memory" class="anchor"></a><h4 class="code-header">fn <a href="#method.free_memory" class="fnname">free_memory</a>(&mut self)</h4></div></summary><div class='docblock'><p>If widgetry determines the video card is low on memory, this may be called. The application
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.free_memory" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.free_memory" class="anchor"></a><h4 class="code-header">fn <a href="#method.free_memory" class="fnname">free_memory</a>(&mut self)</h4></div></summary><div class='docblock'><p>If widgetry determines the video card is low on memory, this may be called. The application
|
||||||
should make its best effort to delete any unused Drawables. <a href="#method.free_memory">Read more</a></p>
|
should make its best effort to delete any unused Drawables. <a href="#method.free_memory">Read more</a></p>
|
||||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#151-245" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#152-228" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#155-249" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#156-232" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#230-244" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#234-248" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
texture_demo: Drawable,
|
texture_demo: Drawable,
|
||||||
elapsed: <a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>,
|
elapsed: <a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>,
|
||||||
tabs: TabController,
|
tabs: TabController,
|
||||||
}</pre></div><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.controls" class="structfield small-section-header"><a href="#structfield.controls" class="anchor field"></a><code>controls: Panel</code></span><span id="structfield.timeseries_panel" class="structfield small-section-header"><a href="#structfield.timeseries_panel" class="anchor field"></a><code>timeseries_panel: <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a><a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, Panel<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>></code></span><span id="structfield.scrollable_canvas" class="structfield small-section-header"><a href="#structfield.scrollable_canvas" class="anchor field"></a><code>scrollable_canvas: Drawable</code></span><span id="structfield.texture_demo" class="structfield small-section-header"><a href="#structfield.texture_demo" class="anchor field"></a><code>texture_demo: Drawable</code></span><span id="structfield.elapsed" class="structfield small-section-header"><a href="#structfield.elapsed" class="anchor field"></a><code>elapsed: <a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a></code></span><span id="structfield.tabs" class="structfield small-section-header"><a href="#structfield.tabs" class="anchor field"></a><code>tabs: TabController</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#52-149" title="goto source code">[src]</a></div><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><div id="method.new" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#53-63" title="goto source code">[src]</a></div><a href="#method.new" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.new" class="fnname">new</a>(ctx: &mut EventCtx<'_>) -> Self</h4></div><div id="method.make_timeseries_panel" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#65-139" title="goto source code">[src]</a></div><a href="#method.make_timeseries_panel" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.make_timeseries_panel" class="fnname">make_timeseries_panel</a>(&self, ctx: &mut EventCtx<'_>) -> Panel</h4></div><div id="method.redraw_stopwatch" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#141-148" title="goto source code">[src]</a></div><a href="#method.redraw_stopwatch" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.redraw_stopwatch" class="fnname">redraw_stopwatch</a>(&mut self, ctx: &mut EventCtx<'_>)</h4></div></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#151-245" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#152-228" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
}</pre></div><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.controls" class="structfield small-section-header"><a href="#structfield.controls" class="anchor field"></a><code>controls: Panel</code></span><span id="structfield.timeseries_panel" class="structfield small-section-header"><a href="#structfield.timeseries_panel" class="anchor field"></a><code>timeseries_panel: <a class="enum" href="https://doc.rust-lang.org/1.55.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">(</a><a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a>, Panel<a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.tuple.html">)</a>></code></span><span id="structfield.scrollable_canvas" class="structfield small-section-header"><a href="#structfield.scrollable_canvas" class="anchor field"></a><code>scrollable_canvas: Drawable</code></span><span id="structfield.texture_demo" class="structfield small-section-header"><a href="#structfield.texture_demo" class="anchor field"></a><code>texture_demo: Drawable</code></span><span id="structfield.elapsed" class="structfield small-section-header"><a href="#structfield.elapsed" class="anchor field"></a><code>elapsed: <a class="struct" href="../geom/duration/struct.Duration.html" title="struct geom::duration::Duration">Duration</a></code></span><span id="structfield.tabs" class="structfield small-section-header"><a href="#structfield.tabs" class="anchor field"></a><code>tabs: TabController</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#52-153" title="goto source code">[src]</a></div><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><div id="method.new" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#53-63" title="goto source code">[src]</a></div><a href="#method.new" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.new" class="fnname">new</a>(ctx: &mut EventCtx<'_>) -> Self</h4></div><div id="method.make_timeseries_panel" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#65-143" title="goto source code">[src]</a></div><a href="#method.make_timeseries_panel" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.make_timeseries_panel" class="fnname">make_timeseries_panel</a>(&self, ctx: &mut EventCtx<'_>) -> Panel</h4></div><div id="method.redraw_stopwatch" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#145-152" title="goto source code">[src]</a></div><a href="#method.redraw_stopwatch" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.redraw_stopwatch" class="fnname">redraw_stopwatch</a>(&mut self, ctx: &mut EventCtx<'_>)</h4></div></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-State%3CApp%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#155-249" title="goto source code">[src]</a></div><a href="#impl-State%3CApp%3E" class="anchor"></a><h3 class="code-header in-band">impl State<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.event" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#156-232" title="goto source code">[src]</a></div><a href="#method.event" class="anchor"></a><h4 class="code-header">fn <a class="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>) -> Transition<<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>></h4></div></summary><div class='docblock'><p>Respond to a UI event, such as input or time passing.</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#230-244" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/widgetry_demo/lib.rs.html#234-248" title="goto source code">[src]</a></div><a href="#method.draw" class="anchor"></a><h4 class="code-header">fn <a class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<a class="struct" href="struct.App.html" title="struct widgetry_demo::App">App</a>)</h4></div></summary><div class='docblock'><p>Draw</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.draw_baselayer" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.draw_baselayer" class="anchor"></a><h4 class="code-header">fn <a href="#method.draw_baselayer" class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><div class='docblock'><p>Specifies what to draw before draw()</p>
|
||||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.on_destroy" class="method trait-impl has-srclink"><div class="rightside"></div><a href="#method.on_destroy" class="anchor"></a><h4 class="code-header">fn <a href="#method.on_destroy" class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <a class="primitive" href="https://doc.rust-lang.org/1.55.0/std/primitive.reference.html">&mut </a>A)</h4></div></summary><div class='docblock'><p>Before this state is popped or replaced, call this.</p>
|
||||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><div id="impl-RefUnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Send" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Sync" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-Unpin" class="impl has-srclink"><div class="rightside"></div><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div><div id="impl-UnwindSafe" class="impl has-srclink"><div class="rightside"></div><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.55.0/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Demo.html" title="struct widgetry_demo::Demo">Demo</a></h3></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Any" class="impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#132-136" title="goto source code">[src]</a></div><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.type_id" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.55.0/src/core/any.rs.html#133" title="goto source code">[src]</a></div><a href="#method.type_id" class="anchor"></a><h4 class="code-header">pub fn <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="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><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.55.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user