This commit is contained in:
dabreegster 2023-11-28 12:14:54 +00:00
parent cc4974a9e0
commit f14cc1f4fd
156 changed files with 795 additions and 773 deletions

View File

@ -73,28 +73,112 @@ minimap.</div></details><details class="toggle method-toggle" open><summary><sec
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
action: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>If a button is clicked that was produced by some method in this trait, respond to it here.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-4" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/minimap.rs.html#100-108">source</a><a href="#method.panel_changed-4" class="anchor">§</a><h4 class="code-header">fn <a href="../../map_gui/tools/minimap/trait.MinimapControls.html#method.panel_changed" class="fn">panel_changed</a>(&amp;self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, panel: &amp;Panel)</h4></section></summary><div class='docblock'>Called for <code>Outcome::Changed</code> on the panel.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SharedAppState-for-App" class="impl"><a class="src rightside" href="../../src/game/app.rs.html#874-933">source</a><a href="#impl-SharedAppState-for-App" class="anchor">§</a><h3 class="code-header">impl SharedAppState for <a class="struct" href="struct.App.html" title="struct game::app::App">App</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.before_event" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#875-877">source</a><a href="#method.before_event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">before_event</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Before <code>State::event</code> is called, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_default" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#879-881">source</a><a href="#method.draw_default" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_default</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;)</h4></section></summary><div class='docblock'>When DrawBaselayer::DefaultDraw is called, run this.</div></details><details class="toggle method-toggle" open><summary><section id="method.dump_before_abort" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#883-924">source</a><a href="#method.dump_before_abort" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dump_before_abort</a>(&amp;self, canvas: &amp;Canvas)</h4></section></summary><div class='docblock'>Will be called if <code>State::event</code> or <code>State::draw</code> panics.</div></details><details class="toggle method-toggle" open><summary><section id="method.before_quit" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#926-928">source</a><a href="#method.before_quit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">before_quit</a>(&amp;self, canvas: &amp;Canvas)</h4></section></summary><div class='docblock'>Called before a normal exit, like window close</div></details><details class="toggle method-toggle" open><summary><section id="method.free_memory" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#930-932">source</a><a href="#method.free_memory" class="anchor">§</a><h4 class="code-header">fn <a class="fn">free_memory</a>(&amp;mut self)</h4></section></summary><div class='docblock'>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.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-About" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#271-284">source</a><a href="#impl-SimpleState%3CApp%3E-for-About" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/actdev/struct.About.html" title="struct game::sandbox::gameplay::actdev::About">About</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-16" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#272-279">source</a><a href="#method.on_click-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>If a button is clicked that was produced by some method in this trait, respond to it here.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/minimap.rs.html#100-108">source</a><a href="#method.panel_changed-1" class="anchor">§</a><h4 class="code-header">fn <a href="../../map_gui/tools/minimap/trait.MinimapControls.html#method.panel_changed" class="fn">panel_changed</a>(&amp;self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>, panel: &amp;Panel)</h4></section></summary><div class='docblock'>Called for <code>Outcome::Changed</code> on the panel.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SharedAppState-for-App" class="impl"><a class="src rightside" href="../../src/game/app.rs.html#874-933">source</a><a href="#impl-SharedAppState-for-App" class="anchor">§</a><h3 class="code-header">impl SharedAppState for <a class="struct" href="struct.App.html" title="struct game::app::App">App</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.before_event" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#875-877">source</a><a href="#method.before_event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">before_event</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Before <code>State::event</code> is called, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_default" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#879-881">source</a><a href="#method.draw_default" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_default</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;)</h4></section></summary><div class='docblock'>When DrawBaselayer::DefaultDraw is called, run this.</div></details><details class="toggle method-toggle" open><summary><section id="method.dump_before_abort" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#883-924">source</a><a href="#method.dump_before_abort" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dump_before_abort</a>(&amp;self, canvas: &amp;Canvas)</h4></section></summary><div class='docblock'>Will be called if <code>State::event</code> or <code>State::draw</code> panics.</div></details><details class="toggle method-toggle" open><summary><section id="method.before_quit" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#926-928">source</a><a href="#method.before_quit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">before_quit</a>(&amp;self, canvas: &amp;Canvas)</h4></section></summary><div class='docblock'>Called before a normal exit, like window close</div></details><details class="toggle method-toggle" open><summary><section id="method.free_memory" class="method trait-impl"><a class="src rightside" href="../../src/game/app.rs.html#930-932">source</a><a href="#method.free_memory" class="anchor">§</a><h4 class="code-header">fn <a class="fn">free_memory</a>(&amp;mut self)</h4></section></summary><div class='docblock'>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.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-About" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#271-284">source</a><a href="#impl-SimpleState%3CApp%3E-for-About" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/actdev/struct.About.html" title="struct game::sandbox::gameplay::actdev::About">About</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#272-279">source</a><a href="#method.on_click-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-76" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#281-283">source</a><a href="#method.draw-76" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-16" class="method trait-impl"><a href="#method.on_click_custom-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/actdev.rs.html#281-283">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-17" class="method trait-impl"><a href="#method.panel_changed-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-2" class="method trait-impl"><a href="#method.panel_changed-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-16" class="method trait-impl"><a href="#method.on_mouseover-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-16" class="method trait-impl"><a href="#method.other_event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-75" class="method trait-impl"><a href="#method.draw_baselayer-75" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChallengesPicker" class="impl"><a class="src rightside" href="../../src/game/challenges/mod.rs.html#240-291">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChallengesPicker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/struct.ChallengesPicker.html" title="struct game::challenges::ChallengesPicker">ChallengesPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-10" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/mod.rs.html#241-290">source</a><a href="#method.on_click-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-1" class="method trait-impl"><a href="#method.on_mouseover-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-1" class="method trait-impl"><a href="#method.other_event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChallengesPicker" class="impl"><a class="src rightside" href="../../src/game/challenges/mod.rs.html#240-291">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChallengesPicker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/struct.ChallengesPicker.html" title="struct game::challenges::ChallengesPicker">ChallengesPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-9" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/mod.rs.html#241-290">source</a><a href="#method.on_click-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-9" class="method trait-impl"><a href="#method.on_click_custom-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-10" class="method trait-impl"><a href="#method.panel_changed-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-9" class="method trait-impl"><a href="#method.on_mouseover-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-9" class="method trait-impl"><a href="#method.other_event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-54" class="method trait-impl"><a href="#method.draw-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-53" class="method trait-impl"><a href="#method.draw_baselayer-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChangeDuration" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#107-177">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChangeDuration" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/edits/struct.ChangeDuration.html" title="struct game::edit::traffic_signals::edits::ChangeDuration">ChangeDuration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-14" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#108-139">source</a><a href="#method.on_click-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#141-165">source</a><a href="#method.panel_changed-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
panel: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-14" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#167-172">source</a><a href="#method.other_event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-63" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#174-176">source</a><a href="#method.draw_baselayer-63" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-14" class="method trait-impl"><a href="#method.on_click_custom-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-14" class="method trait-impl"><a href="#method.on_mouseover-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw-64" class="method trait-impl"><a href="#method.draw-64" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChangeScenario" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#286-345">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChangeScenario" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/struct.ChangeScenario.html" title="struct game::sandbox::gameplay::freeform::ChangeScenario">ChangeScenario</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-13" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#287-340">source</a><a href="#method.on_click-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-58" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#342-344">source</a><a href="#method.draw-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-13" class="method trait-impl"><a href="#method.on_click_custom-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-14" class="method trait-impl"><a href="#method.panel_changed-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-13" class="method trait-impl"><a href="#method.on_mouseover-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-13" class="method trait-impl"><a href="#method.other_event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-57" class="method trait-impl"><a href="#method.draw_baselayer-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-DepartureSummary" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#643-662">source</a><a href="#impl-SimpleState%3CApp%3E-for-DepartureSummary" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.DepartureSummary.html" title="struct game::sandbox::gameplay::play_scenario::DepartureSummary">DepartureSummary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-5" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#644-661">source</a><a href="#method.on_click-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-5" class="method trait-impl"><a href="#method.on_click_custom-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-6" class="method trait-impl"><a href="#method.panel_changed-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-5" class="method trait-impl"><a href="#method.on_mouseover-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-5" class="method trait-impl"><a href="#method.other_event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-29" class="method trait-impl"><a href="#method.draw-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-28" class="method trait-impl"><a href="#method.draw_baselayer-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-DevToolsMode" class="impl"><a class="src rightside" href="../../src/game/devtools/mod.rs.html#100-185">source</a><a href="#impl-SimpleState%3CApp%3E-for-DevToolsMode" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/struct.DevToolsMode.html" title="struct game::devtools::DevToolsMode">DevToolsMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-10" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/mod.rs.html#101-184">source</a><a href="#method.on_click-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
@ -114,98 +198,82 @@ the fallback case can just use <code>unreachable!()</code>.</div></details><deta
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-10" class="method trait-impl"><a href="#method.on_mouseover-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-10" class="method trait-impl"><a href="#method.other_event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-58" class="method trait-impl"><a href="#method.draw-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-57" class="method trait-impl"><a href="#method.draw_baselayer-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChangeDuration" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#107-177">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChangeDuration" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/edits/struct.ChangeDuration.html" title="struct game::edit::traffic_signals::edits::ChangeDuration">ChangeDuration</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-3" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#108-139">source</a><a href="#method.on_click-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
call this to handle all other events.</div></details><section id="method.draw-55" class="method trait-impl"><a href="#method.draw-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-54" class="method trait-impl"><a href="#method.draw_baselayer-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-EditingMarker" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#351-397">source</a><a href="#impl-SimpleState%3CApp%3E-for-EditingMarker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.EditingMarker.html" title="struct game::devtools::story::EditingMarker">EditingMarker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-16" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#352-392">source</a><a href="#method.on_click-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-3" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#141-165">source</a><a href="#method.panel_changed-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw_baselayer-75" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#394-396">source</a><a href="#method.draw_baselayer-75" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-16" class="method trait-impl"><a href="#method.on_click_custom-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-17" class="method trait-impl"><a href="#method.panel_changed-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-16" class="method trait-impl"><a href="#method.on_mouseover-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-16" class="method trait-impl"><a href="#method.other_event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-76" class="method trait-impl"><a href="#method.draw-76" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-GenericCompareCounts" class="impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#55-79">source</a><a href="#impl-SimpleState%3CApp%3E-for-GenericCompareCounts" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/compare_counts/struct.GenericCompareCounts.html" title="struct game::devtools::compare_counts::GenericCompareCounts">GenericCompareCounts</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-4" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#56-69">source</a><a href="#method.on_click-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-3" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#167-172">source</a><a href="#method.other_event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-4" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#71-74">source</a><a href="#method.other_event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-22" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/edits.rs.html#174-176">source</a><a href="#method.draw_baselayer-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-3" class="method trait-impl"><a href="#method.on_click_custom-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
call this to handle all other events.</div></details><section id="method.draw-27" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#76-78">source</a><a href="#method.draw-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-4" class="method trait-impl"><a href="#method.on_click_custom-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-3" class="method trait-impl"><a href="#method.on_mouseover-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw-23" class="method trait-impl"><a href="#method.draw-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ChangeScenario" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#286-345">source</a><a href="#impl-SimpleState%3CApp%3E-for-ChangeScenario" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/struct.ChangeScenario.html" title="struct game::sandbox::gameplay::freeform::ChangeScenario">ChangeScenario</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-12" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#287-340">source</a><a href="#method.on_click-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-5" class="method trait-impl"><a href="#method.panel_changed-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-4" class="method trait-impl"><a href="#method.on_mouseover-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-26" class="method trait-impl"><a href="#method.draw_baselayer-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-OneBlock" class="impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#383-447">source</a><a href="#impl-SimpleState%3CApp%3E-for-OneBlock" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blockfinder/struct.OneBlock.html" title="struct game::debug::blockfinder::OneBlock">OneBlock</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-3" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#384-437">source</a><a href="#method.on_click-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-63" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#342-344">source</a><a href="#method.draw-63" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-12" class="method trait-impl"><a href="#method.on_click_custom-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-3" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#439-442">source</a><a href="#method.other_event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-25" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#444-446">source</a><a href="#method.draw-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-3" class="method trait-impl"><a href="#method.on_click_custom-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-13" class="method trait-impl"><a href="#method.panel_changed-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-4" class="method trait-impl"><a href="#method.panel_changed-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-12" class="method trait-impl"><a href="#method.on_mouseover-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-12" class="method trait-impl"><a href="#method.other_event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-62" class="method trait-impl"><a href="#method.draw_baselayer-62" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-DepartureSummary" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#643-662">source</a><a href="#impl-SimpleState%3CApp%3E-for-DepartureSummary" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.DepartureSummary.html" title="struct game::sandbox::gameplay::play_scenario::DepartureSummary">DepartureSummary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-8" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#644-661">source</a><a href="#method.on_click-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-3" class="method trait-impl"><a href="#method.on_mouseover-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-24" class="method trait-impl"><a href="#method.draw_baselayer-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-Proposals" class="impl"><a class="src rightside" href="../../src/game/pregame/proposals.rs.html#108-135">source</a><a href="#impl-SimpleState%3CApp%3E-for-Proposals" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../pregame/proposals/struct.Proposals.html" title="struct game::pregame::proposals::Proposals">Proposals</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-6" class="method trait-impl"><a class="src rightside" href="../../src/game/pregame/proposals.rs.html#109-134">source</a><a href="#method.on_click-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-8" class="method trait-impl"><a href="#method.on_click_custom-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-9" class="method trait-impl"><a href="#method.panel_changed-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-8" class="method trait-impl"><a href="#method.on_mouseover-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-8" class="method trait-impl"><a href="#method.other_event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-54" class="method trait-impl"><a href="#method.draw-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-53" class="method trait-impl"><a href="#method.draw_baselayer-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-DevToolsMode" class="impl"><a class="src rightside" href="../../src/game/devtools/mod.rs.html#100-185">source</a><a href="#impl-SimpleState%3CApp%3E-for-DevToolsMode" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/struct.DevToolsMode.html" title="struct game::devtools::DevToolsMode">DevToolsMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-1" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/mod.rs.html#101-184">source</a><a href="#method.on_click-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-1" class="method trait-impl"><a href="#method.panel_changed-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-1" class="method trait-impl"><a href="#method.on_mouseover-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-1" class="method trait-impl"><a href="#method.other_event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-17" class="method trait-impl"><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-16" class="method trait-impl"><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-EditingMarker" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#351-397">source</a><a href="#impl-SimpleState%3CApp%3E-for-EditingMarker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.EditingMarker.html" title="struct game::devtools::story::EditingMarker">EditingMarker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-6" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#352-392">source</a><a href="#method.on_click-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw_baselayer-43" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#394-396">source</a><a href="#method.draw_baselayer-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-6" class="method trait-impl"><a href="#method.on_click_custom-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-6" class="method trait-impl"><a href="#method.on_click_custom-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -218,179 +286,39 @@ the fallback case can just use <code>unreachable!()</code>.</div></details><sect
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-6" class="method trait-impl"><a href="#method.on_mouseover-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-6" class="method trait-impl"><a href="#method.other_event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-44" class="method trait-impl"><a href="#method.draw-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-GenericCompareCounts" class="impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#55-79">source</a><a href="#impl-SimpleState%3CApp%3E-for-GenericCompareCounts" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/compare_counts/struct.GenericCompareCounts.html" title="struct game::devtools::compare_counts::GenericCompareCounts">GenericCompareCounts</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-2" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#56-69">source</a><a href="#method.on_click-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-2" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#71-74">source</a><a href="#method.other_event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-21" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/compare_counts.rs.html#76-78">source</a><a href="#method.draw-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-2" class="method trait-impl"><a href="#method.on_click_custom-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-2" class="method trait-impl"><a href="#method.panel_changed-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-2" class="method trait-impl"><a href="#method.on_mouseover-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-20" class="method trait-impl"><a href="#method.draw_baselayer-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-OneBlock" class="impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#383-447">source</a><a href="#impl-SimpleState%3CApp%3E-for-OneBlock" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blockfinder/struct.OneBlock.html" title="struct game::debug::blockfinder::OneBlock">OneBlock</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-13" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#384-437">source</a><a href="#method.on_click-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
call this to handle all other events.</div></details><section id="method.draw-33" class="method trait-impl"><a href="#method.draw-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-32" class="method trait-impl"><a href="#method.draw_baselayer-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShareProposal" class="impl"><a class="src rightside" href="../../src/game/common/share.rs.html#99-166">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShareProposal" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/share/struct.ShareProposal.html" title="struct game::common::share::ShareProposal">ShareProposal</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-2" class="method trait-impl"><a class="src rightside" href="../../src/game/common/share.rs.html#100-161">source</a><a href="#method.on_click-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-13" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#439-442">source</a><a href="#method.other_event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-68" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#444-446">source</a><a href="#method.draw-68" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-13" class="method trait-impl"><a href="#method.on_click_custom-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../../src/game/common/share.rs.html#163-165">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-2" class="method trait-impl"><a href="#method.on_click_custom-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-14" class="method trait-impl"><a href="#method.panel_changed-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-3" class="method trait-impl"><a href="#method.panel_changed-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-13" class="method trait-impl"><a href="#method.on_mouseover-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-67" class="method trait-impl"><a href="#method.draw_baselayer-67" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-Proposals" class="impl"><a class="src rightside" href="../../src/game/pregame/proposals.rs.html#108-135">source</a><a href="#impl-SimpleState%3CApp%3E-for-Proposals" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../pregame/proposals/struct.Proposals.html" title="struct game::pregame::proposals::Proposals">Proposals</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-11" class="method trait-impl"><a class="src rightside" href="../../src/game/pregame/proposals.rs.html#109-134">source</a><a href="#method.on_click-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-11" class="method trait-impl"><a href="#method.on_click_custom-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-12" class="method trait-impl"><a href="#method.panel_changed-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-11" class="method trait-impl"><a href="#method.on_mouseover-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-11" class="method trait-impl"><a href="#method.other_event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-61" class="method trait-impl"><a href="#method.draw-61" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;A</a>)</h4></section><section id="method.draw_baselayer-60" class="method trait-impl"><a href="#method.draw_baselayer-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShareProposal" class="impl"><a class="src rightside" href="../../src/game/common/share.rs.html#99-166">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShareProposal" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/share/struct.ShareProposal.html" title="struct game::common::share::ShareProposal">ShareProposal</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-14" class="method trait-impl"><a class="src rightside" href="../../src/game/common/share.rs.html#100-161">source</a><a href="#method.on_click-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-69" class="method trait-impl"><a class="src rightside" href="../../src/game/common/share.rs.html#163-165">source</a><a href="#method.draw-69" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-14" class="method trait-impl"><a href="#method.on_click_custom-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-15" class="method trait-impl"><a href="#method.panel_changed-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-14" class="method trait-impl"><a href="#method.on_mouseover-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-14" class="method trait-impl"><a href="#method.other_event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-68" class="method trait-impl"><a href="#method.draw_baselayer-68" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShowAbsolute" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#66-98">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShowAbsolute" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.ShowAbsolute.html" title="struct game::edit::traffic_signals::offsets::ShowAbsolute">ShowAbsolute</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#67-76">source</a><a href="#method.on_click" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-2" class="method trait-impl"><a href="#method.on_mouseover-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-2" class="method trait-impl"><a href="#method.other_event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-15" class="method trait-impl"><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShowAbsolute" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#66-98">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShowAbsolute" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.ShowAbsolute.html" title="struct game::edit::traffic_signals::offsets::ShowAbsolute">ShowAbsolute</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#67-76">source</a><a href="#method.on_click-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#78-82">source</a><a href="#method.on_mouseover" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#84-91">source</a><a href="#method.other_event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#78-82">source</a><a href="#method.on_mouseover-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#84-91">source</a><a href="#method.other_event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#93-97">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed" class="method trait-impl"><a href="#method.panel_changed" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-13" class="method trait-impl"><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShowRelative" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#156-197">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShowRelative" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.ShowRelative.html" title="struct game::edit::traffic_signals::offsets::ShowRelative">ShowRelative</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-7" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#157-168">source</a><a href="#method.on_click-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-7" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#170-175">source</a><a href="#method.on_mouseover-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-7" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#177-190">source</a><a href="#method.other_event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-49" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#192-196">source</a><a href="#method.draw-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-7" class="method trait-impl"><a href="#method.on_click_custom-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-8" class="method trait-impl"><a href="#method.panel_changed-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-48" class="method trait-impl"><a href="#method.draw_baselayer-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-StopSignEditor" class="impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#100-252">source</a><a href="#impl-SimpleState%3CApp%3E-for-StopSignEditor" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/stop_signs/struct.StopSignEditor.html" title="struct game::edit::stop_signs::StopSignEditor">StopSignEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-4" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#101-168">source</a><a href="#method.on_click-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-4" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#170-180">source</a><a href="#method.on_mouseover-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-4" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#182-212">source</a><a href="#method.other_event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-36" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#214-251">source</a><a href="#method.draw-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-4" class="method trait-impl"><a href="#method.on_click_custom-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-5" class="method trait-impl"><a href="#method.panel_changed-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-35" class="method trait-impl"><a href="#method.draw_baselayer-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-TuneRelative" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#288-326">source</a><a href="#impl-SimpleState%3CApp%3E-for-TuneRelative" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.TuneRelative.html" title="struct game::edit::traffic_signals::offsets::TuneRelative">TuneRelative</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#289-316">source</a><a href="#method.on_click-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-15" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#318-321">source</a><a href="#method.other_event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-70" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#323-325">source</a><a href="#method.draw-70" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-15" class="method trait-impl"><a href="#method.on_click_custom-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
call this to handle all other events.</div></details><section id="method.draw-69" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#93-97">source</a><a href="#method.draw-69" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-15" class="method trait-impl"><a href="#method.on_click_custom-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -402,355 +330,427 @@ call this to handle all other events.</div></details><section id="method.draw-70
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-15" class="method trait-impl"><a href="#method.on_mouseover-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-69" class="method trait-impl"><a href="#method.draw_baselayer-69" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-UberTurnPicker" class="impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#53-120">source</a><a href="#impl-SimpleState%3CApp%3E-for-UberTurnPicker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/uber_turns/struct.UberTurnPicker.html" title="struct game::debug::uber_turns::UberTurnPicker">UberTurnPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#54-88">source</a><a href="#method.on_click-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-68" class="method trait-impl"><a href="#method.draw_baselayer-68" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-ShowRelative" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#156-197">source</a><a href="#impl-SimpleState%3CApp%3E-for-ShowRelative" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.ShowRelative.html" title="struct game::edit::traffic_signals::offsets::ShowRelative">ShowRelative</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#157-168">source</a><a href="#method.on_click" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#90-92">source</a><a href="#method.on_mouseover-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#93-105">source</a><a href="#method.other_event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#170-175">source</a><a href="#method.on_mouseover" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#177-190">source</a><a href="#method.other_event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-56" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#107-119">source</a><a href="#method.draw-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-9" class="method trait-impl"><a href="#method.on_click_custom-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
call this to handle all other events.</div></details><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#192-196">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-10" class="method trait-impl"><a href="#method.panel_changed-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed" class="method trait-impl"><a href="#method.panel_changed" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-55" class="method trait-impl"><a href="#method.draw_baselayer-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-UberTurnViewer" class="impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#201-260">source</a><a href="#impl-SimpleState%3CApp%3E-for-UberTurnViewer" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/uber_turns/struct.UberTurnViewer.html" title="struct game::debug::uber_turns::UberTurnViewer">UberTurnViewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-5" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#202-227">source</a><a href="#method.on_click-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-4" class="method trait-impl"><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-StopSignEditor" class="impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#100-252">source</a><a href="#impl-SimpleState%3CApp%3E-for-StopSignEditor" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/stop_signs/struct.StopSignEditor.html" title="struct game::edit::stop_signs::StopSignEditor">StopSignEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-12" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#101-168">source</a><a href="#method.on_click-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-6" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#228-241">source</a><a href="#method.panel_changed-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-12" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#170-180">source</a><a href="#method.on_mouseover-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-12" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#182-212">source</a><a href="#method.other_event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
panel: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-5" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#243-246">source</a><a href="#method.other_event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-37" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#248-250">source</a><a href="#method.draw_baselayer-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-38" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#252-259">source</a><a href="#method.draw-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-5" class="method trait-impl"><a href="#method.on_click_custom-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
call this to handle all other events.</div></details><section id="method.draw-57" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/stop_signs.rs.html#214-251">source</a><a href="#method.draw-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-12" class="method trait-impl"><a href="#method.on_click_custom-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-5" class="method trait-impl"><a href="#method.on_mouseover-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ActiveTraffic" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#63-80">source</a><a href="#impl-State%3CApp%3E-for-ActiveTraffic" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/misc/struct.ActiveTraffic.html" title="struct game::sandbox::dashboards::misc::ActiveTraffic">ActiveTraffic</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-44" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#64-75">source</a><a href="#method.event-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-53" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#77-79">source</a><a href="#method.draw-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-52" class="method trait-impl"><a href="#method.draw_baselayer-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-44" class="method trait-impl"><a href="#method.on_destroy-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-44" class="method trait-impl"><a href="#method.recreate-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-13" class="method trait-impl"><a href="#method.panel_changed-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-56" class="method trait-impl"><a href="#method.draw_baselayer-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-TuneRelative" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#288-326">source</a><a href="#impl-SimpleState%3CApp%3E-for-TuneRelative" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/offsets/struct.TuneRelative.html" title="struct game::edit::traffic_signals::offsets::TuneRelative">TuneRelative</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-11" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#289-316">source</a><a href="#method.on_click-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
panel: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-11" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#318-321">source</a><a href="#method.other_event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-56" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/offsets.rs.html#323-325">source</a><a href="#method.draw-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-11" class="method trait-impl"><a href="#method.on_click_custom-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-12" class="method trait-impl"><a href="#method.panel_changed-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-11" class="method trait-impl"><a href="#method.on_mouseover-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><section id="method.draw_baselayer-55" class="method trait-impl"><a href="#method.draw_baselayer-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-UberTurnPicker" class="impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#53-120">source</a><a href="#impl-SimpleState%3CApp%3E-for-UberTurnPicker" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/uber_turns/struct.UberTurnPicker.html" title="struct game::debug::uber_turns::UberTurnPicker">UberTurnPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-7" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#54-88">source</a><a href="#method.on_click-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-7" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#90-92">source</a><a href="#method.on_mouseover-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-7" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#93-105">source</a><a href="#method.other_event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-44" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#107-119">source</a><a href="#method.draw-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-7" class="method trait-impl"><a href="#method.on_click_custom-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-8" class="method trait-impl"><a href="#method.panel_changed-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><section id="method.draw_baselayer-43" class="method trait-impl"><a href="#method.draw_baselayer-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SimpleState%3CApp%3E-for-UberTurnViewer" class="impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#201-260">source</a><a href="#impl-SimpleState%3CApp%3E-for-UberTurnViewer" class="anchor">§</a><h3 class="code-header">impl SimpleState&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/uber_turns/struct.UberTurnViewer.html" title="struct game::debug::uber_turns::UberTurnViewer">UberTurnViewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.on_click-8" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#202-227">source</a><a href="#method.on_click-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>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>.</div></details><details class="toggle method-toggle" open><summary><section id="method.panel_changed-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#228-241">source</a><a href="#method.panel_changed-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">panel_changed</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>,
panel: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-8" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#243-246">source</a><a href="#method.other_event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw_baselayer-52" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#248-250">source</a><a href="#method.draw_baselayer-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-53" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/uber_turns.rs.html#252-259">source</a><a href="#method.draw-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-8" class="method trait-impl"><a href="#method.on_click_custom-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-8" class="method trait-impl"><a href="#method.on_mouseover-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ActiveTraffic" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#63-80">source</a><a href="#impl-State%3CApp%3E-for-ActiveTraffic" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/misc/struct.ActiveTraffic.html" title="struct game::sandbox::dashboards::misc::ActiveTraffic">ActiveTraffic</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-24" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#64-75">source</a><a href="#method.event-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-31" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#77-79">source</a><a href="#method.draw-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-30" class="method trait-impl"><a href="#method.draw_baselayer-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-24" class="method trait-impl"><a href="#method.on_destroy-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-24" class="method trait-impl"><a href="#method.recreate-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AgentSpawner" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#90-305">source</a><a href="#impl-State%3CApp%3E-for-AgentSpawner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/spawner/struct.AgentSpawner.html" title="struct game::sandbox::gameplay::freeform::spawner::AgentSpawner">AgentSpawner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-35" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#91-289">source</a><a href="#method.event-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-42" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#291-304">source</a><a href="#method.draw-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-41" class="method trait-impl"><a href="#method.draw_baselayer-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-35" class="method trait-impl"><a href="#method.on_destroy-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-35" class="method trait-impl"><a href="#method.recreate-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AgentSpawner" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#90-305">source</a><a href="#impl-State%3CApp%3E-for-AgentSpawner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/spawner/struct.AgentSpawner.html" title="struct game::sandbox::gameplay::freeform::spawner::AgentSpawner">AgentSpawner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-38" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#91-289">source</a><a href="#method.event-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-47" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/spawner.rs.html#291-304">source</a><a href="#method.draw-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-46" class="method trait-impl"><a href="#method.draw_baselayer-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-38" class="method trait-impl"><a href="#method.on_destroy-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-38" class="method trait-impl"><a href="#method.recreate-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AllRoutesExplorer" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#366-464">source</a><a href="#impl-State%3CApp%3E-for-AllRoutesExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.AllRoutesExplorer.html" title="struct game::debug::routes::AllRoutesExplorer">AllRoutesExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#367-454">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#456-463">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-4" class="method trait-impl"><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AllRoutesExplorer" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#366-464">source</a><a href="#impl-State%3CApp%3E-for-AllRoutesExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.AllRoutesExplorer.html" title="struct game::debug::routes::AllRoutesExplorer">AllRoutesExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-48" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#367-454">source</a><a href="#method.event-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-63" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#456-463">source</a><a href="#method.draw-63" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-62" class="method trait-impl"><a href="#method.draw_baselayer-62" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-48" class="method trait-impl"><a href="#method.on_destroy-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-48" class="method trait-impl"><a href="#method.recreate-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AreaSpawner" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#83-166">source</a><a href="#impl-State%3CApp%3E-for-AreaSpawner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/area_spawner/struct.AreaSpawner.html" title="struct game::sandbox::gameplay::freeform::area_spawner::AreaSpawner">AreaSpawner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-21" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#84-157">source</a><a href="#method.event-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-26" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#159-165">source</a><a href="#method.draw-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-25" class="method trait-impl"><a href="#method.draw_baselayer-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-21" class="method trait-impl"><a href="#method.on_destroy-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-21" class="method trait-impl"><a href="#method.recreate-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-AreaSpawner" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#83-166">source</a><a href="#impl-State%3CApp%3E-for-AreaSpawner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/freeform/area_spawner/struct.AreaSpawner.html" title="struct game::sandbox::gameplay::freeform::area_spawner::AreaSpawner">AreaSpawner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-34" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#84-157">source</a><a href="#method.event-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-42" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/freeform/area_spawner.rs.html#159-165">source</a><a href="#method.draw-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-41" class="method trait-impl"><a href="#method.draw_baselayer-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-34" class="method trait-impl"><a href="#method.on_destroy-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-34" class="method trait-impl"><a href="#method.recreate-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-BackToTitleScreen" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#293-301">source</a><a href="#impl-State%3CApp%3E-for-BackToTitleScreen" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.BackToTitleScreen.html" title="struct game::sandbox::BackToTitleScreen">BackToTitleScreen</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-39" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#294-298">source</a><a href="#method.event-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-47" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#300">source</a><a href="#method.draw-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-46" class="method trait-impl"><a href="#method.draw_baselayer-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-39" class="method trait-impl"><a href="#method.on_destroy-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-39" class="method trait-impl"><a href="#method.recreate-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-BackToTitleScreen" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#293-301">source</a><a href="#impl-State%3CApp%3E-for-BackToTitleScreen" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.BackToTitleScreen.html" title="struct game::sandbox::BackToTitleScreen">BackToTitleScreen</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#294-298">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#300">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Blockfinder" class="impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#154-332">source</a><a href="#impl-State%3CApp%3E-for-Blockfinder" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blockfinder/struct.Blockfinder.html" title="struct game::debug::blockfinder::Blockfinder">Blockfinder</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-59" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#155-308">source</a><a href="#method.event-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-77" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#310-331">source</a><a href="#method.draw-77" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-76" class="method trait-impl"><a href="#method.draw_baselayer-76" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-59" class="method trait-impl"><a href="#method.on_destroy-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-59" class="method trait-impl"><a href="#method.recreate-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Blockfinder" class="impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#154-332">source</a><a href="#impl-State%3CApp%3E-for-Blockfinder" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blockfinder/struct.Blockfinder.html" title="struct game::debug::blockfinder::Blockfinder">Blockfinder</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#155-308">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blockfinder.rs.html#310-331">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-7" class="method trait-impl"><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-BulkSelect" class="impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#36-63">source</a><a href="#impl-State%3CApp%3E-for-BulkSelect" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/select_roads/struct.BulkSelect.html" title="struct game::debug::select_roads::BulkSelect">BulkSelect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-27" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#37-57">source</a><a href="#method.event-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-32" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#59-62">source</a><a href="#method.draw-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-31" class="method trait-impl"><a href="#method.draw_baselayer-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-27" class="method trait-impl"><a href="#method.on_destroy-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-27" class="method trait-impl"><a href="#method.recreate-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-BulkSelect" class="impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#36-63">source</a><a href="#impl-State%3CApp%3E-for-BulkSelect" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/select_roads/struct.BulkSelect.html" title="struct game::debug::select_roads::BulkSelect">BulkSelect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#37-57">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/select_roads.rs.html#59-62">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#517-571">source</a><a href="#impl-State%3CApp%3E-for-ChangeMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.ChangeMode.html" title="struct game::sandbox::gameplay::play_scenario::ChangeMode">ChangeMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-19" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#518-565">source</a><a href="#method.event-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-24" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#567-570">source</a><a href="#method.draw-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-23" class="method trait-impl"><a href="#method.draw_baselayer-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-19" class="method trait-impl"><a href="#method.on_destroy-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-19" class="method trait-impl"><a href="#method.recreate-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#517-571">source</a><a href="#impl-State%3CApp%3E-for-ChangeMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.ChangeMode.html" title="struct game::sandbox::gameplay::play_scenario::ChangeMode">ChangeMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-42" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#518-565">source</a><a href="#method.event-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-51" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#567-570">source</a><a href="#method.draw-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-50" class="method trait-impl"><a href="#method.draw_baselayer-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-42" class="method trait-impl"><a href="#method.on_destroy-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-42" class="method trait-impl"><a href="#method.recreate-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CollisionsViewer" class="impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#271-304">source</a><a href="#impl-State%3CApp%3E-for-CollisionsViewer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/collisions/struct.CollisionsViewer.html" title="struct game::devtools::collisions::CollisionsViewer">CollisionsViewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-49" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#272-298">source</a><a href="#method.event-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-62" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#300-303">source</a><a href="#method.draw-62" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-61" class="method trait-impl"><a href="#method.draw_baselayer-61" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-49" class="method trait-impl"><a href="#method.on_destroy-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-49" class="method trait-impl"><a href="#method.recreate-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CollisionsViewer" class="impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#271-304">source</a><a href="#impl-State%3CApp%3E-for-CollisionsViewer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/collisions/struct.CollisionsViewer.html" title="struct game::devtools::collisions::CollisionsViewer">CollisionsViewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-18" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#272-298">source</a><a href="#method.event-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-22" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/collisions.rs.html#300-303">source</a><a href="#method.draw-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-21" class="method trait-impl"><a href="#method.draw_baselayer-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-18" class="method trait-impl"><a href="#method.on_destroy-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-18" class="method trait-impl"><a href="#method.recreate-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CommuterPatterns" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#366-479">source</a><a href="#impl-State%3CApp%3E-for-CommuterPatterns" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/commuter/struct.CommuterPatterns.html" title="struct game::sandbox::dashboards::commuter::CommuterPatterns">CommuterPatterns</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-32" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#367-470">source</a><a href="#method.event-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-39" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#472-478">source</a><a href="#method.draw-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-38" class="method trait-impl"><a href="#method.draw_baselayer-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-32" class="method trait-impl"><a href="#method.on_destroy-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-32" class="method trait-impl"><a href="#method.recreate-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CommuterPatterns" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#366-479">source</a><a href="#impl-State%3CApp%3E-for-CommuterPatterns" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/commuter/struct.CommuterPatterns.html" title="struct game::sandbox::dashboards::commuter::CommuterPatterns">CommuterPatterns</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#367-470">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/commuter.rs.html#472-478">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-3" class="method trait-impl"><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ConfirmDiscard" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#984-1002">source</a><a href="#impl-State%3CApp%3E-for-ConfirmDiscard" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.ConfirmDiscard.html" title="struct game::edit::ConfirmDiscard">ConfirmDiscard</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-36" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#985-997">source</a><a href="#method.event-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-43" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#999-1001">source</a><a href="#method.draw-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-42" class="method trait-impl"><a href="#method.draw_baselayer-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-36" class="method trait-impl"><a href="#method.on_destroy-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-36" class="method trait-impl"><a href="#method.recreate-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ConfirmDiscard" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#984-1002">source</a><a href="#impl-State%3CApp%3E-for-ConfirmDiscard" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.ConfirmDiscard.html" title="struct game::edit::ConfirmDiscard">ConfirmDiscard</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-21" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#985-997">source</a><a href="#method.event-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-26" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#999-1001">source</a><a href="#method.draw-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-25" class="method trait-impl"><a href="#method.draw_baselayer-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-21" class="method trait-impl"><a href="#method.on_destroy-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-21" class="method trait-impl"><a href="#method.recreate-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CrosswalkEditor" class="impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#67-103">source</a><a href="#impl-State%3CApp%3E-for-CrosswalkEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/crosswalks/struct.CrosswalkEditor.html" title="struct game::edit::crosswalks::CrosswalkEditor">CrosswalkEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-23" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#68-97">source</a><a href="#method.event-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-28" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#99-102">source</a><a href="#method.draw-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-27" class="method trait-impl"><a href="#method.draw_baselayer-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-23" class="method trait-impl"><a href="#method.on_destroy-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-23" class="method trait-impl"><a href="#method.recreate-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CrosswalkEditor" class="impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#67-103">source</a><a href="#impl-State%3CApp%3E-for-CrosswalkEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/crosswalks/struct.CrosswalkEditor.html" title="struct game::edit::crosswalks::CrosswalkEditor">CrosswalkEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-32" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#68-97">source</a><a href="#method.event-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-40" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/crosswalks.rs.html#99-102">source</a><a href="#method.draw-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-39" class="method trait-impl"><a href="#method.draw_baselayer-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-32" class="method trait-impl"><a href="#method.on_destroy-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-32" class="method trait-impl"><a href="#method.recreate-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CutscenePlayer" class="impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#90-132">source</a><a href="#impl-State%3CApp%3E-for-CutscenePlayer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/cutscene/struct.CutscenePlayer.html" title="struct game::challenges::cutscene::CutscenePlayer">CutscenePlayer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-53" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#91-127">source</a><a href="#method.event-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-67" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#129-131">source</a><a href="#method.draw-67" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-66" class="method trait-impl"><a href="#method.draw_baselayer-66" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-53" class="method trait-impl"><a href="#method.on_destroy-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-53" class="method trait-impl"><a href="#method.recreate-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CutscenePlayer" class="impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#90-132">source</a><a href="#impl-State%3CApp%3E-for-CutscenePlayer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/cutscene/struct.CutscenePlayer.html" title="struct game::challenges::cutscene::CutscenePlayer">CutscenePlayer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#91-127">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#129-131">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DebugMode" class="impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#208-494">source</a><a href="#impl-State%3CApp%3E-for-DebugMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/struct.DebugMode.html" title="struct game::debug::DebugMode">DebugMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-31" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#209-465">source</a><a href="#method.event-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-36" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#467-469">source</a><a href="#method.draw_baselayer-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-37" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#471-493">source</a><a href="#method.draw-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-31" class="method trait-impl"><a href="#method.on_destroy-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-31" class="method trait-impl"><a href="#method.recreate-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DebugMode" class="impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#208-494">source</a><a href="#impl-State%3CApp%3E-for-DebugMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/struct.DebugMode.html" title="struct game::debug::DebugMode">DebugMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-52" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#209-465">source</a><a href="#method.event-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-67" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#467-469">source</a><a href="#method.draw_baselayer-67" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-68" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#471-493">source</a><a href="#method.draw-68" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-52" class="method trait-impl"><a href="#method.on_destroy-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-52" class="method trait-impl"><a href="#method.recreate-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DebugWarp" class="impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#133-152">source</a><a href="#impl-State%3CApp%3E-for-DebugWarp" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/warp/struct.DebugWarp.html" title="struct game::common::warp::DebugWarp">DebugWarp</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-18" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#134-146">source</a><a href="#method.event-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-22" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#148-151">source</a><a href="#method.draw-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-21" class="method trait-impl"><a href="#method.draw_baselayer-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-18" class="method trait-impl"><a href="#method.on_destroy-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-18" class="method trait-impl"><a href="#method.recreate-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DebugWarp" class="impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#133-152">source</a><a href="#impl-State%3CApp%3E-for-DebugWarp" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/warp/struct.DebugWarp.html" title="struct game::common::warp::DebugWarp">DebugWarp</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-28" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#134-146">source</a><a href="#method.event-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-36" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#148-151">source</a><a href="#method.draw-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-35" class="method trait-impl"><a href="#method.draw_baselayer-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-28" class="method trait-impl"><a href="#method.on_destroy-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-28" class="method trait-impl"><a href="#method.recreate-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DrawFreehand" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#404-435">source</a><a href="#impl-State%3CApp%3E-for-DrawFreehand" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.DrawFreehand.html" title="struct game::devtools::story::DrawFreehand">DrawFreehand</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-38" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#405-426">source</a><a href="#method.event-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-45" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#428-430">source</a><a href="#method.draw_baselayer-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-46" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#432-434">source</a><a href="#method.draw-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-38" class="method trait-impl"><a href="#method.on_destroy-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-38" class="method trait-impl"><a href="#method.recreate-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DrawFreehand" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#404-435">source</a><a href="#impl-State%3CApp%3E-for-DrawFreehand" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.DrawFreehand.html" title="struct game::devtools::story::DrawFreehand">DrawFreehand</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-35" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#405-426">source</a><a href="#method.event-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-42" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#428-430">source</a><a href="#method.draw_baselayer-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-43" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#432-434">source</a><a href="#method.draw-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-35" class="method trait-impl"><a href="#method.on_destroy-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-35" class="method trait-impl"><a href="#method.recreate-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-EditMode" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#139-398">source</a><a href="#impl-State%3CApp%3E-for-EditMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.EditMode.html" title="struct game::edit::EditMode">EditMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-50" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#140-389">source</a><a href="#method.event-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-64" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#391-397">source</a><a href="#method.draw-64" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-63" class="method trait-impl"><a href="#method.draw_baselayer-63" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-50" class="method trait-impl"><a href="#method.on_destroy-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-50" class="method trait-impl"><a href="#method.recreate-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-EditMode" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#139-398">source</a><a href="#impl-State%3CApp%3E-for-EditMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.EditMode.html" title="struct game::edit::EditMode">EditMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-54" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#140-389">source</a><a href="#method.event-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-71" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#391-397">source</a><a href="#method.draw-71" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-70" class="method trait-impl"><a href="#method.draw_baselayer-70" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-54" class="method trait-impl"><a href="#method.on_destroy-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-54" class="method trait-impl"><a href="#method.recreate-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-EditScenarioModifiers" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#302-404">source</a><a href="#impl-State%3CApp%3E-for-EditScenarioModifiers" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.EditScenarioModifiers.html" title="struct game::sandbox::gameplay::play_scenario::EditScenarioModifiers">EditScenarioModifiers</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#303-398">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#400-403">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-15" class="method trait-impl"><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-EditScenarioModifiers" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#302-404">source</a><a href="#impl-State%3CApp%3E-for-EditScenarioModifiers" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/play_scenario/struct.EditScenarioModifiers.html" title="struct game::sandbox::gameplay::play_scenario::EditScenarioModifiers">EditScenarioModifiers</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#303-398">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/play_scenario.rs.html#400-403">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ExploreMap" class="impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#47-91">source</a><a href="#impl-State%3CApp%3E-for-ExploreMap" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/explore/struct.ExploreMap.html" title="struct game::ungap::explore::ExploreMap">ExploreMap</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#48-71">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#73-90">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ExploreMap" class="impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#47-91">source</a><a href="#impl-State%3CApp%3E-for-ExploreMap" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/explore/struct.ExploreMap.html" title="struct game::ungap::explore::ExploreMap">ExploreMap</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-41" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#48-71">source</a><a href="#method.event-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-50" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/explore.rs.html#73-90">source</a><a href="#method.draw-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-49" class="method trait-impl"><a href="#method.draw_baselayer-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-41" class="method trait-impl"><a href="#method.on_destroy-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-41" class="method trait-impl"><a href="#method.recreate-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FinalScore" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#305-376">source</a><a href="#impl-State%3CApp%3E-for-FinalScore" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/struct.FinalScore.html" title="struct game::sandbox::gameplay::FinalScore">FinalScore</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-48" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#306-371">source</a><a href="#method.event-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-60" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#373-375">source</a><a href="#method.draw-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-59" class="method trait-impl"><a href="#method.draw_baselayer-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-48" class="method trait-impl"><a href="#method.on_destroy-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-48" class="method trait-impl"><a href="#method.recreate-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FinalScore" class="impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#305-376">source</a><a href="#impl-State%3CApp%3E-for-FinalScore" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/gameplay/struct.FinalScore.html" title="struct game::sandbox::gameplay::FinalScore">FinalScore</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#306-371">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/gameplay/mod.rs.html#373-375">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-12" class="method trait-impl"><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Floodfiller" class="impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#80-112">source</a><a href="#impl-State%3CApp%3E-for-Floodfiller" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/floodfill/struct.Floodfiller.html" title="struct game::debug::floodfill::Floodfiller">Floodfiller</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#81-106">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#108-111">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-3" class="method trait-impl"><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Floodfiller" class="impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#80-112">source</a><a href="#impl-State%3CApp%3E-for-Floodfiller" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/floodfill/struct.Floodfiller.html" title="struct game::debug::floodfill::Floodfiller">Floodfiller</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#81-106">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/floodfill.rs.html#108-111">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-JumpToTime" class="impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#121-215">source</a><a href="#impl-State%3CApp%3E-for-JumpToTime" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/time_warp/struct.JumpToTime.html" title="struct game::sandbox::time_warp::JumpToTime">JumpToTime</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#122-209">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#211-214">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-7" class="method trait-impl"><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-JumpToTime" class="impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#121-215">source</a><a href="#impl-State%3CApp%3E-for-JumpToTime" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/time_warp/struct.JumpToTime.html" title="struct game::sandbox::time_warp::JumpToTime">JumpToTime</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-25" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#122-209">source</a><a href="#method.event-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-32" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#211-214">source</a><a href="#method.draw-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-31" class="method trait-impl"><a href="#method.draw_baselayer-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-25" class="method trait-impl"><a href="#method.on_destroy-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-25" class="method trait-impl"><a href="#method.recreate-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-LoadEdits" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#619-692">source</a><a href="#impl-State%3CApp%3E-for-LoadEdits" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.LoadEdits.html" title="struct game::edit::LoadEdits">LoadEdits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-54" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#620-686">source</a><a href="#method.event-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-71" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#688-691">source</a><a href="#method.draw-71" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-70" class="method trait-impl"><a href="#method.draw_baselayer-70" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-54" class="method trait-impl"><a href="#method.on_destroy-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-54" class="method trait-impl"><a href="#method.recreate-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-LoadEdits" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#619-692">source</a><a href="#impl-State%3CApp%3E-for-LoadEdits" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.LoadEdits.html" title="struct game::edit::LoadEdits">LoadEdits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-43" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#620-686">source</a><a href="#method.event-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-52" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#688-691">source</a><a href="#method.draw-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-51" class="method trait-impl"><a href="#method.draw_baselayer-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-43" class="method trait-impl"><a href="#method.on_destroy-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-43" class="method trait-impl"><a href="#method.recreate-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ModeShift" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#60-102">source</a><a href="#impl-State%3CApp%3E-for-ModeShift" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/mode_shift/struct.ModeShift.html" title="struct game::sandbox::dashboards::mode_shift::ModeShift">ModeShift</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-41" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#61-89">source</a><a href="#method.event-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-50" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#91-101">source</a><a href="#method.draw-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-49" class="method trait-impl"><a href="#method.draw_baselayer-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-41" class="method trait-impl"><a href="#method.on_destroy-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-41" class="method trait-impl"><a href="#method.recreate-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ModeShift" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#60-102">source</a><a href="#impl-State%3CApp%3E-for-ModeShift" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/mode_shift/struct.ModeShift.html" title="struct game::sandbox::dashboards::mode_shift::ModeShift">ModeShift</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#61-89">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/mode_shift.rs.html#91-101">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ParkingOverhead" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#74-106">source</a><a href="#impl-State%3CApp%3E-for-ParkingOverhead" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/parking_overhead/struct.ParkingOverhead.html" title="struct game::sandbox::dashboards::parking_overhead::ParkingOverhead">ParkingOverhead</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#75-100">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#102-105">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ParkingOverhead" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#74-106">source</a><a href="#impl-State%3CApp%3E-for-ParkingOverhead" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/parking_overhead/struct.ParkingOverhead.html" title="struct game::sandbox::dashboards::parking_overhead::ParkingOverhead">ParkingOverhead</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-39" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#75-100">source</a><a href="#method.event-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-48" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/parking_overhead.rs.html#102-105">source</a><a href="#method.draw-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-47" class="method trait-impl"><a href="#method.draw_baselayer-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-39" class="method trait-impl"><a href="#method.on_destroy-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-39" class="method trait-impl"><a href="#method.recreate-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PathCostDebugger" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#545-584">source</a><a href="#impl-State%3CApp%3E-for-PathCostDebugger" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.PathCostDebugger.html" title="struct game::debug::routes::PathCostDebugger">PathCostDebugger</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-46" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#546-575">source</a><a href="#method.event-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-57" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#577-583">source</a><a href="#method.draw-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-56" class="method trait-impl"><a href="#method.draw_baselayer-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-46" class="method trait-impl"><a href="#method.on_destroy-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-46" class="method trait-impl"><a href="#method.recreate-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PathCostDebugger" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#545-584">source</a><a href="#impl-State%3CApp%3E-for-PathCostDebugger" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.PathCostDebugger.html" title="struct game::debug::routes::PathCostDebugger">PathCostDebugger</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-31" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#546-575">source</a><a href="#method.event-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-39" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#577-583">source</a><a href="#method.draw-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-38" class="method trait-impl"><a href="#method.draw_baselayer-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-31" class="method trait-impl"><a href="#method.on_destroy-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-31" class="method trait-impl"><a href="#method.recreate-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PathCounter" class="impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#86-128">source</a><a href="#impl-State%3CApp%3E-for-PathCounter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/path_counter/struct.PathCounter.html" title="struct game::debug::path_counter::PathCounter">PathCounter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-25" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#87-116">source</a><a href="#method.event-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-30" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#118-127">source</a><a href="#method.draw-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-29" class="method trait-impl"><a href="#method.draw_baselayer-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-25" class="method trait-impl"><a href="#method.on_destroy-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-25" class="method trait-impl"><a href="#method.recreate-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PathCounter" class="impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#86-128">source</a><a href="#impl-State%3CApp%3E-for-PathCounter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/path_counter/struct.PathCounter.html" title="struct game::debug::path_counter::PathCounter">PathCounter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-46" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#87-116">source</a><a href="#method.event-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-61" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/path_counter.rs.html#118-127">source</a><a href="#method.draw-61" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-60" class="method trait-impl"><a href="#method.draw_baselayer-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-46" class="method trait-impl"><a href="#method.on_destroy-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-46" class="method trait-impl"><a href="#method.recreate-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickLayer" class="impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#162-283">source</a><a href="#impl-State%3CApp%3E-for-PickLayer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../layer/struct.PickLayer.html" title="struct game::layer::PickLayer">PickLayer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-22" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#163-273">source</a><a href="#method.event-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-26" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#275-277">source</a><a href="#method.draw_baselayer-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-27" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#279-282">source</a><a href="#method.draw-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-22" class="method trait-impl"><a href="#method.on_destroy-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-22" class="method trait-impl"><a href="#method.recreate-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickLayer" class="impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#162-283">source</a><a href="#impl-State%3CApp%3E-for-PickLayer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../layer/struct.PickLayer.html" title="struct game::layer::PickLayer">PickLayer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-17" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#163-273">source</a><a href="#method.event-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-20" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#275-277">source</a><a href="#method.draw_baselayer-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-21" class="method trait-impl"><a class="src rightside" href="../../src/game/layer/mod.rs.html#279-282">source</a><a href="#method.draw-21" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-17" class="method trait-impl"><a href="#method.on_destroy-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-17" class="method trait-impl"><a href="#method.recreate-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PolygonDebugger" class="impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#66-147">source</a><a href="#impl-State%3CApp%3E-for-PolygonDebugger" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/polygons/struct.PolygonDebugger.html" title="struct game::debug::polygons::PolygonDebugger">PolygonDebugger</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-43" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#67-95">source</a><a href="#method.event-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-52" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#97-146">source</a><a href="#method.draw-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-51" class="method trait-impl"><a href="#method.draw_baselayer-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-43" class="method trait-impl"><a href="#method.on_destroy-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-43" class="method trait-impl"><a href="#method.recreate-43" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PolygonDebugger" class="impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#66-147">source</a><a href="#impl-State%3CApp%3E-for-PolygonDebugger" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/polygons/struct.PolygonDebugger.html" title="struct game::debug::polygons::PolygonDebugger">PolygonDebugger</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#67-95">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-20" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/polygons.rs.html#97-146">source</a><a href="#method.draw-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-19" class="method trait-impl"><a href="#method.draw_baselayer-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PolygonEditor" class="impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#46-82">source</a><a href="#impl-State%3CApp%3E-for-PolygonEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/polygon/struct.PolygonEditor.html" title="struct game::devtools::polygon::PolygonEditor">PolygonEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-34" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#47-76">source</a><a href="#method.event-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-41" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#78-81">source</a><a href="#method.draw-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-40" class="method trait-impl"><a href="#method.draw_baselayer-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-34" class="method trait-impl"><a href="#method.on_destroy-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-34" class="method trait-impl"><a href="#method.recreate-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PolygonEditor" class="impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#46-82">source</a><a href="#impl-State%3CApp%3E-for-PolygonEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/polygon/struct.PolygonEditor.html" title="struct game::devtools::polygon::PolygonEditor">PolygonEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-58" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#47-76">source</a><a href="#method.event-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-75" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/polygon.rs.html#78-81">source</a><a href="#method.draw-75" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-74" class="method trait-impl"><a href="#method.draw_baselayer-74" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-58" class="method trait-impl"><a href="#method.on_destroy-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-58" class="method trait-impl"><a href="#method.recreate-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PopularDestinations" class="impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#112-168">source</a><a href="#impl-State%3CApp%3E-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/destinations/struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#113-146">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#148-167">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-12" class="method trait-impl"><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PopularDestinations" class="impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#112-168">source</a><a href="#impl-State%3CApp%3E-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/destinations/struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-20" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#113-146">source</a><a href="#method.event-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-24" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/destinations.rs.html#148-167">source</a><a href="#method.draw-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-23" class="method trait-impl"><a href="#method.draw_baselayer-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-20" class="method trait-impl"><a href="#method.on_destroy-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-20" class="method trait-impl"><a href="#method.recreate-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PreviewTrafficSignal" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#40-70">source</a><a href="#impl-State%3CApp%3E-for-PreviewTrafficSignal" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/preview/struct.PreviewTrafficSignal.html" title="struct game::edit::traffic_signals::preview::PreviewTrafficSignal">PreviewTrafficSignal</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#41-64">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#66-69">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PreviewTrafficSignal" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#40-70">source</a><a href="#impl-State%3CApp%3E-for-PreviewTrafficSignal" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/preview/struct.PreviewTrafficSignal.html" title="struct game::edit::traffic_signals::preview::PreviewTrafficSignal">PreviewTrafficSignal</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-56" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#41-64">source</a><a href="#method.event-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-73" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/preview.rs.html#66-69">source</a><a href="#method.draw-73" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-72" class="method trait-impl"><a href="#method.draw_baselayer-72" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-56" class="method trait-impl"><a href="#method.on_destroy-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-56" class="method trait-impl"><a href="#method.recreate-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-QuickSketch" class="impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#104-207">source</a><a href="#impl-State%3CApp%3E-for-QuickSketch" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/quick_sketch/struct.QuickSketch.html" title="struct game::ungap::quick_sketch::QuickSketch">QuickSketch</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#105-200">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#202-206">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-QuickSketch" class="impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#104-207">source</a><a href="#impl-State%3CApp%3E-for-QuickSketch" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/quick_sketch/struct.QuickSketch.html" title="struct game::ungap::quick_sketch::QuickSketch">QuickSketch</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-57" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#105-200">source</a><a href="#method.event-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-74" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/quick_sketch.rs.html#202-206">source</a><a href="#method.draw-74" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-73" class="method trait-impl"><a href="#method.draw_baselayer-73" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-57" class="method trait-impl"><a href="#method.on_destroy-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-57" class="method trait-impl"><a href="#method.recreate-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RectangularSelector" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#58-116">source</a><a href="#impl-State%3CApp%3E-for-RectangularSelector" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/selector/struct.RectangularSelector.html" title="struct game::sandbox::dashboards::selector::RectangularSelector">RectangularSelector</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#59-103">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#105-115">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RectangularSelector" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#58-116">source</a><a href="#impl-State%3CApp%3E-for-RectangularSelector" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/selector/struct.RectangularSelector.html" title="struct game::sandbox::dashboards::selector::RectangularSelector">RectangularSelector</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-26" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#59-103">source</a><a href="#method.event-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-34" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/selector.rs.html#105-115">source</a><a href="#method.draw-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-33" class="method trait-impl"><a href="#method.draw_baselayer-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-26" class="method trait-impl"><a href="#method.on_destroy-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-26" class="method trait-impl"><a href="#method.recreate-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RiskSummaries" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#148-187">source</a><a href="#impl-State%3CApp%3E-for-RiskSummaries" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/risks/struct.RiskSummaries.html" title="struct game::sandbox::dashboards::risks::RiskSummaries">RiskSummaries</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-20" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#149-182">source</a><a href="#method.event-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-25" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#184-186">source</a><a href="#method.draw-25" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-24" class="method trait-impl"><a href="#method.draw_baselayer-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-20" class="method trait-impl"><a href="#method.on_destroy-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-20" class="method trait-impl"><a href="#method.recreate-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RiskSummaries" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#148-187">source</a><a href="#impl-State%3CApp%3E-for-RiskSummaries" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/risks/struct.RiskSummaries.html" title="struct game::sandbox::dashboards::risks::RiskSummaries">RiskSummaries</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-53" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#149-182">source</a><a href="#method.event-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-70" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/risks.rs.html#184-186">source</a><a href="#method.draw-70" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-69" class="method trait-impl"><a href="#method.draw_baselayer-69" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-53" class="method trait-impl"><a href="#method.on_destroy-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-53" class="method trait-impl"><a href="#method.recreate-53" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoadEditor" class="impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#195-518">source</a><a href="#impl-State%3CApp%3E-for-RoadEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/roads/struct.RoadEditor.html" title="struct game::edit::roads::RoadEditor">RoadEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-45" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#196-509">source</a><a href="#method.event-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-55" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#511-517">source</a><a href="#method.draw-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-54" class="method trait-impl"><a href="#method.draw_baselayer-54" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-45" class="method trait-impl"><a href="#method.on_destroy-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-45" class="method trait-impl"><a href="#method.recreate-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoadEditor" class="impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#195-518">source</a><a href="#impl-State%3CApp%3E-for-RoadEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/roads/struct.RoadEditor.html" title="struct game::edit::roads::RoadEditor">RoadEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-59" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#196-509">source</a><a href="#method.event-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-77" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/roads.rs.html#511-517">source</a><a href="#method.draw-77" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-76" class="method trait-impl"><a href="#method.draw_baselayer-76" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-59" class="method trait-impl"><a href="#method.on_destroy-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-59" class="method trait-impl"><a href="#method.recreate-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RouteEditor" class="impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#53-91">source</a><a href="#impl-State%3CApp%3E-for-RouteEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/routes/struct.RouteEditor.html" title="struct game::edit::routes::RouteEditor">RouteEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-24" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#54-86">source</a><a href="#method.event-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-29" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#88-90">source</a><a href="#method.draw-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-28" class="method trait-impl"><a href="#method.draw_baselayer-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-24" class="method trait-impl"><a href="#method.on_destroy-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-24" class="method trait-impl"><a href="#method.recreate-24" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RouteEditor" class="impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#53-91">source</a><a href="#impl-State%3CApp%3E-for-RouteEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/routes/struct.RouteEditor.html" title="struct game::edit::routes::RouteEditor">RouteEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-50" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#54-86">source</a><a href="#method.event-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-66" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/routes.rs.html#88-90">source</a><a href="#method.draw-66" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-65" class="method trait-impl"><a href="#method.draw_baselayer-65" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-50" class="method trait-impl"><a href="#method.on_destroy-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-50" class="method trait-impl"><a href="#method.recreate-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RouteExplorer" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#79-193">source</a><a href="#impl-State%3CApp%3E-for-RouteExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.RouteExplorer.html" title="struct game::debug::routes::RouteExplorer">RouteExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-60" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#80-167">source</a><a href="#method.event-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-78" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#169-192">source</a><a href="#method.draw-78" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-77" class="method trait-impl"><a href="#method.draw_baselayer-77" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-60" class="method trait-impl"><a href="#method.on_destroy-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-60" class="method trait-impl"><a href="#method.recreate-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RouteExplorer" class="impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#79-193">source</a><a href="#impl-State%3CApp%3E-for-RouteExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/routes/struct.RouteExplorer.html" title="struct game::debug::routes::RouteExplorer">RouteExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-55" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#80-167">source</a><a href="#method.event-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-72" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/routes.rs.html#169-192">source</a><a href="#method.draw-72" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-71" class="method trait-impl"><a href="#method.draw_baselayer-71" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-55" class="method trait-impl"><a href="#method.on_destroy-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-55" class="method trait-impl"><a href="#method.recreate-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SandboxLoader" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#457-665">source</a><a href="#impl-State%3CApp%3E-for-SandboxLoader" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.SandboxLoader.html" title="struct game::sandbox::SandboxLoader">SandboxLoader</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-51" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#458-662">source</a><a href="#method.event-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-65" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#664">source</a><a href="#method.draw-65" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-64" class="method trait-impl"><a href="#method.draw_baselayer-64" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-51" class="method trait-impl"><a href="#method.on_destroy-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-51" class="method trait-impl"><a href="#method.recreate-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SandboxLoader" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#457-665">source</a><a href="#impl-State%3CApp%3E-for-SandboxLoader" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.SandboxLoader.html" title="struct game::sandbox::SandboxLoader">SandboxLoader</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-51" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#458-662">source</a><a href="#method.event-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-67" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#664">source</a><a href="#method.draw-67" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-66" class="method trait-impl"><a href="#method.draw_baselayer-66" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-51" class="method trait-impl"><a href="#method.on_destroy-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-51" class="method trait-impl"><a href="#method.recreate-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SandboxMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#115-258">source</a><a href="#impl-State%3CApp%3E-for-SandboxMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.SandboxMode.html" title="struct game::sandbox::SandboxMode">SandboxMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#116-221">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#223-251">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#253-257">source</a><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SandboxMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#115-258">source</a><a href="#impl-State%3CApp%3E-for-SandboxMode" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/struct.SandboxMode.html" title="struct game::sandbox::SandboxMode">SandboxMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-37" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#116-221">source</a><a href="#method.event-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-46" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#223-251">source</a><a href="#method.draw-46" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-37" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#253-257">source</a><a href="#method.on_destroy-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-45" class="method trait-impl"><a href="#method.draw_baselayer-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-37" class="method trait-impl"><a href="#method.recreate-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveEdits" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#517-557">source</a><a href="#impl-State%3CApp%3E-for-SaveEdits" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.SaveEdits.html" title="struct game::edit::SaveEdits">SaveEdits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-30" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#518-551">source</a><a href="#method.event-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-35" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#553-556">source</a><a href="#method.draw-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-34" class="method trait-impl"><a href="#method.draw_baselayer-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-30" class="method trait-impl"><a href="#method.on_destroy-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-30" class="method trait-impl"><a href="#method.recreate-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveEdits" class="impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#517-557">source</a><a href="#impl-State%3CApp%3E-for-SaveEdits" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/struct.SaveEdits.html" title="struct game::edit::SaveEdits">SaveEdits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-30" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#518-551">source</a><a href="#method.event-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-38" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/mod.rs.html#553-556">source</a><a href="#method.draw-38" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-37" class="method trait-impl"><a href="#method.draw_baselayer-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-30" class="method trait-impl"><a href="#method.on_destroy-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-30" class="method trait-impl"><a href="#method.recreate-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ScenarioManager" class="impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#90-121">source</a><a href="#impl-State%3CApp%3E-for-ScenarioManager" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/scenario/struct.ScenarioManager.html" title="struct game::devtools::scenario::ScenarioManager">ScenarioManager</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#91-114">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#116-120">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ScenarioManager" class="impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#90-121">source</a><a href="#impl-State%3CApp%3E-for-ScenarioManager" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/scenario/struct.ScenarioManager.html" title="struct game::devtools::scenario::ScenarioManager">ScenarioManager</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-33" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#91-114">source</a><a href="#method.event-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-41" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/scenario.rs.html#116-120">source</a><a href="#method.draw-41" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-40" class="method trait-impl"><a href="#method.draw_baselayer-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-33" class="method trait-impl"><a href="#method.on_destroy-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-33" class="method trait-impl"><a href="#method.recreate-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ScreenshotTest" class="impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#956-984">source</a><a href="#impl-State%3CApp%3E-for-ScreenshotTest" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/struct.ScreenshotTest.html" title="struct game::debug::ScreenshotTest">ScreenshotTest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-33" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#957-982">source</a><a href="#method.event-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-40" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#983">source</a><a href="#method.draw-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-39" class="method trait-impl"><a href="#method.draw_baselayer-39" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-33" class="method trait-impl"><a href="#method.on_destroy-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-33" class="method trait-impl"><a href="#method.recreate-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ScreenshotTest" class="impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#956-984">source</a><a href="#impl-State%3CApp%3E-for-ScreenshotTest" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/struct.ScreenshotTest.html" title="struct game::debug::ScreenshotTest">ScreenshotTest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-45" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#957-982">source</a><a href="#method.event-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-60" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/mod.rs.html#983">source</a><a href="#method.draw-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-59" class="method trait-impl"><a href="#method.draw_baselayer-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-45" class="method trait-impl"><a href="#method.on_destroy-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-45" class="method trait-impl"><a href="#method.recreate-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectSegments" class="impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#155-277">source</a><a href="#impl-State%3CApp%3E-for-SelectSegments" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/multiple_roads/struct.SelectSegments.html" title="struct game::edit::multiple_roads::SelectSegments">SelectSegments</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-56" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#156-242">source</a><a href="#method.event-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-73" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#244-271">source</a><a href="#method.draw-73" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-56" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#273-276">source</a><a href="#method.on_destroy-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-72" class="method trait-impl"><a href="#method.draw_baselayer-72" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-56" class="method trait-impl"><a href="#method.recreate-56" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectSegments" class="impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#155-277">source</a><a href="#impl-State%3CApp%3E-for-SelectSegments" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/multiple_roads/struct.SelectSegments.html" title="struct game::edit::multiple_roads::SelectSegments">SelectSegments</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-49" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#156-242">source</a><a href="#method.event-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-65" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#244-271">source</a><a href="#method.draw-65" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-49" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/multiple_roads.rs.html#273-276">source</a><a href="#method.on_destroy-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-64" class="method trait-impl"><a href="#method.draw_baselayer-64" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-49" class="method trait-impl"><a href="#method.recreate-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowGaps" class="impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#39-126">source</a><a href="#impl-State%3CApp%3E-for-ShowGaps" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/predict/struct.ShowGaps.html" title="struct game::ungap::predict::ShowGaps">ShowGaps</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-26" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#40-113">source</a><a href="#method.event-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-31" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#115-125">source</a><a href="#method.draw-31" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-30" class="method trait-impl"><a href="#method.draw_baselayer-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-26" class="method trait-impl"><a href="#method.on_destroy-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-26" class="method trait-impl"><a href="#method.recreate-26" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowGaps" class="impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#39-126">source</a><a href="#impl-State%3CApp%3E-for-ShowGaps" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/predict/struct.ShowGaps.html" title="struct game::ungap::predict::ShowGaps">ShowGaps</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-22" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#40-113">source</a><a href="#method.event-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-28" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/predict.rs.html#115-125">source</a><a href="#method.draw-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-27" class="method trait-impl"><a href="#method.draw_baselayer-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-22" class="method trait-impl"><a href="#method.on_destroy-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-22" class="method trait-impl"><a href="#method.recreate-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowMessage" class="impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#284-299">source</a><a href="#impl-State%3CApp%3E-for-ShowMessage" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/cutscene/struct.ShowMessage.html" title="struct game::challenges::cutscene::ShowMessage">ShowMessage</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#285-293">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-19" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#295-298">source</a><a href="#method.draw-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowMessage" class="impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#284-299">source</a><a href="#impl-State%3CApp%3E-for-ShowMessage" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../challenges/cutscene/struct.ShowMessage.html" title="struct game::challenges::cutscene::ShowMessage">ShowMessage</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-29" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#285-293">source</a><a href="#method.event-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-37" class="method trait-impl"><a class="src rightside" href="../../src/game/challenges/cutscene.rs.html#295-298">source</a><a href="#method.draw-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-36" class="method trait-impl"><a href="#method.draw_baselayer-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-29" class="method trait-impl"><a href="#method.on_destroy-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-29" class="method trait-impl"><a href="#method.recreate-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SignalPicker" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#46-106">source</a><a href="#impl-State%3CApp%3E-for-SignalPicker" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/picker/struct.SignalPicker.html" title="struct game::edit::traffic_signals::picker::SignalPicker">SignalPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-37" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#47-90">source</a><a href="#method.event-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-45" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#92-105">source</a><a href="#method.draw-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-44" class="method trait-impl"><a href="#method.draw_baselayer-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-37" class="method trait-impl"><a href="#method.on_destroy-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-37" class="method trait-impl"><a href="#method.recreate-37" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SignalPicker" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#46-106">source</a><a href="#impl-State%3CApp%3E-for-SignalPicker" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/picker/struct.SignalPicker.html" title="struct game::edit::traffic_signals::picker::SignalPicker">SignalPicker</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-19" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#47-90">source</a><a href="#method.event-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-23" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/picker.rs.html#92-105">source</a><a href="#method.draw-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-22" class="method trait-impl"><a href="#method.draw_baselayer-22" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-19" class="method trait-impl"><a href="#method.on_destroy-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-19" class="method trait-impl"><a href="#method.recreate-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-StoryMapEditor" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#130-266">source</a><a href="#impl-State%3CApp%3E-for-StoryMapEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.StoryMapEditor.html" title="struct game::devtools::story::StoryMapEditor">StoryMapEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-47" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#131-252">source</a><a href="#method.event-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-58" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#254-256">source</a><a href="#method.draw_baselayer-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-59" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#258-265">source</a><a href="#method.draw-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-47" class="method trait-impl"><a href="#method.on_destroy-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-47" class="method trait-impl"><a href="#method.recreate-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-StoryMapEditor" class="impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#130-266">source</a><a href="#impl-State%3CApp%3E-for-StoryMapEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/story/struct.StoryMapEditor.html" title="struct game::devtools::story::StoryMapEditor">StoryMapEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#131-252">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-16" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#254-256">source</a><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/story.rs.html#258-265">source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TimeWarpScreen" class="impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#277-409">source</a><a href="#impl-State%3CApp%3E-for-TimeWarpScreen" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/time_warp/struct.TimeWarpScreen.html" title="struct game::sandbox::time_warp::TimeWarpScreen">TimeWarpScreen</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-17" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#278-385">source</a><a href="#method.event-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-19" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#387-389">source</a><a href="#method.draw_baselayer-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-20" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#391-400">source</a><a href="#method.draw-20" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-17" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#402-408">source</a><a href="#method.on_destroy-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-17" class="method trait-impl"><a href="#method.recreate-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TimeWarpScreen" class="impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#277-409">source</a><a href="#impl-State%3CApp%3E-for-TimeWarpScreen" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/time_warp/struct.TimeWarpScreen.html" title="struct game::sandbox::time_warp::TimeWarpScreen">TimeWarpScreen</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#278-385">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#387-389">source</a><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#391-400">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/time_warp.rs.html#402-408">source</a><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficRecorder" class="impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#99-149">source</a><a href="#impl-State%3CApp%3E-for-TrafficRecorder" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/misc_tools/struct.TrafficRecorder.html" title="struct game::sandbox::misc_tools::TrafficRecorder">TrafficRecorder</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-52" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#100-133">source</a><a href="#method.event-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-66" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#135-148">source</a><a href="#method.draw-66" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-65" class="method trait-impl"><a href="#method.draw_baselayer-65" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-52" class="method trait-impl"><a href="#method.on_destroy-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-52" class="method trait-impl"><a href="#method.recreate-52" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficRecorder" class="impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#99-149">source</a><a href="#impl-State%3CApp%3E-for-TrafficRecorder" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/misc_tools/struct.TrafficRecorder.html" title="struct game::sandbox::misc_tools::TrafficRecorder">TrafficRecorder</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-47" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#100-133">source</a><a href="#method.event-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-62" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/misc_tools.rs.html#135-148">source</a><a href="#method.draw-62" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-61" class="method trait-impl"><a href="#method.draw_baselayer-61" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-47" class="method trait-impl"><a href="#method.on_destroy-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-47" class="method trait-impl"><a href="#method.recreate-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficSignalDemand" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#110-162">source</a><a href="#impl-State%3CApp%3E-for-TrafficSignalDemand" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/traffic_signals/struct.TrafficSignalDemand.html" title="struct game::sandbox::dashboards::traffic_signals::TrafficSignalDemand">TrafficSignalDemand</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-29" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#111-147">source</a><a href="#method.event-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-33" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#149-151">source</a><a href="#method.draw_baselayer-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-34" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#153-161">source</a><a href="#method.draw-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-29" class="method trait-impl"><a href="#method.on_destroy-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-29" class="method trait-impl"><a href="#method.recreate-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficSignalDemand" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#110-162">source</a><a href="#impl-State%3CApp%3E-for-TrafficSignalDemand" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/traffic_signals/struct.TrafficSignalDemand.html" title="struct game::sandbox::dashboards::traffic_signals::TrafficSignalDemand">TrafficSignalDemand</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#111-147">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#149-151">source</a><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-19" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#153-161">source</a><a href="#method.draw-19" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficSignalEditor" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#192-543">source</a><a href="#impl-State%3CApp%3E-for-TrafficSignalEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/struct.TrafficSignalEditor.html" title="struct game::edit::traffic_signals::TrafficSignalEditor">TrafficSignalEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#193-493">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#495-497">source</a><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#499-542">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TrafficSignalEditor" class="impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#192-543">source</a><a href="#impl-State%3CApp%3E-for-TrafficSignalEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/traffic_signals/struct.TrafficSignalEditor.html" title="struct game::edit::traffic_signals::TrafficSignalEditor">TrafficSignalEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-36" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#193-493">source</a><a href="#method.event-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-44" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#495-497">source</a><a href="#method.draw_baselayer-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-45" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/traffic_signals/mod.rs.html#499-542">source</a><a href="#method.draw-45" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-36" class="method trait-impl"><a href="#method.on_destroy-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-36" class="method trait-impl"><a href="#method.recreate-36" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TransitRoutes" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#203-253">source</a><a href="#impl-State%3CApp%3E-for-TransitRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/misc/struct.TransitRoutes.html" title="struct game::sandbox::dashboards::misc::TransitRoutes">TransitRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#204-248">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#250-252">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TransitRoutes" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#203-253">source</a><a href="#impl-State%3CApp%3E-for-TransitRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/misc/struct.TransitRoutes.html" title="struct game::sandbox::dashboards::misc::TransitRoutes">TransitRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#204-248">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/misc.rs.html#250-252">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TravelTimes" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#112-163">source</a><a href="#impl-State%3CApp%3E-for-TravelTimes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/travel_times/struct.TravelTimes.html" title="struct game::sandbox::dashboards::travel_times::TravelTimes">TravelTimes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-57" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#113-158">source</a><a href="#method.event-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-74" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#160-162">source</a><a href="#method.draw-74" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-73" class="method trait-impl"><a href="#method.draw_baselayer-73" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-57" class="method trait-impl"><a href="#method.on_destroy-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-57" class="method trait-impl"><a href="#method.recreate-57" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TravelTimes" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#112-163">source</a><a href="#impl-State%3CApp%3E-for-TravelTimes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/travel_times/struct.TravelTimes.html" title="struct game::sandbox::dashboards::travel_times::TravelTimes">TravelTimes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#113-158">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/travel_times.rs.html#160-162">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TripPlanner" class="impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#188-276">source</a><a href="#impl-State%3CApp%3E-for-TripPlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/trip/struct.TripPlanner.html" title="struct game::ungap::trip::TripPlanner">TripPlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-40" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#189-261">source</a><a href="#method.event-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-48" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#263-268">source</a><a href="#method.draw-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-40" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#270-275">source</a><a href="#method.on_destroy-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-47" class="method trait-impl"><a href="#method.draw_baselayer-47" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-40" class="method trait-impl"><a href="#method.recreate-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TripPlanner" class="impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#188-276">source</a><a href="#impl-State%3CApp%3E-for-TripPlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../ungap/trip/struct.TripPlanner.html" title="struct game::ungap::trip::TripPlanner">TripPlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-40" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#189-261">source</a><a href="#method.event-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-49" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#263-268">source</a><a href="#method.draw-49" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-40" class="method trait-impl"><a class="src rightside" href="../../src/game/ungap/trip/mod.rs.html#270-275">source</a><a href="#method.on_destroy-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-48" class="method trait-impl"><a href="#method.draw_baselayer-48" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-40" class="method trait-impl"><a href="#method.recreate-40" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TripTable" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#122-211">source</a><a href="#impl-State%3CApp%3E-for-TripTable" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/trip_table/struct.TripTable.html" title="struct game::sandbox::dashboards::trip_table::TripTable">TripTable</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-58" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#123-196">source</a><a href="#method.event-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-75" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#198-210">source</a><a href="#method.draw-75" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-74" class="method trait-impl"><a href="#method.draw_baselayer-74" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-58" class="method trait-impl"><a href="#method.on_destroy-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-58" class="method trait-impl"><a href="#method.recreate-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TripTable" class="impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#122-211">source</a><a href="#impl-State%3CApp%3E-for-TripTable" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/dashboards/trip_table/struct.TripTable.html" title="struct game::sandbox::dashboards::trip_table::TripTable">TripTable</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-44" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#123-196">source</a><a href="#method.event-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-59" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/dashboards/trip_table.rs.html#198-210">source</a><a href="#method.draw-59" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-58" class="method trait-impl"><a href="#method.draw_baselayer-58" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-44" class="method trait-impl"><a href="#method.on_destroy-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-44" class="method trait-impl"><a href="#method.recreate-44" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TurnExplorer" class="impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#31-104">source</a><a href="#impl-State%3CApp%3E-for-TurnExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/turn_explorer/struct.TurnExplorer.html" title="struct game::sandbox::turn_explorer::TurnExplorer">TurnExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#32-53">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#55-57">source</a><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#59-103">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-TurnExplorer" class="impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#31-104">source</a><a href="#impl-State%3CApp%3E-for-TurnExplorer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../sandbox/turn_explorer/struct.TurnExplorer.html" title="struct game::sandbox::turn_explorer::TurnExplorer">TurnExplorer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-23" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#32-53">source</a><a href="#method.event-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-29" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#55-57">source</a><a href="#method.draw_baselayer-29" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-30" class="method trait-impl"><a class="src rightside" href="../../src/game/sandbox/turn_explorer.rs.html#59-103">source</a><a href="#method.draw-30" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-23" class="method trait-impl"><a href="#method.on_destroy-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-23" class="method trait-impl"><a href="#method.recreate-23" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ViewKML" class="impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#113-209">source</a><a href="#impl-State%3CApp%3E-for-ViewKML" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/kml/struct.ViewKML.html" title="struct game::devtools::kml::ViewKML">ViewKML</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-55" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#114-194">source</a><a href="#method.event-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-72" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#196-208">source</a><a href="#method.draw-72" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-71" class="method trait-impl"><a href="#method.draw_baselayer-71" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-55" class="method trait-impl"><a href="#method.on_destroy-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-55" class="method trait-impl"><a href="#method.recreate-55" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ViewKML" class="impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#113-209">source</a><a href="#impl-State%3CApp%3E-for-ViewKML" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../devtools/kml/struct.ViewKML.html" title="struct game::devtools::kml::ViewKML">ViewKML</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-60" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#114-194">source</a><a href="#method.event-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-78" class="method trait-impl"><a class="src rightside" href="../../src/game/devtools/kml.rs.html#196-208">source</a><a href="#method.draw-78" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-77" class="method trait-impl"><a href="#method.draw_baselayer-77" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-60" class="method trait-impl"><a href="#method.on_destroy-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-60" class="method trait-impl"><a href="#method.recreate-60" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Viewer" class="impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#204-265">source</a><a href="#impl-State%3CApp%3E-for-Viewer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blocked_by/struct.Viewer.html" title="struct game::debug::blocked_by::Viewer">Viewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-28" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#205-251">source</a><a href="#method.event-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-33" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#253-264">source</a><a href="#method.draw-33" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-32" class="method trait-impl"><a href="#method.draw_baselayer-32" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-28" class="method trait-impl"><a href="#method.on_destroy-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-28" class="method trait-impl"><a href="#method.recreate-28" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Viewer" class="impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#204-265">source</a><a href="#impl-State%3CApp%3E-for-Viewer" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../debug/blocked_by/struct.Viewer.html" title="struct game::debug::blocked_by::Viewer">Viewer</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#205-251">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../../src/game/debug/blocked_by.rs.html#253-264">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Warping" class="impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#40-66">source</a><a href="#impl-State%3CApp%3E-for-Warping" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/warp/struct.Warping.html" title="struct game::common::warp::Warping">Warping</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#41-63">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#65">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Warping" class="impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#40-66">source</a><a href="#impl-State%3CApp%3E-for-Warping" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../common/warp/struct.Warping.html" title="struct game::common::warp::Warping">Warping</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#41-63">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../../src/game/common/warp.rs.html#65">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-13" class="method trait-impl"><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ZoneEditor" class="impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#83-166">source</a><a href="#impl-State%3CApp%3E-for-ZoneEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/zones/struct.ZoneEditor.html" title="struct game::edit::zones::ZoneEditor">ZoneEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-42" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#84-157">source</a><a href="#method.event-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-51" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#159-165">source</a><a href="#method.draw-51" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-50" class="method trait-impl"><a href="#method.draw_baselayer-50" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-42" class="method trait-impl"><a href="#method.on_destroy-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-42" class="method trait-impl"><a href="#method.recreate-42" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ZoneEditor" class="impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#83-166">source</a><a href="#impl-State%3CApp%3E-for-ZoneEditor" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="../edit/zones/struct.ZoneEditor.html" title="struct game::edit::zones::ZoneEditor">ZoneEditor</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-27" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#84-157">source</a><a href="#method.event-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-35" class="method trait-impl"><a class="src rightside" href="../../src/game/edit/zones.rs.html#159-165">source</a><a href="#method.draw-35" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-34" class="method trait-impl"><a href="#method.draw_baselayer-34" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-27" class="method trait-impl"><a href="#method.on_destroy-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-27" class="method trait-impl"><a href="#method.recreate-27" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,8 @@
pub(crate) person: PersonID,
pub(crate) duration: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;,
pub(crate) distance_crossed: Distance,
pub(crate) mode: <a class="enum" href="../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.id" class="structfield small-section-header"><a href="#structfield.id" class="anchor field">§</a><code>id: TripID</code></span><span id="structfield.person" class="structfield small-section-header"><a href="#structfield.person" class="anchor field">§</a><code>person: PersonID</code></span><span id="structfield.duration" class="structfield small-section-header"><a href="#structfield.duration" class="anchor field">§</a><code>duration: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;</code></span><span id="structfield.distance_crossed" class="structfield small-section-header"><a href="#structfield.distance_crossed" class="anchor field">§</a><code>distance_crossed: Distance</code></span><span id="structfield.mode" class="structfield small-section-header"><a href="#structfield.mode" class="anchor field">§</a><code>mode: <a class="enum" href="../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a></code></span><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="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-FinishedTrip" class="impl"><a class="src rightside" href="../src/headless/main.rs.html#412">source</a><a href="#impl-Serialize-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../src/headless/main.rs.html#412">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<span class="where fmt-newline">where
pub(crate) mode: TripMode,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.id" class="structfield small-section-header"><a href="#structfield.id" class="anchor field">§</a><code>id: TripID</code></span><span id="structfield.person" class="structfield small-section-header"><a href="#structfield.person" class="anchor field">§</a><code>person: PersonID</code></span><span id="structfield.duration" class="structfield small-section-header"><a href="#structfield.duration" class="anchor field">§</a><code>duration: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;</code></span><span id="structfield.distance_crossed" class="structfield small-section-header"><a href="#structfield.distance_crossed" class="anchor field">§</a><code>distance_crossed: Distance</code></span><span id="structfield.mode" class="structfield small-section-header"><a href="#structfield.mode" class="anchor field">§</a><code>mode: TripMode</code></span><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="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-FinishedTrip" class="impl"><a class="src rightside" href="../src/headless/main.rs.html#412">source</a><a href="#impl-Serialize-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../src/headless/main.rs.html#412">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<span class="where fmt-newline">where
__S: <a class="trait" href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</span></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.193/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></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"><section id="impl-RefUnwindSafe-for-FinishedTrip" class="impl"><a href="#impl-RefUnwindSafe-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section><section id="impl-Send-for-FinishedTrip" class="impl"><a href="#impl-Send-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section><section id="impl-Sync-for-FinishedTrip" class="impl"><a href="#impl-Sync-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section><section id="impl-Unpin-for-FinishedTrip" class="impl"><a href="#impl-Unpin-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section><section id="impl-UnwindSafe-for-FinishedTrip" class="impl"><a href="#impl-UnwindSafe-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.FinishedTrip.html" title="struct headless::FinishedTrip">FinishedTrip</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-FinishedTrip" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-FinishedTrip" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-FinishedTrip" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-FinishedTrip" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where

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

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
(function() {var implementors = {
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.GfxCtx.html\" title=\"struct widgetry::drawing::GfxCtx\">GfxCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/event_ctx/struct.EventCtx.html\" title=\"struct widgetry::event_ctx::EventCtx\">EventCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/event_ctx/struct.EventCtx.html\" title=\"struct widgetry::event_ctx::EventCtx\">EventCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.GfxCtx.html\" title=\"struct widgetry::drawing::GfxCtx\">GfxCtx</a>&lt;'_&gt;"]]
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/event_ctx/struct.EventCtx.html\" title=\"struct widgetry::event_ctx::EventCtx\">EventCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.GfxCtx.html\" title=\"struct widgetry::drawing::GfxCtx\">GfxCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/event_ctx/struct.EventCtx.html\" title=\"struct widgetry::event_ctx::EventCtx\">EventCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.GfxCtx.html\" title=\"struct widgetry::drawing::GfxCtx\">GfxCtx</a>&lt;'_&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html\" title=\"trait core::convert::AsRef\">AsRef</a>&lt;<a class=\"struct\" href=\"widgetry/assets/struct.Assets.html\" title=\"struct widgetry::assets::Assets\">Assets</a>&gt; for <a class=\"struct\" href=\"widgetry/drawing/struct.Prerender.html\" title=\"struct widgetry::drawing::Prerender\">Prerender</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

View File

@ -5,5 +5,5 @@
"santa":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"santa/music/struct.Music.html\" title=\"struct santa::music::Music\">Music</a>"]],
"sim":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"sim/sim/struct.SimOptions.html\" title=\"struct sim::sim::SimOptions\">SimOptions</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"sim/sim/enum.AlertHandler.html\" title=\"enum sim::sim::AlertHandler\">AlertHandler</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"sim/analytics/struct.Analytics.html\" title=\"struct sim::analytics::Analytics\">Analytics</a>"]],
"synthpop":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"synthpop/counts/struct.TrafficCounts.html\" title=\"struct synthpop::counts::TrafficCounts\">TrafficCounts</a>"]],
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/struct.EdgeInsets.html\" title=\"struct widgetry::widgets::EdgeInsets\">EdgeInsets</a>"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.ButtonStateStyle.html\" title=\"struct widgetry::widgets::button::ButtonStateStyle\">ButtonStateStyle</a>&lt;'a, 'c&gt;"],["impl&lt;X: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> + <a class=\"trait\" href=\"widgetry/widgets/plots/trait.Axis.html\" title=\"trait widgetry::widgets::plots::Axis\">Axis</a>&lt;X&gt;, Y: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> + <a class=\"trait\" href=\"widgetry/widgets/plots/trait.Axis.html\" title=\"trait widgetry::widgets::plots::Axis\">Axis</a>&lt;Y&gt;&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/plots/struct.PlotOptions.html\" title=\"struct widgetry::widgets::plots::PlotOptions\">PlotOptions</a>&lt;X, Y&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/geom/struct.GeomBatch.html\" title=\"struct widgetry::geom::GeomBatch\">GeomBatch</a>"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/image/struct.Image.html\" title=\"struct widgetry::widgets::image::Image\">Image</a>&lt;'a, 'c&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/geom/geom_batch_stack/struct.GeomBatchStack.html\" title=\"struct widgetry::geom::geom_batch_stack::GeomBatchStack\">GeomBatchStack</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"widgetry/enum.ContentMode.html\" title=\"enum widgetry::ContentMode\">ContentMode</a>"],["impl&lt;K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>, V&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/tools/struct.Cached.html\" title=\"struct widgetry::tools::Cached\">Cached</a>&lt;K, V&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"widgetry/widgets/enum.CornerRounding.html\" title=\"enum widgetry::widgets::CornerRounding\">CornerRounding</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.Label.html\" title=\"struct widgetry::widgets::button::Label\">Label</a>"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.ButtonBuilder.html\" title=\"struct widgetry::widgets::button::ButtonBuilder\">ButtonBuilder</a>&lt;'a, 'c&gt;"]]
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/struct.EdgeInsets.html\" title=\"struct widgetry::widgets::EdgeInsets\">EdgeInsets</a>"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.ButtonBuilder.html\" title=\"struct widgetry::widgets::button::ButtonBuilder\">ButtonBuilder</a>&lt;'a, 'c&gt;"],["impl&lt;X: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> + <a class=\"trait\" href=\"widgetry/widgets/plots/trait.Axis.html\" title=\"trait widgetry::widgets::plots::Axis\">Axis</a>&lt;X&gt;, Y: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> + <a class=\"trait\" href=\"widgetry/widgets/plots/trait.Axis.html\" title=\"trait widgetry::widgets::plots::Axis\">Axis</a>&lt;Y&gt;&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/plots/struct.PlotOptions.html\" title=\"struct widgetry::widgets::plots::PlotOptions\">PlotOptions</a>&lt;X, Y&gt;"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.ButtonStateStyle.html\" title=\"struct widgetry::widgets::button::ButtonStateStyle\">ButtonStateStyle</a>&lt;'a, 'c&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"widgetry/widgets/enum.CornerRounding.html\" title=\"enum widgetry::widgets::CornerRounding\">CornerRounding</a>"],["impl&lt;K: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a>, V&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/tools/struct.Cached.html\" title=\"struct widgetry::tools::Cached\">Cached</a>&lt;K, V&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/button/struct.Label.html\" title=\"struct widgetry::widgets::button::Label\">Label</a>"],["impl&lt;'a, 'c&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/widgets/image/struct.Image.html\" title=\"struct widgetry::widgets::image::Image\">Image</a>&lt;'a, 'c&gt;"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"enum\" href=\"widgetry/enum.ContentMode.html\" title=\"enum widgetry::ContentMode\">ContentMode</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/geom/struct.GeomBatch.html\" title=\"struct widgetry::geom::GeomBatch\">GeomBatch</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/default/trait.Default.html\" title=\"trait core::default::Default\">Default</a> for <a class=\"struct\" href=\"widgetry/geom/geom_batch_stack/struct.GeomBatchStack.html\" title=\"struct widgetry::geom::geom_batch_stack::GeomBatchStack\">GeomBatchStack</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
(function() {var implementors = {
"map_model":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/transit/struct.TransitRouteID.html\" title=\"struct map_model::objects::transit::TransitRouteID\">TransitRouteID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.RoadID.html\" title=\"struct map_model::objects::road::RoadID\">RoadID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/parking_lot/struct.ParkingLotID.html\" title=\"struct map_model::objects::parking_lot::ParkingLotID\">ParkingLotID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/area/struct.AreaID.html\" title=\"struct map_model::objects::area::AreaID\">AreaID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/building/struct.BuildingID.html\" title=\"struct map_model::objects::building::BuildingID\">BuildingID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/pathfind/v1/struct.PathRequest.html\" title=\"struct map_model::pathfind::v1::PathRequest\">PathRequest</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/traversable/struct.Position.html\" title=\"struct map_model::traversable::Position\">Position</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/turn/struct.TurnID.html\" title=\"struct map_model::objects::turn::TurnID\">TurnID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/lane/struct.LaneID.html\" title=\"struct map_model::objects::lane::LaneID\">LaneID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/transit/struct.TransitStopID.html\" title=\"struct map_model::objects::transit::TransitStopID\">TransitStopID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/intersection/struct.IntersectionID.html\" title=\"struct map_model::objects::intersection::IntersectionID\">IntersectionID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"map_model/traversable/enum.Traversable.html\" title=\"enum map_model::traversable::Traversable\">Traversable</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.OriginalRoad.html\" title=\"struct map_model::objects::road::OriginalRoad\">OriginalRoad</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.DirectedRoadID.html\" title=\"struct map_model::objects::road::DirectedRoadID\">DirectedRoadID</a>"]],
"map_model":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/traversable/struct.Position.html\" title=\"struct map_model::traversable::Position\">Position</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/turn/struct.TurnID.html\" title=\"struct map_model::objects::turn::TurnID\">TurnID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.RoadID.html\" title=\"struct map_model::objects::road::RoadID\">RoadID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/area/struct.AreaID.html\" title=\"struct map_model::objects::area::AreaID\">AreaID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/lane/struct.LaneID.html\" title=\"struct map_model::objects::lane::LaneID\">LaneID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.OriginalRoad.html\" title=\"struct map_model::objects::road::OriginalRoad\">OriginalRoad</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/transit/struct.TransitStopID.html\" title=\"struct map_model::objects::transit::TransitStopID\">TransitStopID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"map_model/traversable/enum.Traversable.html\" title=\"enum map_model::traversable::Traversable\">Traversable</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/building/struct.BuildingID.html\" title=\"struct map_model::objects::building::BuildingID\">BuildingID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/parking_lot/struct.ParkingLotID.html\" title=\"struct map_model::objects::parking_lot::ParkingLotID\">ParkingLotID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/transit/struct.TransitRouteID.html\" title=\"struct map_model::objects::transit::TransitRouteID\">TransitRouteID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/road/struct.DirectedRoadID.html\" title=\"struct map_model::objects::road::DirectedRoadID\">DirectedRoadID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/pathfind/v1/struct.PathRequest.html\" title=\"struct map_model::pathfind::v1::PathRequest\">PathRequest</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"map_model/objects/intersection/struct.IntersectionID.html\" title=\"struct map_model::objects::intersection::IntersectionID\">IntersectionID</a>"]],
"raw_map":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"raw_map/types/enum.AmenityType.html\" title=\"enum raw_map::types::AmenityType\">AmenityType</a>"]],
"sim":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.CarID.html\" title=\"struct sim::CarID\">CarID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"sim/enum.VehicleType.html\" title=\"enum sim::VehicleType\">VehicleType</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.PersonID.html\" title=\"struct sim::PersonID\">PersonID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.PedestrianID.html\" title=\"struct sim::PedestrianID\">PedestrianID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"sim/enum.AgentID.html\" title=\"enum sim::AgentID\">AgentID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.TripID.html\" title=\"struct sim::TripID\">TripID</a>"]],
"sim":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.PedestrianID.html\" title=\"struct sim::PedestrianID\">PedestrianID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.TripID.html\" title=\"struct sim::TripID\">TripID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.PersonID.html\" title=\"struct sim::PersonID\">PersonID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"sim/struct.CarID.html\" title=\"struct sim::CarID\">CarID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"sim/enum.AgentID.html\" title=\"enum sim::AgentID\">AgentID</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"sim/enum.VehicleType.html\" title=\"enum sim::VehicleType\">VehicleType</a>"]],
"synthpop":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"enum\" href=\"synthpop/scenario/enum.TripPurpose.html\" title=\"enum synthpop::scenario::TripPurpose\">TripPurpose</a>"]],
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"widgetry/widgets/spinner/struct.RoundedF64.html\" title=\"struct widgetry::widgets::spinner::RoundedF64\">RoundedF64</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/fmt/trait.Display.html\" title=\"trait core::fmt::Display\">Display</a> for <a class=\"struct\" href=\"widgetry/color/struct.Color.html\" title=\"struct widgetry::color::Color\">Color</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

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

View File

@ -1,5 +1,5 @@
(function() {var implementors = {
"map_model":[["impl&lt;O: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html\" title=\"trait core::convert::Into\">Into</a>&lt;EnumSet&lt;<a class=\"enum\" href=\"map_model/pathfind/enum.PathConstraints.html\" title=\"enum map_model::pathfind::PathConstraints\">PathConstraints</a>&gt;&gt;&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;O&gt; for <a class=\"enum\" href=\"map_model/pathfind/enum.PathConstraints.html\" title=\"enum map_model::pathfind::PathConstraints\">PathConstraints</a>"]],
"sim":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;Duration&gt; for <a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;<a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>&gt; for <a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>"]],
"sim":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;<a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>&gt; for <a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;Duration&gt; for <a class=\"struct\" href=\"sim/pandemic/struct.AnyTime.html\" title=\"struct sim::pandemic::AnyTime\">AnyTime</a>"]],
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/arith/trait.Sub.html\" title=\"trait core::ops::arith::Sub\">Sub</a>&lt;<a class=\"struct\" href=\"widgetry/widgets/spinner/struct.RoundedF64.html\" title=\"struct widgetry::widgets::spinner::RoundedF64\">RoundedF64</a>&gt; for <a class=\"struct\" href=\"widgetry/widgets/spinner/struct.RoundedF64.html\" title=\"struct widgetry::widgets::spinner::RoundedF64\">RoundedF64</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

View File

@ -1,5 +1,5 @@
(function() {var implementors = {
"game":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/sandbox/dashboards/trip_problems/struct.CLEAR_COLOR_SCALE.html\" title=\"struct game::sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE\">CLEAR_COLOR_SCALE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PAINTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PAINTED_BIKE_LANE\">PAINTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.DEDICATED_TRAIL.html\" title=\"struct game::ungap::bike_network::DEDICATED_TRAIL\">DEDICATED_TRAIL</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.GREENWAY.html\" title=\"struct game::ungap::bike_network::GREENWAY\">GREENWAY</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PROTECTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PROTECTED_BIKE_LANE\">PROTECTED_BIKE_LANE</a>"]],
"game":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.DEDICATED_TRAIL.html\" title=\"struct game::ungap::bike_network::DEDICATED_TRAIL\">DEDICATED_TRAIL</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PAINTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PAINTED_BIKE_LANE\">PAINTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.GREENWAY.html\" title=\"struct game::ungap::bike_network::GREENWAY\">GREENWAY</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PROTECTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PROTECTED_BIKE_LANE\">PROTECTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"game/sandbox/dashboards/trip_problems/struct.CLEAR_COLOR_SCALE.html\" title=\"struct game::sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE\">CLEAR_COLOR_SCALE</a>"]],
"headless":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"headless/struct.MAP.html\" title=\"struct headless::MAP\">MAP</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"headless/struct.LOAD.html\" title=\"struct headless::LOAD\">LOAD</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"headless/struct.SIM.html\" title=\"struct headless::SIM\">SIM</a>"]],
"ltn":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_AFTER.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_AFTER\">PLAN_ROUTE_AFTER</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SPEED_LIMITS.html\" title=\"struct ltn::render::colors::SPEED_LIMITS\">SPEED_LIMITS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BIKE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BIKE\">PLAN_ROUTE_BIKE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SEMI_PERMEABLE.html\" title=\"struct ltn::render::colors::SEMI_PERMEABLE\">SEMI_PERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_WALK.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_WALK\">PLAN_ROUTE_WALK</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_SEGREGATED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_SEGREGATED_LANE\">NETWORK_SEGREGATED_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.BUS_ROUTE.html\" title=\"struct ltn::render::colors::BUS_ROUTE\">BUS_ROUTE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_PAINTED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_PAINTED_LANE\">NETWORK_PAINTED_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.POROUS.html\" title=\"struct ltn::render::colors::POROUS\">POROUS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.CELLS.html\" title=\"struct ltn::render::colors::CELLS\">CELLS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.IMPERMEABLE.html\" title=\"struct ltn::render::colors::IMPERMEABLE\">IMPERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_QUIET_STREET.html\" title=\"struct ltn::render::colors::NETWORK_QUIET_STREET\">NETWORK_QUIET_STREET</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BEFORE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BEFORE\">PLAN_ROUTE_BEFORE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_THROUGH_TRAFFIC_STREET.html\" title=\"struct ltn::render::colors::NETWORK_THROUGH_TRAFFIC_STREET\">NETWORK_THROUGH_TRAFFIC_STREET</a>"]]
"ltn":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.POROUS.html\" title=\"struct ltn::render::colors::POROUS\">POROUS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_WALK.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_WALK\">PLAN_ROUTE_WALK</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_QUIET_STREET.html\" title=\"struct ltn::render::colors::NETWORK_QUIET_STREET\">NETWORK_QUIET_STREET</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_AFTER.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_AFTER\">PLAN_ROUTE_AFTER</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.IMPERMEABLE.html\" title=\"struct ltn::render::colors::IMPERMEABLE\">IMPERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_THROUGH_TRAFFIC_STREET.html\" title=\"struct ltn::render::colors::NETWORK_THROUGH_TRAFFIC_STREET\">NETWORK_THROUGH_TRAFFIC_STREET</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.BUS_ROUTE.html\" title=\"struct ltn::render::colors::BUS_ROUTE\">BUS_ROUTE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.CELLS.html\" title=\"struct ltn::render::colors::CELLS\">CELLS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_PAINTED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_PAINTED_LANE\">NETWORK_PAINTED_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SPEED_LIMITS.html\" title=\"struct ltn::render::colors::SPEED_LIMITS\">SPEED_LIMITS</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BEFORE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BEFORE\">PLAN_ROUTE_BEFORE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SEMI_PERMEABLE.html\" title=\"struct ltn::render::colors::SEMI_PERMEABLE\">SEMI_PERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_SEGREGATED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_SEGREGATED_LANE\">NETWORK_SEGREGATED_LANE</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/deref/trait.Deref.html\" title=\"trait core::ops::deref::Deref\">Deref</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BIKE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BIKE\">PLAN_ROUTE_BIKE</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

View File

@ -1,4 +1,4 @@
(function() {var implementors = {
"abstutil":[["impl&lt;'a&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"abstutil/time/struct.Timer.html\" title=\"struct abstutil::time::Timer\">Timer</a>&lt;'a&gt;"]],
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.VertexArray.html\" title=\"struct widgetry::backend_glow::VertexArray\">VertexArray</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.Drawable.html\" title=\"struct widgetry::backend_glow::Drawable\">Drawable</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.Buffer.html\" title=\"struct widgetry::backend_glow::Buffer\">Buffer</a>"]]
"widgetry":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.Buffer.html\" title=\"struct widgetry::backend_glow::Buffer\">Buffer</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.Drawable.html\" title=\"struct widgetry::backend_glow::Drawable\">Drawable</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.74.0/core/ops/drop/trait.Drop.html\" title=\"trait core::ops::drop::Drop\">Drop</a> for <a class=\"struct\" href=\"widgetry/backend_glow/struct.VertexArray.html\" title=\"struct widgetry::backend_glow::VertexArray\">VertexArray</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

View File

@ -1,5 +1,5 @@
(function() {var implementors = {
"game":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PAINTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PAINTED_BIKE_LANE\">PAINTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/sandbox/dashboards/trip_problems/struct.CLEAR_COLOR_SCALE.html\" title=\"struct game::sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE\">CLEAR_COLOR_SCALE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PROTECTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PROTECTED_BIKE_LANE\">PROTECTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.DEDICATED_TRAIL.html\" title=\"struct game::ungap::bike_network::DEDICATED_TRAIL\">DEDICATED_TRAIL</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.GREENWAY.html\" title=\"struct game::ungap::bike_network::GREENWAY\">GREENWAY</a>"]],
"headless":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.MAP.html\" title=\"struct headless::MAP\">MAP</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.SIM.html\" title=\"struct headless::SIM\">SIM</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.LOAD.html\" title=\"struct headless::LOAD\">LOAD</a>"]],
"ltn":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.BUS_ROUTE.html\" title=\"struct ltn::render::colors::BUS_ROUTE\">BUS_ROUTE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BEFORE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BEFORE\">PLAN_ROUTE_BEFORE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.IMPERMEABLE.html\" title=\"struct ltn::render::colors::IMPERMEABLE\">IMPERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.POROUS.html\" title=\"struct ltn::render::colors::POROUS\">POROUS</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_AFTER.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_AFTER\">PLAN_ROUTE_AFTER</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SEMI_PERMEABLE.html\" title=\"struct ltn::render::colors::SEMI_PERMEABLE\">SEMI_PERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BIKE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BIKE\">PLAN_ROUTE_BIKE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.CELLS.html\" title=\"struct ltn::render::colors::CELLS\">CELLS</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_THROUGH_TRAFFIC_STREET.html\" title=\"struct ltn::render::colors::NETWORK_THROUGH_TRAFFIC_STREET\">NETWORK_THROUGH_TRAFFIC_STREET</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_PAINTED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_PAINTED_LANE\">NETWORK_PAINTED_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_QUIET_STREET.html\" title=\"struct ltn::render::colors::NETWORK_QUIET_STREET\">NETWORK_QUIET_STREET</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_WALK.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_WALK\">PLAN_ROUTE_WALK</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_SEGREGATED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_SEGREGATED_LANE\">NETWORK_SEGREGATED_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SPEED_LIMITS.html\" title=\"struct ltn::render::colors::SPEED_LIMITS\">SPEED_LIMITS</a>"]]
"game":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/sandbox/dashboards/trip_problems/struct.CLEAR_COLOR_SCALE.html\" title=\"struct game::sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE\">CLEAR_COLOR_SCALE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.GREENWAY.html\" title=\"struct game::ungap::bike_network::GREENWAY\">GREENWAY</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.DEDICATED_TRAIL.html\" title=\"struct game::ungap::bike_network::DEDICATED_TRAIL\">DEDICATED_TRAIL</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PROTECTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PROTECTED_BIKE_LANE\">PROTECTED_BIKE_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"game/ungap/bike_network/struct.PAINTED_BIKE_LANE.html\" title=\"struct game::ungap::bike_network::PAINTED_BIKE_LANE\">PAINTED_BIKE_LANE</a>"]],
"headless":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.SIM.html\" title=\"struct headless::SIM\">SIM</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.LOAD.html\" title=\"struct headless::LOAD\">LOAD</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"headless/struct.MAP.html\" title=\"struct headless::MAP\">MAP</a>"]],
"ltn":[["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.IMPERMEABLE.html\" title=\"struct ltn::render::colors::IMPERMEABLE\">IMPERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BIKE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BIKE\">PLAN_ROUTE_BIKE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_BEFORE.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_BEFORE\">PLAN_ROUTE_BEFORE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_THROUGH_TRAFFIC_STREET.html\" title=\"struct ltn::render::colors::NETWORK_THROUGH_TRAFFIC_STREET\">NETWORK_THROUGH_TRAFFIC_STREET</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_AFTER.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_AFTER\">PLAN_ROUTE_AFTER</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.POROUS.html\" title=\"struct ltn::render::colors::POROUS\">POROUS</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_PAINTED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_PAINTED_LANE\">NETWORK_PAINTED_LANE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.BUS_ROUTE.html\" title=\"struct ltn::render::colors::BUS_ROUTE\">BUS_ROUTE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SPEED_LIMITS.html\" title=\"struct ltn::render::colors::SPEED_LIMITS\">SPEED_LIMITS</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.SEMI_PERMEABLE.html\" title=\"struct ltn::render::colors::SEMI_PERMEABLE\">SEMI_PERMEABLE</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_QUIET_STREET.html\" title=\"struct ltn::render::colors::NETWORK_QUIET_STREET\">NETWORK_QUIET_STREET</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.PLAN_ROUTE_WALK.html\" title=\"struct ltn::render::colors::PLAN_ROUTE_WALK\">PLAN_ROUTE_WALK</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.CELLS.html\" title=\"struct ltn::render::colors::CELLS\">CELLS</a>"],["impl <a class=\"trait\" href=\"https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html\" title=\"trait lazy_static::LazyStatic\">LazyStatic</a> for <a class=\"struct\" href=\"ltn/render/colors/struct.NETWORK_SEGREGATED_LANE.html\" title=\"struct ltn::render::colors::NETWORK_SEGREGATED_LANE\">NETWORK_SEGREGATED_LANE</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1,13 @@
(function() {var implementors = {
"cli":[["impl StructOpt for <a class=\"enum\" href=\"cli/enum.Command.html\" title=\"enum cli::Command\">Command</a>"]],
"game":[["impl StructOpt for <a class=\"struct\" href=\"game/struct.Args.html\" title=\"struct game::Args\">Args</a>"],["impl StructOpt for <a class=\"struct\" href=\"game/app/struct.Flags.html\" title=\"struct game::app::Flags\">Flags</a>"]],
"game":[["impl StructOpt for <a class=\"struct\" href=\"game/app/struct.Flags.html\" title=\"struct game::app::Flags\">Flags</a>"],["impl StructOpt for <a class=\"struct\" href=\"game/struct.Args.html\" title=\"struct game::Args\">Args</a>"]],
"headless":[["impl StructOpt for <a class=\"struct\" href=\"headless/struct.Args.html\" title=\"struct headless::Args\">Args</a>"]],
"importer":[["impl StructOpt for <a class=\"struct\" href=\"importer/struct.Job.html\" title=\"struct importer::Job\">Job</a>"]],
"ltn":[["impl StructOpt for <a class=\"struct\" href=\"ltn/struct.Args.html\" title=\"struct ltn::Args\">Args</a>"]],
"map_editor":[["impl StructOpt for <a class=\"struct\" href=\"map_editor/struct.Args.html\" title=\"struct map_editor::Args\">Args</a>"]],
"map_gui":[["impl StructOpt for <a class=\"struct\" href=\"map_gui/simple_app/struct.SimpleAppArgs.html\" title=\"struct map_gui::simple_app::SimpleAppArgs\">SimpleAppArgs</a>"]],
"map_model":[["impl StructOpt for <a class=\"struct\" href=\"map_model/make/struct.RawToMapOptions.html\" title=\"struct map_model::make::RawToMapOptions\">RawToMapOptions</a>"]],
"sim":[["impl StructOpt for <a class=\"struct\" href=\"sim/make/load/struct.SimFlags.html\" title=\"struct sim::make::load::SimFlags\">SimFlags</a>"],["impl StructOpt for <a class=\"struct\" href=\"sim/sim/struct.SimOptions.html\" title=\"struct sim::sim::SimOptions\">SimOptions</a>"]],
"sim":[["impl StructOpt for <a class=\"struct\" href=\"sim/sim/struct.SimOptions.html\" title=\"struct sim::sim::SimOptions\">SimOptions</a>"],["impl StructOpt for <a class=\"struct\" href=\"sim/make/load/struct.SimFlags.html\" title=\"struct sim::make::load::SimFlags\">SimFlags</a>"]],
"traffic_seitan":[["impl StructOpt for <a class=\"struct\" href=\"traffic_seitan/struct.Args.html\" title=\"struct traffic_seitan::Args\">Args</a>"]],
"updater":[["impl StructOpt for <a class=\"enum\" href=\"updater/enum.Task.html\" title=\"enum updater::Task\">Task</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

View File

@ -1,8 +1,8 @@
(function() {var implementors = {
"fifteen_min":[["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"fifteen_min/isochrone/struct.Options.html\" title=\"struct fifteen_min::isochrone::Options\">Options</a>&gt;&gt; for <a class=\"struct\" href=\"fifteen_min/score_homes/struct.ScoreHomes.html\" title=\"struct fifteen_min::score_homes::ScoreHomes\">ScoreHomes</a>"]],
"game":[["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.ShowAbsolute.html\" title=\"struct game::edit::traffic_signals::offsets::ShowAbsolute\">ShowAbsolute</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/struct.DevToolsMode.html\" title=\"struct game::devtools::DevToolsMode\">DevToolsMode</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/compare_counts/struct.GenericCompareCounts.html\" title=\"struct game::devtools::compare_counts::GenericCompareCounts\">GenericCompareCounts</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/edits/struct.ChangeDuration.html\" title=\"struct game::edit::traffic_signals::edits::ChangeDuration\">ChangeDuration</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/stop_signs/struct.StopSignEditor.html\" title=\"struct game::edit::stop_signs::StopSignEditor\">StopSignEditor</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/uber_turns/struct.UberTurnViewer.html\" title=\"struct game::debug::uber_turns::UberTurnViewer\">UberTurnViewer</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/story/struct.EditingMarker.html\" title=\"struct game::devtools::story::EditingMarker\">EditingMarker</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.ShowRelative.html\" title=\"struct game::edit::traffic_signals::offsets::ShowRelative\">ShowRelative</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/play_scenario/struct.DepartureSummary.html\" title=\"struct game::sandbox::gameplay::play_scenario::DepartureSummary\">DepartureSummary</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/uber_turns/struct.UberTurnPicker.html\" title=\"struct game::debug::uber_turns::UberTurnPicker\">UberTurnPicker</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/challenges/struct.ChallengesPicker.html\" title=\"struct game::challenges::ChallengesPicker\">ChallengesPicker</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/pregame/proposals/struct.Proposals.html\" title=\"struct game::pregame::proposals::Proposals\">Proposals</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/freeform/struct.ChangeScenario.html\" title=\"struct game::sandbox::gameplay::freeform::ChangeScenario\">ChangeScenario</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/blockfinder/struct.OneBlock.html\" title=\"struct game::debug::blockfinder::OneBlock\">OneBlock</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/common/share/struct.ShareProposal.html\" title=\"struct game::common::share::ShareProposal\">ShareProposal</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.TuneRelative.html\" title=\"struct game::edit::traffic_signals::offsets::TuneRelative\">TuneRelative</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/actdev/struct.About.html\" title=\"struct game::sandbox::gameplay::actdev::About\">About</a>"]],
"game":[["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.ShowRelative.html\" title=\"struct game::edit::traffic_signals::offsets::ShowRelative\">ShowRelative</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/actdev/struct.About.html\" title=\"struct game::sandbox::gameplay::actdev::About\">About</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/common/share/struct.ShareProposal.html\" title=\"struct game::common::share::ShareProposal\">ShareProposal</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/blockfinder/struct.OneBlock.html\" title=\"struct game::debug::blockfinder::OneBlock\">OneBlock</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/compare_counts/struct.GenericCompareCounts.html\" title=\"struct game::devtools::compare_counts::GenericCompareCounts\">GenericCompareCounts</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/play_scenario/struct.DepartureSummary.html\" title=\"struct game::sandbox::gameplay::play_scenario::DepartureSummary\">DepartureSummary</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/pregame/proposals/struct.Proposals.html\" title=\"struct game::pregame::proposals::Proposals\">Proposals</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/uber_turns/struct.UberTurnPicker.html\" title=\"struct game::debug::uber_turns::UberTurnPicker\">UberTurnPicker</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/debug/uber_turns/struct.UberTurnViewer.html\" title=\"struct game::debug::uber_turns::UberTurnViewer\">UberTurnViewer</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/challenges/struct.ChallengesPicker.html\" title=\"struct game::challenges::ChallengesPicker\">ChallengesPicker</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/struct.DevToolsMode.html\" title=\"struct game::devtools::DevToolsMode\">DevToolsMode</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.TuneRelative.html\" title=\"struct game::edit::traffic_signals::offsets::TuneRelative\">TuneRelative</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/stop_signs/struct.StopSignEditor.html\" title=\"struct game::edit::stop_signs::StopSignEditor\">StopSignEditor</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/sandbox/gameplay/freeform/struct.ChangeScenario.html\" title=\"struct game::sandbox::gameplay::freeform::ChangeScenario\">ChangeScenario</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/edits/struct.ChangeDuration.html\" title=\"struct game::edit::traffic_signals::edits::ChangeDuration\">ChangeDuration</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/edit/traffic_signals/offsets/struct.ShowAbsolute.html\" title=\"struct game::edit::traffic_signals::offsets::ShowAbsolute\">ShowAbsolute</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"game/app/struct.App.html\" title=\"struct game::app::App\">App</a>&gt; for <a class=\"struct\" href=\"game/devtools/story/struct.EditingMarker.html\" title=\"struct game::devtools::story::EditingMarker\">EditingMarker</a>"]],
"ltn":[["impl SimpleState&lt;<a class=\"struct\" href=\"ltn/app/struct.App.html\" title=\"struct ltn::app::App\">App</a>&gt; for <a class=\"struct\" href=\"ltn/pages/about/struct.About.html\" title=\"struct ltn::pages::about::About\">About</a>"],["impl SimpleState&lt;<a class=\"struct\" href=\"ltn/app/struct.App.html\" title=\"struct ltn::app::App\">App</a>&gt; for <a class=\"struct\" href=\"ltn/save/share/struct.ShareProposal.html\" title=\"struct ltn::save::share::ShareProposal\">ShareProposal</a>"]],
"map_editor":[["impl SimpleState&lt;<a class=\"struct\" href=\"map_editor/app/struct.App.html\" title=\"struct map_editor::app::App\">App</a>&gt; for <a class=\"struct\" href=\"map_editor/edit/struct.EditRoad.html\" title=\"struct map_editor::edit::EditRoad\">EditRoad</a>"]],
"map_gui":[["impl&lt;A: <a class=\"trait\" href=\"map_gui/trait.AppLike.html\" title=\"trait map_gui::AppLike\">AppLike</a> + 'static, S: <a class=\"trait\" href=\"map_gui/tools/trip_files/trait.TripManagementState.html\" title=\"trait map_gui::tools::trip_files::TripManagementState\">TripManagementState</a>&lt;A&gt;&gt; SimpleState&lt;A&gt; for <a class=\"struct\" href=\"map_gui/tools/trip_files/struct.RenameTrip.html\" title=\"struct map_gui::tools::trip_files::RenameTrip\">RenameTrip</a>&lt;A, S&gt;"],["impl&lt;A: <a class=\"trait\" href=\"map_gui/trait.AppLike.html\" title=\"trait map_gui::AppLike\">AppLike</a> + 'static&gt; SimpleState&lt;A&gt; for <a class=\"struct\" href=\"map_gui/tools/title_screen/struct.TitleScreen.html\" title=\"struct map_gui::tools::title_screen::TitleScreen\">TitleScreen</a>&lt;A&gt;"]],
"santa":[["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/title/struct.Credits.html\" title=\"struct santa::title::Credits\">Credits</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/title/struct.TitleScreen.html\" title=\"struct santa::title::TitleScreen\">TitleScreen</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/after_level/struct.Strategize.html\" title=\"struct santa::after_level::Strategize\">Strategize</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/after_level/struct.Results.html\" title=\"struct santa::after_level::Results\">Results</a>"]]
"map_gui":[["impl&lt;A: <a class=\"trait\" href=\"map_gui/trait.AppLike.html\" title=\"trait map_gui::AppLike\">AppLike</a> + 'static&gt; SimpleState&lt;A&gt; for <a class=\"struct\" href=\"map_gui/tools/title_screen/struct.TitleScreen.html\" title=\"struct map_gui::tools::title_screen::TitleScreen\">TitleScreen</a>&lt;A&gt;"],["impl&lt;A: <a class=\"trait\" href=\"map_gui/trait.AppLike.html\" title=\"trait map_gui::AppLike\">AppLike</a> + 'static, S: <a class=\"trait\" href=\"map_gui/tools/trip_files/trait.TripManagementState.html\" title=\"trait map_gui::tools::trip_files::TripManagementState\">TripManagementState</a>&lt;A&gt;&gt; SimpleState&lt;A&gt; for <a class=\"struct\" href=\"map_gui/tools/trip_files/struct.RenameTrip.html\" title=\"struct map_gui::tools::trip_files::RenameTrip\">RenameTrip</a>&lt;A, S&gt;"]],
"santa":[["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/title/struct.Credits.html\" title=\"struct santa::title::Credits\">Credits</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/after_level/struct.Results.html\" title=\"struct santa::after_level::Results\">Results</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/title/struct.TitleScreen.html\" title=\"struct santa::title::TitleScreen\">TitleScreen</a>"],["impl SimpleState&lt;SimpleApp&lt;<a class=\"struct\" href=\"santa/session/struct.Session.html\" title=\"struct santa::session::Session\">Session</a>&gt;&gt; for <a class=\"struct\" href=\"santa/after_level/struct.Strategize.html\" title=\"struct santa::after_level::Strategize\">Strategize</a>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
(function() {var implementors = {
"fifteen_min":[["impl ObjectID for <a class=\"enum\" href=\"fifteen_min/bus/enum.ID.html\" title=\"enum fifteen_min::bus::ID\">ID</a>"]],
"game":[["impl ObjectID for <a class=\"struct\" href=\"game/edit/crosswalks/struct.ID.html\" title=\"struct game::edit::crosswalks::ID\">ID</a>"],["impl ObjectID for <a class=\"enum\" href=\"game/ungap/trip/enum.ID.html\" title=\"enum game::ungap::trip::ID\">ID</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/devtools/story/struct.MarkerID.html\" title=\"struct game::devtools::story::MarkerID\">MarkerID</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/sandbox/gameplay/freeform/area_spawner/struct.Obj.html\" title=\"struct game::sandbox::gameplay::freeform::area_spawner::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/debug/blockfinder/struct.Obj.html\" title=\"struct game::debug::blockfinder::Obj\">Obj</a>"]],
"ltn":[["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/per_resident_impact/enum.Obj.html\" title=\"enum ltn::pages::per_resident_impact::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"ltn/pages/census/struct.ZoneID.html\" title=\"struct ltn::pages::census::ZoneID\">ZoneID</a>"],["impl ObjectID for <a class=\"struct\" href=\"ltn/logic/partition/struct.NeighbourhoodID.html\" title=\"struct ltn::logic::partition::NeighbourhoodID\">NeighbourhoodID</a>"],["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/design_ltn/enum.Obj.html\" title=\"enum ltn::pages::design_ltn::Obj\">Obj</a>"],["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/crossings/enum.Obj.html\" title=\"enum ltn::pages::crossings::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"ltn/logic/partition/struct.BlockID.html\" title=\"struct ltn::logic::partition::BlockID\">BlockID</a>"]],
"game":[["impl ObjectID for <a class=\"struct\" href=\"game/debug/blockfinder/struct.Obj.html\" title=\"struct game::debug::blockfinder::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/edit/crosswalks/struct.ID.html\" title=\"struct game::edit::crosswalks::ID\">ID</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/sandbox/gameplay/freeform/area_spawner/struct.Obj.html\" title=\"struct game::sandbox::gameplay::freeform::area_spawner::Obj\">Obj</a>"],["impl ObjectID for <a class=\"enum\" href=\"game/ungap/trip/enum.ID.html\" title=\"enum game::ungap::trip::ID\">ID</a>"],["impl ObjectID for <a class=\"struct\" href=\"game/devtools/story/struct.MarkerID.html\" title=\"struct game::devtools::story::MarkerID\">MarkerID</a>"]],
"ltn":[["impl ObjectID for <a class=\"struct\" href=\"ltn/logic/partition/struct.NeighbourhoodID.html\" title=\"struct ltn::logic::partition::NeighbourhoodID\">NeighbourhoodID</a>"],["impl ObjectID for <a class=\"struct\" href=\"ltn/pages/census/struct.ZoneID.html\" title=\"struct ltn::pages::census::ZoneID\">ZoneID</a>"],["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/crossings/enum.Obj.html\" title=\"enum ltn::pages::crossings::Obj\">Obj</a>"],["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/per_resident_impact/enum.Obj.html\" title=\"enum ltn::pages::per_resident_impact::Obj\">Obj</a>"],["impl ObjectID for <a class=\"enum\" href=\"ltn/pages/design_ltn/enum.Obj.html\" title=\"enum ltn::pages::design_ltn::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"ltn/logic/partition/struct.BlockID.html\" title=\"struct ltn::logic::partition::BlockID\">BlockID</a>"]],
"map_editor":[["impl ObjectID for <a class=\"enum\" href=\"map_editor/model/enum.ID.html\" title=\"enum map_editor::model::ID\">ID</a>"]],
"map_gui":[["impl ObjectID for <a class=\"enum\" href=\"map_gui/tools/polygon/enum.Obj.html\" title=\"enum map_gui::tools::polygon::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"map_gui/tools/waypoints/struct.WaypointID.html\" title=\"struct map_gui::tools::waypoints::WaypointID\">WaypointID</a>"],["impl ObjectID for <a class=\"enum\" href=\"map_gui/tools/compare_counts/enum.Obj.html\" title=\"enum map_gui::tools::compare_counts::Obj\">Obj</a>"]],
"map_gui":[["impl ObjectID for <a class=\"enum\" href=\"map_gui/tools/compare_counts/enum.Obj.html\" title=\"enum map_gui::tools::compare_counts::Obj\">Obj</a>"],["impl ObjectID for <a class=\"struct\" href=\"map_gui/tools/waypoints/struct.WaypointID.html\" title=\"struct map_gui::tools::waypoints::WaypointID\">WaypointID</a>"],["impl ObjectID for <a class=\"enum\" href=\"map_gui/tools/polygon/enum.Obj.html\" title=\"enum map_gui::tools::polygon::Obj\">Obj</a>"]],
"widgetry":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()

View File

@ -1 +1 @@
<!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 `adjust_private_parking` fn in crate `importer`."><title>adjust_private_parking in importer::seattle - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::seattle</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">importer</a>::<wbr><a href="index.html">seattle</a>::<wbr><a class="fn" href="#">adjust_private_parking</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/importer/seattle.rs.html#130-135">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn adjust_private_parking(map: &amp;mut Map, scenario: &amp;<a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>)</code></pre></section></div></main></body></html>
<!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 `adjust_private_parking` fn in crate `importer`."><title>adjust_private_parking in importer::seattle - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::seattle</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">importer</a>::<wbr><a href="index.html">seattle</a>::<wbr><a class="fn" href="#">adjust_private_parking</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/importer/seattle.rs.html#130-135">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn adjust_private_parking(map: &amp;mut Map, scenario: &amp;Scenario)</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `get_mode` fn in crate `importer`."><title>get_mode in importer::soundcast::popdat - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::soundcast::popdat</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">importer</a>::<wbr><a href="../index.html">soundcast</a>::<wbr><a href="index.html">popdat</a>::<wbr><a class="fn" href="#">get_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/importer/soundcast/popdat.rs.html#255-267">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn get_mode(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a></code></pre></section></div></main></body></html>
<!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 `get_mode` fn in crate `importer`."><title>get_mode in importer::soundcast::popdat - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::soundcast::popdat</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">importer</a>::<wbr><a href="../index.html">soundcast</a>::<wbr><a href="index.html">popdat</a>::<wbr><a class="fn" href="#">get_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/importer/soundcast/popdat.rs.html#255-267">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn get_mode(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; TripMode</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `get_purpose` fn in crate `importer`."><title>get_purpose in importer::soundcast::popdat - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::soundcast::popdat</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">importer</a>::<wbr><a href="../index.html">soundcast</a>::<wbr><a href="index.html">popdat</a>::<wbr><a class="fn" href="#">get_purpose</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/importer/soundcast/popdat.rs.html#237-252">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn get_purpose(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="../../../synthpop/scenario/enum.TripPurpose.html" title="enum synthpop::scenario::TripPurpose">TripPurpose</a></code></pre></section></div></main></body></html>
<!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 `get_purpose` fn in crate `importer`."><title>get_purpose in importer::soundcast::popdat - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../importer/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::soundcast::popdat</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">importer</a>::<wbr><a href="../index.html">soundcast</a>::<wbr><a href="index.html">popdat</a>::<wbr><a class="fn" href="#">get_purpose</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/importer/soundcast/popdat.rs.html#237-252">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn get_purpose(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; TripPurpose</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -3,11 +3,11 @@
to: &amp;<a class="struct" href="../popdat/struct.Endpoint.html" title="struct importer::soundcast::popdat::Endpoint">Endpoint</a>,
map: &amp;Map,
osm_id_to_bldg: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;OsmID, BuildingID&gt;,
(in_borders, out_borders): (&amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../synthpop/borders/struct.MapBorder.html" title="struct synthpop::borders::MapBorder">MapBorder</a>&gt;, &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../synthpop/borders/struct.MapBorder.html" title="struct synthpop::borders::MapBorder">MapBorder</a>&gt;),
(in_borders, out_borders): (&amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;MapBorder&gt;, &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;MapBorder&gt;),
constraints: PathConstraints,
maybe_huge_map: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(&amp;Map, <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;OsmID, BuildingID&gt;)&gt;,
only_passthrough_trips: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, <a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transform the Seattle-wide <code>Endpoints</code> into specific <code>TripEndpoints</code> for this map. When the
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(TripEndpoint, TripEndpoint)&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transform the Seattle-wide <code>Endpoints</code> into specific <code>TripEndpoints</code> for this map. When the
endpoint happens to be a building on the map, this is straightforward. Otherwise, the endpoint
will snap to a border intersection.</p>
<p>When <code>only_passthrough_trips</code> is true, only trips beginning and ending off-map are returned.

View File

@ -4,4 +4,4 @@
popdat: &amp;<a class="struct" href="../popdat/struct.PopDat.html" title="struct importer::soundcast::popdat::PopDat">PopDat</a>,
huge_map: &amp;Map,
timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="struct" href="../../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a></code></pre></section></div></main></body></html>
) -&gt; Scenario</code></pre></section></div></main></body></html>

View File

@ -7,11 +7,11 @@
maybe_huge_map: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(&amp;Map, <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;OsmID, BuildingID&gt;)&gt;
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a>&gt;</h4></section><section id="method.snap_border" class="method"><a class="src rightside" href="../../../src/importer/soundcast/trips.rs.html#137-168">source</a><h4 class="code-header">fn <a href="#method.snap_border" class="fn">snap_border</a>(
&amp;self,
usable_borders: &amp;[<a class="struct" href="../../../synthpop/borders/struct.MapBorder.html" title="struct synthpop::borders::MapBorder">MapBorder</a>],
usable_borders: &amp;[MapBorder],
incoming: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>,
map: &amp;Map,
maybe_huge_map: <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(&amp;Map, <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;OsmID, BuildingID&gt;)&gt;
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>&gt;</h4></section></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"><section id="impl-RefUnwindSafe-for-BorderSnapper" class="impl"><a href="#impl-RefUnwindSafe-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Send-for-BorderSnapper" class="impl"><a href="#impl-Send-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Sync-for-BorderSnapper" class="impl"><a href="#impl-Sync-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Unpin-for-BorderSnapper" class="impl"><a href="#impl-Unpin-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-UnwindSafe-for-BorderSnapper" class="impl"><a href="#impl-UnwindSafe-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-BorderSnapper" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;TripEndpoint&gt;</h4></section></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"><section id="impl-RefUnwindSafe-for-BorderSnapper" class="impl"><a href="#impl-RefUnwindSafe-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Send-for-BorderSnapper" class="impl"><a href="#impl-Send-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Sync-for-BorderSnapper" class="impl"><a href="#impl-Sync-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-Unpin-for-BorderSnapper" class="impl"><a href="#impl-Unpin-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section><section id="impl-UnwindSafe-for-BorderSnapper" class="impl"><a href="#impl-UnwindSafe-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BorderSnapper.html" title="struct importer::soundcast::trips::BorderSnapper">BorderSnapper</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-BorderSnapper" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-BorderSnapper" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-BorderSnapper" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-BorderSnapper" class="impl"><a href="#impl-Downcast-for-BorderSnapper" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<span class="where fmt-newline">where

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<!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 `check_sensor_data` fn in crate `importer`."><title>check_sensor_data in importer::uk - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="importer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../importer/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In importer::uk</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">importer</a>::<wbr><a href="index.html">uk</a>::<wbr><a class="fn" href="#">check_sensor_data</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/importer/uk.rs.html#223-247">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn check_sensor_data(
map: &amp;Map,
scenario: &amp;<a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>,
scenario: &amp;Scenario,
sensor_path: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
)</code></pre></section></div></main></body></html>

View File

@ -40,7 +40,7 @@ should make its best effort to delete any unused Drawables.</div></details><deta
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/about.rs.html#45-47">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.draw_baselayer-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/about.rs.html#49-51">source</a><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/about.rs.html#45-47">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.draw_baselayer-7" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/about.rs.html#49-51">source</a><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -60,7 +60,7 @@ call this to handle all other events.</div></details></div></details><details cl
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw_baselayer-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/share.rs.html#181-183">source</a><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/share.rs.html#185-187">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw_baselayer-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/share.rs.html#181-183">source</a><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/share.rs.html#185-187">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -73,87 +73,87 @@ the fallback case can just use <code>unreachable!()</code>.</div></details><sect
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-1" class="method trait-impl"><a href="#method.on_mouseover-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-1" class="method trait-impl"><a href="#method.other_event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Census" class="impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#112-158">source</a><a href="#impl-State%3CApp%3E-for-Census" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/census/struct.Census.html" title="struct ltn::pages::census::Census">Census</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#113-143">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#145-153">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#155-157">source</a><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
call this to handle all other events.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Census" class="impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#112-158">source</a><a href="#impl-State%3CApp%3E-for-Census" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/census/struct.Census.html" title="struct ltn::pages::census::Census">Census</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#113-143">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#145-153">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/census.rs.html#155-157">source</a><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-15" class="method trait-impl"><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeFilterType" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#226-262">source</a><a href="#impl-State%3CApp%3E-for-ChangeFilterType" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ChangeFilterType.html" title="struct ltn::pages::design_ltn::modals::ChangeFilterType">ChangeFilterType</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#227-252">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#254-256">source</a><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#258-261">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeFilterType" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#226-262">source</a><a href="#impl-State%3CApp%3E-for-ChangeFilterType" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ChangeFilterType.html" title="struct ltn::pages::design_ltn::modals::ChangeFilterType">ChangeFilterType</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#227-252">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#254-256">source</a><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#258-261">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangedRoutes" class="impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#386-420">source</a><a href="#impl-State%3CApp%3E-for-ChangedRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/predict_impact/struct.ChangedRoutes.html" title="struct ltn::pages::predict_impact::ChangedRoutes">ChangedRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#387-412">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#414-419">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangedRoutes" class="impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#386-420">source</a><a href="#impl-State%3CApp%3E-for-ChangedRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/predict_impact/struct.ChangedRoutes.html" title="struct ltn::pages::predict_impact::ChangedRoutes">ChangedRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#387-412">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#414-419">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Crossings" class="impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#75-178">source</a><a href="#impl-State%3CApp%3E-for-Crossings" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/crossings/struct.Crossings.html" title="struct ltn::pages::crossings::Crossings">Crossings</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#76-158">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#160-173">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#175-177">source</a><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Crossings" class="impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#75-178">source</a><a href="#impl-State%3CApp%3E-for-Crossings" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/crossings/struct.Crossings.html" title="struct ltn::pages::crossings::Crossings">Crossings</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#76-158">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#160-173">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/crossings.rs.html#175-177">source</a><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-7" class="method trait-impl"><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CustomizeBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#39-67">source</a><a href="#impl-State%3CApp%3E-for-CustomizeBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/customize_boundary/struct.CustomizeBoundary.html" title="struct ltn::pages::customize_boundary::CustomizeBoundary">CustomizeBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#40-61">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#63-66">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CustomizeBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#39-67">source</a><a href="#impl-State%3CApp%3E-for-CustomizeBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/customize_boundary/struct.CustomizeBoundary.html" title="struct ltn::pages::customize_boundary::CustomizeBoundary">CustomizeBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#40-61">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/customize_boundary.rs.html#63-66">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CycleNetwork" class="impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#43-90">source</a><a href="#impl-State%3CApp%3E-for-CycleNetwork" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/cycle_network/struct.CycleNetwork.html" title="struct ltn::pages::cycle_network::CycleNetwork">CycleNetwork</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#44-75">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#77-85">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#87-89">source</a><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CycleNetwork" class="impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#43-90">source</a><a href="#impl-State%3CApp%3E-for-CycleNetwork" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/cycle_network/struct.CycleNetwork.html" title="struct ltn::pages::cycle_network::CycleNetwork">CycleNetwork</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#44-75">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#77-85">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/cycle_network.rs.html#87-89">source</a><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DesignLTN" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#153-277">source</a><a href="#impl-State%3CApp%3E-for-DesignLTN" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/page/struct.DesignLTN.html" title="struct ltn::pages::design_ltn::page::DesignLTN">DesignLTN</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#154-241">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#243-245">source</a><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#247-272">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#274-276">source</a><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-4" class="method trait-impl"><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DesignLTN" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#153-277">source</a><a href="#impl-State%3CApp%3E-for-DesignLTN" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/page/struct.DesignLTN.html" title="struct ltn::pages::design_ltn::page::DesignLTN">DesignLTN</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#154-241">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#243-245">source</a><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#247-272">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/page.rs.html#274-276">source</a><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FreehandBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#127-204">source</a><a href="#impl-State%3CApp%3E-for-FreehandBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/freehand_boundary/struct.FreehandBoundary.html" title="struct ltn::pages::freehand_boundary::FreehandBoundary">FreehandBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#128-192">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#194-203">source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FreehandBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#127-204">source</a><a href="#impl-State%3CApp%3E-for-FreehandBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/freehand_boundary/struct.FreehandBoundary.html" title="struct ltn::pages::freehand_boundary::FreehandBoundary">FreehandBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#128-192">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/freehand_boundary.rs.html#194-203">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PerResidentImpact" class="impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#289-378">source</a><a href="#impl-State%3CApp%3E-for-PerResidentImpact" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/per_resident_impact/struct.PerResidentImpact.html" title="struct ltn::pages::per_resident_impact::PerResidentImpact">PerResidentImpact</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#290-357">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#359-373">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#375-377">source</a><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PerResidentImpact" class="impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#289-378">source</a><a href="#impl-State%3CApp%3E-for-PerResidentImpact" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/per_resident_impact/struct.PerResidentImpact.html" title="struct ltn::pages::per_resident_impact::PerResidentImpact">PerResidentImpact</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#290-357">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#359-373">source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/per_resident_impact.rs.html#375-377">source</a><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickArea" class="impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#58-109">source</a><a href="#impl-State%3CApp%3E-for-PickArea" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/pick_area/struct.PickArea.html" title="struct ltn::pages::pick_area::PickArea">PickArea</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#59-89">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#91-93">source</a><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#95-104">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#106-108">source</a><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickArea" class="impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#58-109">source</a><a href="#impl-State%3CApp%3E-for-PickArea" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/pick_area/struct.PickArea.html" title="struct ltn::pages::pick_area::PickArea">PickArea</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#59-89">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#91-93">source</a><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#95-104">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/pick_area.rs.html#106-108">source</a><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveBusGate" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#124-155">source</a><a href="#impl-State%3CApp%3E-for-ResolveBusGate" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ResolveBusGate.html" title="struct ltn::pages::design_ltn::modals::ResolveBusGate">ResolveBusGate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#125-145">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#147-149">source</a><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#151-154">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveBusGate" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#124-155">source</a><a href="#impl-State%3CApp%3E-for-ResolveBusGate" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ResolveBusGate.html" title="struct ltn::pages::design_ltn::modals::ResolveBusGate">ResolveBusGate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#125-145">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#147-149">source</a><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#151-154">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#38-60">source</a><a href="#impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ResolveOneWayAndFilter.html" title="struct ltn::pages::design_ltn::modals::ResolveOneWayAndFilter">ResolveOneWayAndFilter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#39-50">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#52-54">source</a><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#56-59">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#38-60">source</a><a href="#impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/design_ltn/modals/struct.ResolveOneWayAndFilter.html" title="struct ltn::pages::design_ltn::modals::ResolveOneWayAndFilter">ResolveOneWayAndFilter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#39-50">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#52-54">source</a><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/design_ltn/modals.rs.html#56-59">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveDialog" class="impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#122-178">source</a><a href="#impl-State%3CApp%3E-for-SaveDialog" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../save/save_dialog/struct.SaveDialog.html" title="struct ltn::save::save_dialog::SaveDialog">SaveDialog</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#123-168">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#170-172">source</a><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#174-177">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveDialog" class="impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#122-178">source</a><a href="#impl-State%3CApp%3E-for-SaveDialog" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../save/save_dialog/struct.SaveDialog.html" title="struct ltn::save::save_dialog::SaveDialog">SaveDialog</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#123-168">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#170-172">source</a><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/save/save_dialog.rs.html#174-177">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#274-374">source</a><a href="#impl-State%3CApp%3E-for-SelectBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/select_boundary/struct.SelectBoundary.html" title="struct ltn::pages::select_boundary::SelectBoundary">SelectBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#275-356">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#358-373">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectBoundary" class="impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#274-374">source</a><a href="#impl-State%3CApp%3E-for-SelectBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/select_boundary/struct.SelectBoundary.html" title="struct ltn::pages::select_boundary::SelectBoundary">SelectBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#275-356">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/select_boundary.rs.html#358-373">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowImpactResults" class="impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#115-229">source</a><a href="#impl-State%3CApp%3E-for-ShowImpactResults" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/predict_impact/struct.ShowImpactResults.html" title="struct ltn::pages::predict_impact::ShowImpactResults">ShowImpactResults</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#116-206">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#208-210">source</a><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#212-224">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#226-228">source</a><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowImpactResults" class="impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#115-229">source</a><a href="#impl-State%3CApp%3E-for-ShowImpactResults" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="../pages/predict_impact/struct.ShowImpactResults.html" title="struct ltn::pages::predict_impact::ShowImpactResults">ShowImpactResults</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#116-206">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#208-210">source</a><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#212-224">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/predict_impact.rs.html#226-228">source</a><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SimpleWarper" class="impl"><a class="src rightside" href="../../src/ltn/app.rs.html#309-319">source</a><a href="#impl-State%3CApp%3E-for-SimpleWarper" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="struct.SimpleWarper.html" title="struct ltn::app::SimpleWarper">SimpleWarper</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../../src/ltn/app.rs.html#310-316">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../../src/ltn/app.rs.html#318">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SimpleWarper" class="impl"><a class="src rightside" href="../../src/ltn/app.rs.html#309-319">source</a><a href="#impl-State%3CApp%3E-for-SimpleWarper" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="struct.SimpleWarper.html" title="struct ltn::app::SimpleWarper">SimpleWarper</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../../src/ltn/app.rs.html#310-316">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/ltn/app.rs.html#318">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.map" class="structfield small-section-header"><a href="#structfield.map" class="anchor field">§</a><code>map: MapName</code></span><span id="structfield.filters" class="structfield small-section-header"><a href="#structfield.filters" class="anchor field">§</a><code>filters: <a class="struct" href="struct.Filters.html" title="struct ltn::logic::impact::Filters">Filters</a></code></span><span id="structfield.pathfinder_before_changes" class="structfield small-section-header"><a href="#structfield.pathfinder_before_changes" class="anchor field">§</a><code>pathfinder_before_changes: Pathfinder</code></span><span id="structfield.all_trips" class="structfield small-section-header"><a href="#structfield.all_trips" class="anchor field">§</a><code>all_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;PathRequest&gt;</code></span><span id="structfield.filtered_trips" class="structfield small-section-header"><a href="#structfield.filtered_trips" class="anchor field">§</a><code>filtered_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(PathRequest, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</code></span><span id="structfield.compare_counts" class="structfield small-section-header"><a href="#structfield.compare_counts" class="anchor field">§</a><code>compare_counts: CompareCounts</code></span><span id="structfield.map_edit_key" class="structfield small-section-header"><a href="#structfield.map_edit_key" class="anchor field">§</a><code>map_edit_key: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Impact" class="impl"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#47-225">source</a><a href="#impl-Impact" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Impact.html" title="struct ltn::logic::impact::Impact">Impact</a></h3></section></summary><div class="impl-items"><section id="method.empty" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#48-65">source</a><h4 class="code-header">pub fn <a href="#method.empty" class="fn">empty</a>(ctx: &amp;EventCtx&lt;'_&gt;) -&gt; Self</h4></section><section id="method.from_scenario" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#67-95">source</a><h4 class="code-header">pub fn <a href="#method.from_scenario" class="fn">from_scenario</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>,
scenario: <a class="struct" href="../../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>,
scenario: Scenario,
timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="struct" href="struct.Impact.html" title="struct ltn::logic::impact::Impact">Impact</a></h4></section><section id="method.pathfinder_after" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#98-111">source</a><h4 class="code-header">fn <a href="#method.pathfinder_after" class="fn">pathfinder_after</a>(&amp;self, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; Pathfinder</h4></section><section id="method.trips_changed" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#113-150">source</a><h4 class="code-header">pub fn <a href="#method.trips_changed" class="fn">trips_changed</a>(
&amp;mut self,
@ -21,7 +21,7 @@
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>,
timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
)</h4></section><section id="method.counts_b" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#158-192">source</a><h4 class="code-header">fn <a href="#method.counts_b" class="fn">counts_b</a>(&amp;self, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; <a class="struct" href="../../../synthpop/counts/struct.TrafficCounts.html" title="struct synthpop::counts::TrafficCounts">TrafficCounts</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.find_changed_routes" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#196-224">source</a><h4 class="code-header">pub fn <a href="#method.find_changed_routes" class="fn">find_changed_routes</a>(
)</h4></section><section id="method.counts_b" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#158-192">source</a><h4 class="code-header">fn <a href="#method.counts_b" class="fn">counts_b</a>(&amp;self, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; TrafficCounts</h4></section><details class="toggle method-toggle" open><summary><section id="method.find_changed_routes" class="method"><a class="src rightside" href="../../../src/ltn/logic/impact.rs.html#196-224">source</a><h4 class="code-header">pub fn <a href="#method.find_changed_routes" class="fn">find_changed_routes</a>(
&amp;self,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>,
r: RoadID,

View File

@ -8,7 +8,7 @@
draw_driveways: Drawable,
draw_routes: Drawable,
pathfinder_cache: PathfinderCache,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.appwide_panel" class="structfield small-section-header"><a href="#structfield.appwide_panel" class="anchor field">§</a><code>appwide_panel: <a class="struct" href="../../components/appwide_panel/struct.AppwidePanel.html" title="struct ltn::components::appwide_panel::AppwidePanel">AppwidePanel</a></code></span><span id="structfield.left_panel" class="structfield small-section-header"><a href="#structfield.left_panel" class="anchor field">§</a><code>left_panel: Panel</code></span><span id="structfield.waypoints" class="structfield small-section-header"><a href="#structfield.waypoints" class="anchor field">§</a><code>waypoints: InputWaypoints</code></span><span id="structfield.files" class="structfield small-section-header"><a href="#structfield.files" class="anchor field">§</a><code>files: TripManagement&lt;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, <a class="struct" href="struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a>&gt;</code></span><span id="structfield.world" class="structfield small-section-header"><a href="#structfield.world" class="anchor field">§</a><code>world: World&lt;WaypointID&gt;</code></span><span id="structfield.show_main_roads" class="structfield small-section-header"><a href="#structfield.show_main_roads" class="anchor field">§</a><code>show_main_roads: Drawable</code></span><span id="structfield.draw_driveways" class="structfield small-section-header"><a href="#structfield.draw_driveways" class="anchor field">§</a><code>draw_driveways: Drawable</code></span><span id="structfield.draw_routes" class="structfield small-section-header"><a href="#structfield.draw_routes" class="anchor field">§</a><code>draw_routes: Drawable</code></span><span id="structfield.pathfinder_cache" class="structfield small-section-header"><a href="#structfield.pathfinder_cache" class="anchor field">§</a><code>pathfinder_cache: PathfinderCache</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RoutePlanner" class="impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#44-381">source</a><a href="#impl-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#45-82">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_new_trip" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#86-89">source</a><h4 class="code-header">pub fn <a href="#method.add_new_trip" class="fn">add_new_trip</a>(app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, from: <a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, to: <a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)</h4></section></summary><div class="docblock"><p>Add a new trip while outside of this state and make it current, so that when we switch into
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.appwide_panel" class="structfield small-section-header"><a href="#structfield.appwide_panel" class="anchor field">§</a><code>appwide_panel: <a class="struct" href="../../components/appwide_panel/struct.AppwidePanel.html" title="struct ltn::components::appwide_panel::AppwidePanel">AppwidePanel</a></code></span><span id="structfield.left_panel" class="structfield small-section-header"><a href="#structfield.left_panel" class="anchor field">§</a><code>left_panel: Panel</code></span><span id="structfield.waypoints" class="structfield small-section-header"><a href="#structfield.waypoints" class="anchor field">§</a><code>waypoints: InputWaypoints</code></span><span id="structfield.files" class="structfield small-section-header"><a href="#structfield.files" class="anchor field">§</a><code>files: TripManagement&lt;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, <a class="struct" href="struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a>&gt;</code></span><span id="structfield.world" class="structfield small-section-header"><a href="#structfield.world" class="anchor field">§</a><code>world: World&lt;WaypointID&gt;</code></span><span id="structfield.show_main_roads" class="structfield small-section-header"><a href="#structfield.show_main_roads" class="anchor field">§</a><code>show_main_roads: Drawable</code></span><span id="structfield.draw_driveways" class="structfield small-section-header"><a href="#structfield.draw_driveways" class="anchor field">§</a><code>draw_driveways: Drawable</code></span><span id="structfield.draw_routes" class="structfield small-section-header"><a href="#structfield.draw_routes" class="anchor field">§</a><code>draw_routes: Drawable</code></span><span id="structfield.pathfinder_cache" class="structfield small-section-header"><a href="#structfield.pathfinder_cache" class="anchor field">§</a><code>pathfinder_cache: PathfinderCache</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RoutePlanner" class="impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#44-381">source</a><a href="#impl-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#45-82">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_new_trip" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#86-89">source</a><h4 class="code-header">pub fn <a href="#method.add_new_trip" class="fn">add_new_trip</a>(app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>, from: TripEndpoint, to: TripEndpoint)</h4></section></summary><div class="docblock"><p>Add a new trip while outside of this state and make it current, so that when we switch into
this state, itll appear</p>
</div></details><section id="method.update_everything" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#92-149">source</a><h4 class="code-header">fn <a href="#method.update_everything" class="fn">update_everything</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.update_minimal" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#153-169">source</a><h4 class="code-header">fn <a href="#method.update_minimal" class="fn">update_minimal</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.recalculate_paths" class="method"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#172-380">source</a><h4 class="code-header">fn <a href="#method.recalculate_paths" class="fn">recalculate_paths</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; Widget</h4></section></div></details></div><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="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="../../app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a class="src rightside" href="../../../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,

View File

@ -8,7 +8,7 @@
draw_driveways: Drawable,
draw_routes: Drawable,
pathfinder_cache: PathfinderCache,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.appwide_panel" class="structfield small-section-header"><a href="#structfield.appwide_panel" class="anchor field">§</a><code>appwide_panel: <a class="struct" href="../components/appwide_panel/struct.AppwidePanel.html" title="struct ltn::components::appwide_panel::AppwidePanel">AppwidePanel</a></code></span><span id="structfield.left_panel" class="structfield small-section-header"><a href="#structfield.left_panel" class="anchor field">§</a><code>left_panel: Panel</code></span><span id="structfield.waypoints" class="structfield small-section-header"><a href="#structfield.waypoints" class="anchor field">§</a><code>waypoints: InputWaypoints</code></span><span id="structfield.files" class="structfield small-section-header"><a href="#structfield.files" class="anchor field">§</a><code>files: TripManagement&lt;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>, <a class="struct" href="route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a>&gt;</code></span><span id="structfield.world" class="structfield small-section-header"><a href="#structfield.world" class="anchor field">§</a><code>world: World&lt;WaypointID&gt;</code></span><span id="structfield.show_main_roads" class="structfield small-section-header"><a href="#structfield.show_main_roads" class="anchor field">§</a><code>show_main_roads: Drawable</code></span><span id="structfield.draw_driveways" class="structfield small-section-header"><a href="#structfield.draw_driveways" class="anchor field">§</a><code>draw_driveways: Drawable</code></span><span id="structfield.draw_routes" class="structfield small-section-header"><a href="#structfield.draw_routes" class="anchor field">§</a><code>draw_routes: Drawable</code></span><span id="structfield.pathfinder_cache" class="structfield small-section-header"><a href="#structfield.pathfinder_cache" class="anchor field">§</a><code>pathfinder_cache: PathfinderCache</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RoutePlanner" class="impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#44-381">source</a><a href="#impl-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#45-82">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_new_trip" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#86-89">source</a><h4 class="code-header">pub fn <a href="#method.add_new_trip" class="fn">add_new_trip</a>(app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>, from: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, to: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)</h4></section></summary><div class="docblock"><p>Add a new trip while outside of this state and make it current, so that when we switch into
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.appwide_panel" class="structfield small-section-header"><a href="#structfield.appwide_panel" class="anchor field">§</a><code>appwide_panel: <a class="struct" href="../components/appwide_panel/struct.AppwidePanel.html" title="struct ltn::components::appwide_panel::AppwidePanel">AppwidePanel</a></code></span><span id="structfield.left_panel" class="structfield small-section-header"><a href="#structfield.left_panel" class="anchor field">§</a><code>left_panel: Panel</code></span><span id="structfield.waypoints" class="structfield small-section-header"><a href="#structfield.waypoints" class="anchor field">§</a><code>waypoints: InputWaypoints</code></span><span id="structfield.files" class="structfield small-section-header"><a href="#structfield.files" class="anchor field">§</a><code>files: TripManagement&lt;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>, <a class="struct" href="route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a>&gt;</code></span><span id="structfield.world" class="structfield small-section-header"><a href="#structfield.world" class="anchor field">§</a><code>world: World&lt;WaypointID&gt;</code></span><span id="structfield.show_main_roads" class="structfield small-section-header"><a href="#structfield.show_main_roads" class="anchor field">§</a><code>show_main_roads: Drawable</code></span><span id="structfield.draw_driveways" class="structfield small-section-header"><a href="#structfield.draw_driveways" class="anchor field">§</a><code>draw_driveways: Drawable</code></span><span id="structfield.draw_routes" class="structfield small-section-header"><a href="#structfield.draw_routes" class="anchor field">§</a><code>draw_routes: Drawable</code></span><span id="structfield.pathfinder_cache" class="structfield small-section-header"><a href="#structfield.pathfinder_cache" class="anchor field">§</a><code>pathfinder_cache: PathfinderCache</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RoutePlanner" class="impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#44-381">source</a><a href="#impl-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#45-82">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.add_new_trip" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#86-89">source</a><h4 class="code-header">pub fn <a href="#method.add_new_trip" class="fn">add_new_trip</a>(app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>, from: TripEndpoint, to: TripEndpoint)</h4></section></summary><div class="docblock"><p>Add a new trip while outside of this state and make it current, so that when we switch into
this state, itll appear</p>
</div></details><section id="method.update_everything" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#92-149">source</a><h4 class="code-header">fn <a href="#method.update_everything" class="fn">update_everything</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.update_minimal" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#153-169">source</a><h4 class="code-header">fn <a href="#method.update_minimal" class="fn">update_minimal</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.recalculate_paths" class="method"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#172-380">source</a><h4 class="code-header">fn <a href="#method.recalculate_paths" class="fn">recalculate_paths</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; Widget</h4></section></div></details></div><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="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="../app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a class="src rightside" href="../../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,

View File

@ -40,7 +40,7 @@ should make its best effort to delete any unused Drawables.</div></details><deta
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/about.rs.html#45-47">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.draw_baselayer-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/about.rs.html#49-51">source</a><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/about.rs.html#45-47">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><section id="method.draw_baselayer-7" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/about.rs.html#49-51">source</a><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -60,7 +60,7 @@ call this to handle all other events.</div></details></div></details><details cl
x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>,
_: &amp;mut Panel
) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>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>.</div></details><section id="method.draw_baselayer-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/share.rs.html#181-183">source</a><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/share.rs.html#185-187">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
the fallback case can just use <code>unreachable!()</code>.</div></details><section id="method.draw_baselayer-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/share.rs.html#181-183">source</a><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/share.rs.html#185-187">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom-1" class="method trait-impl"><a href="#method.on_click_custom-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
@ -73,87 +73,87 @@ the fallback case can just use <code>unreachable!()</code>.</div></details><sect
_: &amp;mut Panel
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has changed. If a transition is returned, stop handling
the event and immediately apply the transition.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover-1" class="method trait-impl"><a href="#method.on_mouseover-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details><details class="toggle method-toggle" open><summary><section id="method.other_event-1" class="method trait-impl"><a href="#method.other_event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">other_event</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Census" class="impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#112-158">source</a><a href="#impl-State%3CApp%3E-for-Census" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/census/struct.Census.html" title="struct ltn::pages::census::Census">Census</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#113-143">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#145-153">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#155-157">source</a><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
call this to handle all other events.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Census" class="impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#112-158">source</a><a href="#impl-State%3CApp%3E-for-Census" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/census/struct.Census.html" title="struct ltn::pages::census::Census">Census</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#113-143">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#145-153">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/census.rs.html#155-157">source</a><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-15" class="method trait-impl"><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeFilterType" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#226-262">source</a><a href="#impl-State%3CApp%3E-for-ChangeFilterType" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ChangeFilterType.html" title="struct ltn::pages::design_ltn::modals::ChangeFilterType">ChangeFilterType</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#227-252">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#254-256">source</a><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#258-261">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangeFilterType" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#226-262">source</a><a href="#impl-State%3CApp%3E-for-ChangeFilterType" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ChangeFilterType.html" title="struct ltn::pages::design_ltn::modals::ChangeFilterType">ChangeFilterType</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#227-252">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#254-256">source</a><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#258-261">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangedRoutes" class="impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#386-420">source</a><a href="#impl-State%3CApp%3E-for-ChangedRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/predict_impact/struct.ChangedRoutes.html" title="struct ltn::pages::predict_impact::ChangedRoutes">ChangedRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-7" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#387-412">source</a><a href="#method.event-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#414-419">source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-9" class="method trait-impl"><a href="#method.draw_baselayer-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-7" class="method trait-impl"><a href="#method.on_destroy-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-7" class="method trait-impl"><a href="#method.recreate-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ChangedRoutes" class="impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#386-420">source</a><a href="#impl-State%3CApp%3E-for-ChangedRoutes" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/predict_impact/struct.ChangedRoutes.html" title="struct ltn::pages::predict_impact::ChangedRoutes">ChangedRoutes</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#387-412">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#414-419">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Crossings" class="impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#75-178">source</a><a href="#impl-State%3CApp%3E-for-Crossings" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/crossings/struct.Crossings.html" title="struct ltn::pages::crossings::Crossings">Crossings</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#76-158">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#160-173">source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#175-177">source</a><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-Crossings" class="impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#75-178">source</a><a href="#impl-State%3CApp%3E-for-Crossings" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/crossings/struct.Crossings.html" title="struct ltn::pages::crossings::Crossings">Crossings</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#76-158">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#160-173">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/crossings.rs.html#175-177">source</a><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-7" class="method trait-impl"><a href="#method.draw_baselayer-7" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CustomizeBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#39-67">source</a><a href="#impl-State%3CApp%3E-for-CustomizeBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/customize_boundary/struct.CustomizeBoundary.html" title="struct ltn::pages::customize_boundary::CustomizeBoundary">CustomizeBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#40-61">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#63-66">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CustomizeBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#39-67">source</a><a href="#impl-State%3CApp%3E-for-CustomizeBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/customize_boundary/struct.CustomizeBoundary.html" title="struct ltn::pages::customize_boundary::CustomizeBoundary">CustomizeBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#40-61">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/customize_boundary.rs.html#63-66">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CycleNetwork" class="impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#43-90">source</a><a href="#impl-State%3CApp%3E-for-CycleNetwork" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/cycle_network/struct.CycleNetwork.html" title="struct ltn::pages::cycle_network::CycleNetwork">CycleNetwork</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#44-75">source</a><a href="#method.event-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#77-85">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#87-89">source</a><a href="#method.recreate-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-CycleNetwork" class="impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#43-90">source</a><a href="#impl-State%3CApp%3E-for-CycleNetwork" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/cycle_network/struct.CycleNetwork.html" title="struct ltn::pages::cycle_network::CycleNetwork">CycleNetwork</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#44-75">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#77-85">source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/cycle_network.rs.html#87-89">source</a><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-8" class="method trait-impl"><a href="#method.on_destroy-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DesignLTN" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#153-277">source</a><a href="#impl-State%3CApp%3E-for-DesignLTN" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/page/struct.DesignLTN.html" title="struct ltn::pages::design_ltn::page::DesignLTN">DesignLTN</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#154-241">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#243-245">source</a><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#247-272">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#274-276">source</a><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-4" class="method trait-impl"><a href="#method.draw_baselayer-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-DesignLTN" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#153-277">source</a><a href="#impl-State%3CApp%3E-for-DesignLTN" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/page/struct.DesignLTN.html" title="struct ltn::pages::design_ltn::page::DesignLTN">DesignLTN</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#154-241">source</a><a href="#method.event-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#243-245">source</a><a href="#method.draw_baselayer-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#247-272">source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/page.rs.html#274-276">source</a><a href="#method.recreate-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FreehandBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#127-204">source</a><a href="#impl-State%3CApp%3E-for-FreehandBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/freehand_boundary/struct.FreehandBoundary.html" title="struct ltn::pages::freehand_boundary::FreehandBoundary">FreehandBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#128-192">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#194-203">source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-13" class="method trait-impl"><a href="#method.on_destroy-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-FreehandBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#127-204">source</a><a href="#impl-State%3CApp%3E-for-FreehandBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/freehand_boundary/struct.FreehandBoundary.html" title="struct ltn::pages::freehand_boundary::FreehandBoundary">FreehandBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#128-192">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/freehand_boundary.rs.html#194-203">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PerResidentImpact" class="impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#289-378">source</a><a href="#impl-State%3CApp%3E-for-PerResidentImpact" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/per_resident_impact/struct.PerResidentImpact.html" title="struct ltn::pages::per_resident_impact::PerResidentImpact">PerResidentImpact</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#290-357">source</a><a href="#method.event-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#359-373">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-4" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#375-377">source</a><a href="#method.recreate-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PerResidentImpact" class="impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#289-378">source</a><a href="#impl-State%3CApp%3E-for-PerResidentImpact" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/per_resident_impact/struct.PerResidentImpact.html" title="struct ltn::pages::per_resident_impact::PerResidentImpact">PerResidentImpact</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#290-357">source</a><a href="#method.event-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#359-373">source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-15" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/per_resident_impact.rs.html#375-377">source</a><a href="#method.recreate-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-4" class="method trait-impl"><a href="#method.on_destroy-4" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickArea" class="impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#58-109">source</a><a href="#impl-State%3CApp%3E-for-PickArea" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/pick_area/struct.PickArea.html" title="struct ltn::pages::pick_area::PickArea">PickArea</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#59-89">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#91-93">source</a><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#95-104">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#106-108">source</a><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-17" class="method trait-impl"><a href="#method.draw_baselayer-17" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-15" class="method trait-impl"><a href="#method.on_destroy-15" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickArea" class="impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#58-109">source</a><a href="#impl-State%3CApp%3E-for-PickArea" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/pick_area/struct.PickArea.html" title="struct ltn::pages::pick_area::PickArea">PickArea</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#59-89">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#91-93">source</a><a href="#method.draw_baselayer-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#95-104">source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/pick_area.rs.html#106-108">source</a><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveBusGate" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#124-155">source</a><a href="#impl-State%3CApp%3E-for-ResolveBusGate" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ResolveBusGate.html" title="struct ltn::pages::design_ltn::modals::ResolveBusGate">ResolveBusGate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-10" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#125-145">source</a><a href="#method.event-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#147-149">source</a><a href="#method.draw_baselayer-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#151-154">source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-10" class="method trait-impl"><a href="#method.on_destroy-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-10" class="method trait-impl"><a href="#method.recreate-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveBusGate" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#124-155">source</a><a href="#impl-State%3CApp%3E-for-ResolveBusGate" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ResolveBusGate.html" title="struct ltn::pages::design_ltn::modals::ResolveBusGate">ResolveBusGate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-11" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#125-145">source</a><a href="#method.event-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#147-149">source</a><a href="#method.draw_baselayer-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#151-154">source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-11" class="method trait-impl"><a href="#method.on_destroy-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-11" class="method trait-impl"><a href="#method.recreate-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#38-60">source</a><a href="#impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ResolveOneWayAndFilter.html" title="struct ltn::pages::design_ltn::modals::ResolveOneWayAndFilter">ResolveOneWayAndFilter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-6" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#39-50">source</a><a href="#method.event-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#52-54">source</a><a href="#method.draw_baselayer-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#56-59">source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-6" class="method trait-impl"><a href="#method.on_destroy-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-6" class="method trait-impl"><a href="#method.recreate-6" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#38-60">source</a><a href="#impl-State%3CApp%3E-for-ResolveOneWayAndFilter" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/design_ltn/modals/struct.ResolveOneWayAndFilter.html" title="struct ltn::pages::design_ltn::modals::ResolveOneWayAndFilter">ResolveOneWayAndFilter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#39-50">source</a><a href="#method.event-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#52-54">source</a><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/design_ltn/modals.rs.html#56-59">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-5" class="method trait-impl"><a href="#method.on_destroy-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-5" class="method trait-impl"><a href="#method.recreate-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-RoutePlanner" class="impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#383-472">source</a><a href="#impl-State%3CApp%3E-for-RoutePlanner" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/route_planner/struct.RoutePlanner.html" title="struct ltn::pages::route_planner::RoutePlanner">RoutePlanner</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#384-443">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#445-447">source</a><a href="#method.draw_baselayer-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#449-467">source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/route_planner.rs.html#469-471">source</a><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveDialog" class="impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#122-178">source</a><a href="#impl-State%3CApp%3E-for-SaveDialog" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="save/save_dialog/struct.SaveDialog.html" title="struct ltn::save::save_dialog::SaveDialog">SaveDialog</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-3" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#123-168">source</a><a href="#method.event-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#170-172">source</a><a href="#method.draw_baselayer-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#174-177">source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-3" class="method trait-impl"><a href="#method.recreate-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-3" class="method trait-impl"><a href="#method.on_destroy-3" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SaveDialog" class="impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#122-178">source</a><a href="#impl-State%3CApp%3E-for-SaveDialog" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="save/save_dialog/struct.SaveDialog.html" title="struct ltn::save::save_dialog::SaveDialog">SaveDialog</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-14" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#123-168">source</a><a href="#method.event-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#170-172">source</a><a href="#method.draw_baselayer-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/save/save_dialog.rs.html#174-177">source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-14" class="method trait-impl"><a href="#method.on_destroy-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-14" class="method trait-impl"><a href="#method.recreate-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#274-374">source</a><a href="#impl-State%3CApp%3E-for-SelectBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/select_boundary/struct.SelectBoundary.html" title="struct ltn::pages::select_boundary::SelectBoundary">SelectBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#275-356">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#358-373">source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-11" class="method trait-impl"><a href="#method.draw_baselayer-11" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SelectBoundary" class="impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#274-374">source</a><a href="#impl-State%3CApp%3E-for-SelectBoundary" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/select_boundary/struct.SelectBoundary.html" title="struct ltn::pages::select_boundary::SelectBoundary">SelectBoundary</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-16" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#275-356">source</a><a href="#method.event-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/select_boundary.rs.html#358-373">source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-18" class="method trait-impl"><a href="#method.draw_baselayer-18" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-16" class="method trait-impl"><a href="#method.on_destroy-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-16" class="method trait-impl"><a href="#method.recreate-16" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowImpactResults" class="impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#115-229">source</a><a href="#impl-State%3CApp%3E-for-ShowImpactResults" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/predict_impact/struct.ShowImpactResults.html" title="struct ltn::pages::predict_impact::ShowImpactResults">ShowImpactResults</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#116-206">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#208-210">source</a><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#212-224">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#226-228">source</a><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-ShowImpactResults" class="impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#115-229">source</a><a href="#impl-State%3CApp%3E-for-ShowImpactResults" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="pages/predict_impact/struct.ShowImpactResults.html" title="struct ltn::pages::predict_impact::ShowImpactResults">ShowImpactResults</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-9" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#116-206">source</a><a href="#method.event-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-10" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#208-210">source</a><a href="#method.draw_baselayer-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#212-224">source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-9" class="method trait-impl"><a class="src rightside" href="../src/ltn/pages/predict_impact.rs.html#226-228">source</a><a href="#method.recreate-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SimpleWarper" class="impl"><a class="src rightside" href="../src/ltn/app.rs.html#309-319">source</a><a href="#impl-State%3CApp%3E-for-SimpleWarper" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="app/struct.SimpleWarper.html" title="struct ltn::app::SimpleWarper">SimpleWarper</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-12" class="method trait-impl"><a class="src rightside" href="../src/ltn/app.rs.html#310-316">source</a><a href="#method.event-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../src/ltn/app.rs.html#318">source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-14" class="method trait-impl"><a href="#method.draw_baselayer-14" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-12" class="method trait-impl"><a href="#method.on_destroy-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-12" class="method trait-impl"><a href="#method.recreate-12" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-9" class="method trait-impl"><a href="#method.on_destroy-9" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-SimpleWarper" class="impl"><a class="src rightside" href="../src/ltn/app.rs.html#309-319">source</a><a href="#impl-State%3CApp%3E-for-SimpleWarper" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>&gt; for <a class="struct" href="app/struct.SimpleWarper.html" title="struct ltn::app::SimpleWarper">SimpleWarper</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-2" class="method trait-impl"><a class="src rightside" href="../src/ltn/app.rs.html#310-316">source</a><a href="#method.event-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, _: &amp;mut <a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>) -&gt; <a class="type" href="app/type.Transition.html" title="type ltn::app::Transition">Transition</a></h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../src/ltn/app.rs.html#318">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, _: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="app/struct.App.html" title="struct ltn::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-2" class="method trait-impl"><a href="#method.on_destroy-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-2" class="method trait-impl"><a href="#method.recreate-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>

View File

@ -19,18 +19,18 @@ the event and immediately apply the transition.</div></details><details class="t
ctx: &amp;mut EventCtx&lt;'_&gt;,
_: &amp;mut <a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>
) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>If a panel <code>on_click</code> event didnt occur and <code>panel_changed</code> didnt return transition, then
call this to handle all other events.</div></details><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/edit.rs.html#260-262">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section><section id="method.draw_baselayer-1" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/edit.rs.html#264-266">source</a><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
call this to handle all other events.</div></details><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/edit.rs.html#260-262">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section><section id="method.draw_baselayer-2" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/edit.rs.html#264-266">source</a><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section><details class="toggle method-toggle" open><summary><section id="method.on_click_custom" class="method trait-impl"><a href="#method.on_click_custom" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_click_custom</a>(
&amp;mut self,
_ctx: &amp;mut EventCtx&lt;'_&gt;,
_app: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>,
_action: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../abstutil/clone/trait.CloneableAny.html" title="trait abstutil::clone::CloneableAny">CloneableAny</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;,
_panel: &amp;mut Panel
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover" class="method trait-impl"><a href="#method.on_mouseover" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-MainState" class="impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#141-395">source</a><a href="#impl-State%3CApp%3E-for-MainState" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt; for <a class="struct" href="struct.MainState.html" title="struct map_editor::app::MainState">MainState</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#142-359">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#361-394">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
) -&gt; Transition&lt;A&gt;</h4></section></summary><div class='docblock'>Called when something on the panel has been clicked.</div></details><details class="toggle method-toggle" open><summary><section id="method.on_mouseover" class="method trait-impl"><a href="#method.on_mouseover" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_mouseover</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Called when the mouse has moved.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-MainState" class="impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#141-395">source</a><a href="#impl-State%3CApp%3E-for-MainState" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt; for <a class="struct" href="struct.MainState.html" title="struct map_editor::app::MainState">MainState</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#142-359">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/app.rs.html#361-394">source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-1" class="method trait-impl"><a href="#method.draw_baselayer-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickMap" class="impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#39-66">source</a><a href="#impl-State%3CApp%3E-for-PickMap" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt; for <a class="struct" href="../load/struct.PickMap.html" title="struct map_editor::load::PickMap">PickMap</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event-1" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#40-61">source</a><a href="#method.event-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#63-65">source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer-2" class="method trait-impl"><a href="#method.draw_baselayer-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy-1" class="method trait-impl"><a href="#method.on_destroy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate-1" class="method trait-impl"><a href="#method.recreate-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
the <code>State</code>-specific state appropriately.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PickMap" class="impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#39-66">source</a><a href="#impl-State%3CApp%3E-for-PickMap" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt; for <a class="struct" href="../load/struct.PickMap.html" title="struct map_editor::load::PickMap">PickMap</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#40-61">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/map_editor/load.rs.html#63-65">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, _: &amp;<a class="struct" href="struct.App.html" title="struct map_editor::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(
&amp;mut self,
_: &amp;mut EventCtx&lt;'_&gt;,
_: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut A</a>

View File

@ -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="A standard way to group a home button back to the title screen, the title of the current app, and a button to change maps. Callers must handle the `change map` and `home` click events."><title>app_header in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">app_header</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#434-442">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn app_header(ctx: &amp;EventCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, title: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A standard way to group a home button back to the title screen, the title of the current app,
<!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="A standard way to group a home button back to the title screen, the title of the current app, and a button to change maps. Callers must handle the `change map` and `home` click events."><title>app_header in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">app_header</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#445-453">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn app_header(ctx: &amp;EventCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, title: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A standard way to group a home button back to the title screen, the title of the current app,
and a button to change maps. Callers must handle the <code>change map</code> and <code>home</code> click events.</p>
</div></details></section></div></main></body></html>

View File

@ -1,2 +1,2 @@
<!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="A button to change maps, with default keybindings"><title>change_map_btn in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">change_map_btn</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#412-420">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn change_map_btn(ctx: &amp;EventCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A button to change maps, with default keybindings</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="A button to change maps, with default keybindings"><title>change_map_btn in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">change_map_btn</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#423-431">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn change_map_btn(ctx: &amp;EventCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A button to change maps, with default keybindings</p>
</div></details></section></div></main></body></html>

View File

@ -1,2 +1,2 @@
<!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="Returns the path to an executable. Native-only."><title>find_exe in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">find_exe</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#367-409">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn find_exe(cmd: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the path to an executable. Native-only.</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="Returns the path to an executable. Native-only."><title>find_exe in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">find_exe</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#378-420">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn find_exe(cmd: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the path to an executable. Native-only.</p>
</div></details></section></div></main></body></html>

View File

@ -1,2 +1,2 @@
<!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="A button to return to the title screen"><title>home_btn in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">home_btn</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#423-430">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn home_btn(ctx: &amp;EventCtx&lt;'_&gt;) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A button to return to the title screen</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="A button to return to the title screen"><title>home_btn in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">home_btn</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#434-441">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn home_btn(ctx: &amp;EventCtx&lt;'_&gt;) -&gt; Widget</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A button to return to the title screen</p>
</div></details></section></div></main></body></html>

View File

@ -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 `intersections_from_roads` fn in crate `map_gui`."><title>intersections_from_roads in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">intersections_from_roads</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#444-458">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn intersections_from_roads(
<!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 `intersections_from_roads` fn in crate `map_gui`."><title>intersections_from_roads in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">intersections_from_roads</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#455-469">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn intersections_from_roads(
roads: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;RoadID&gt;,
map: &amp;Map
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;IntersectionID&gt;</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `nice_country_name` fn in crate `map_gui`."><title>nice_country_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">nice_country_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#336-364">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn nice_country_name(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a></code></pre></section></div></main></body></html>
<!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 `nice_country_name` fn in crate `map_gui`."><title>nice_country_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">nice_country_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#345-375">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn nice_country_name(code: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a></code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `nice_map_name` fn in crate `map_gui`."><title>nice_map_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">nice_map_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#93-334">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn nice_map_name(name: &amp;MapName) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a></code></pre></section></div></main></body></html>
<!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 `nice_map_name` fn in crate `map_gui`."><title>nice_map_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">nice_map_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#93-343">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn nice_map_name(name: &amp;MapName) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a></code></pre></section></div></main></body></html>

View File

@ -1,2 +1,2 @@
<!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="Modify the current URL to set the first free parameter to the current map name."><title>update_url_map_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">update_url_map_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#461-470">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn update_url_map_name(app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Modify the current URL to set the first free parameter to the current map name.</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="Modify the current URL to set the first free parameter to the current map name."><title>update_url_map_name in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../map_gui/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">update_url_map_name</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/mod.rs.html#472-481">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn update_url_map_name(app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Modify the current URL to set the first free parameter to the current map name.</p>
</div></details></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
<!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."><title>BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></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="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-6cfe94797c28dcb1/out/built.rs.html#102">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a> = r&quot;Mon, 27 Nov 2023 19:43:04 +0000&quot;;</code></pre><details class="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."><title>BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></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="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-6cfe94797c28dcb1/out/built.rs.html#102">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a> = r&quot;Tue, 28 Nov 2023 12:10:38 +0000&quot;;</code></pre><details class="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></div></main></body></html>

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

View File

@ -1,5 +1,5 @@
<!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="Finalize importing of buildings, mostly by matching them to the nearest sidewalk."><title>make_all_buildings in map_model::make::buildings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::buildings</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">buildings</a>::<wbr><a class="fn" href="#">make_all_buildings</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/buildings.rs.html#17-127">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn make_all_buildings(
input: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="enum" href="../../osm/enum.OsmID.html" title="enum map_model::osm::OsmID">OsmID</a>, RawBuilding&gt;,
input: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="enum" href="../../osm/enum.OsmID.html" title="enum map_model::osm::OsmID">OsmID</a>, <a class="struct" href="../../../raw_map/struct.RawBuilding.html" title="struct raw_map::RawBuilding">RawBuilding</a>&gt;,
map: &amp;<a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>,
keep_bldg_tags: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>,
timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;

View File

@ -1,5 +1,5 @@
<!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="Take in parking lots from OSM and all parking aisle roads. Match parking lots to the nearest sidewalk + driving lane, then automatically generate individual parking spots perpendicular to the aisles."><title>make_all_parking_lots in map_model::make::parking_lots - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::parking_lots</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">parking_lots</a>::<wbr><a class="fn" href="#">make_all_parking_lots</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/parking_lots.rs.html#18-130">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn make_all_parking_lots(
input: &amp;[RawParkingLot],
input: &amp;[<a class="struct" href="../../../raw_map/struct.RawParkingLot.html" title="struct raw_map::RawParkingLot">RawParkingLot</a>],
aisles: &amp;[(<a class="struct" href="../../osm/struct.WayID.html" title="struct map_model::osm::WayID">WayID</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Pt2D&gt;)],
map: &amp;<a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>,
timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;

View File

@ -1,5 +1,5 @@
<!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 `create_route` fn in crate `map_model`."><title>create_route in map_model::make::transit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::transit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">transit</a>::<wbr><a class="fn" href="#">create_route</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/transit.rs.html#144-248">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn create_route(
route: &amp;RawTransitRoute,
route: &amp;<a class="struct" href="../../../raw_map/struct.RawTransitRoute.html" title="struct raw_map::RawTransitRoute">RawTransitRoute</a>,
map: &amp;mut <a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>,
gtfs_to_stop_id: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../objects/transit/struct.TransitStopID.html" title="struct map_model::objects::transit::TransitStopID">TransitStopID</a>&gt;,
snapper: &amp;<a class="struct" href="struct.BorderSnapper.html" title="struct map_model::make::transit::BorderSnapper">BorderSnapper</a>

View File

@ -1,5 +1,5 @@
<!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 `create_stop` fn in crate `map_model`."><title>create_stop in map_model::make::transit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::transit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">transit</a>::<wbr><a class="fn" href="#">create_stop</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/transit.rs.html#53-97">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn create_stop(
stop: &amp;RawTransitStop,
stop: &amp;<a class="struct" href="../../../raw_map/struct.RawTransitStop.html" title="struct raw_map::RawTransitStop">RawTransitStop</a>,
sidewalk_pts: &amp;<a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;HashablePt2D, <a class="struct" href="../../traversable/struct.Position.html" title="struct map_model::traversable::Position">Position</a>&gt;,
gtfs_to_stop_id: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../objects/transit/struct.TransitStopID.html" title="struct map_model::objects::transit::TransitStopID">TransitStopID</a>&gt;,
map: &amp;mut <a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>

View File

@ -1 +1 @@
<!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 `finalize_transit` fn in crate `map_model`."><title>finalize_transit in map_model::make::transit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::transit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">transit</a>::<wbr><a class="fn" href="#">finalize_transit</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/transit.rs.html#15-51">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn finalize_transit(map: &amp;mut <a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>, raw: &amp;RawMap, timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;)</code></pre></section></div></main></body></html>
<!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 `finalize_transit` fn in crate `map_model`."><title>finalize_transit in map_model::make::transit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_model" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../map_model/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In map_model::make::transit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_model</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">transit</a>::<wbr><a class="fn" href="#">finalize_transit</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_model/make/transit.rs.html#15-51">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn finalize_transit(map: &amp;mut <a class="struct" href="../../struct.Map.html" title="struct map_model::Map">Map</a>, raw: &amp;<a class="struct" href="../../../raw_map/struct.RawMap.html" title="struct raw_map::RawMap">RawMap</a>, timer: &amp;mut <a class="struct" href="../../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;)</code></pre></section></div></main></body></html>

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

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

View File

@ -50,7 +50,7 @@ before the simulation resumes.</p>
the entire apply_edits flow.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_edits_change_key" class="method"><a class="src rightside" href="../src/map_model/edits/mod.rs.html#523-525">source</a><h4 class="code-header">pub fn <a href="#method.get_edits_change_key" class="fn">get_edits_change_key</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>If you need to regenerate anything when the map is edited, use this key to detect edits.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Map-2" class="impl"><a class="src rightside" href="../src/map_model/make/mod.rs.html#44-362">source</a><a href="#impl-Map-2" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Map.html" title="struct map_model::Map">Map</a></h3></section></summary><div class="impl-items"><section id="method.create_from_raw" class="method"><a class="src rightside" href="../src/map_model/make/mod.rs.html#45-361">source</a><h4 class="code-header">pub fn <a href="#method.create_from_raw" class="fn">create_from_raw</a>(
raw: RawMap,
raw: <a class="struct" href="../raw_map/struct.RawMap.html" title="struct raw_map::RawMap">RawMap</a>,
opts: <a class="struct" href="make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a>,
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="struct" href="struct.Map.html" title="struct map_model::Map">Map</a></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Map-3" class="impl"><a class="src rightside" href="../src/map_model/map.rs.html#30-1174">source</a><a href="#impl-Map-3" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Map.html" title="struct map_model::Map">Map</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.load_synchronously" class="method"><a class="src rightside" href="../src/map_model/map.rs.html#33-68">source</a><h4 class="code-header">pub fn <a href="#method.load_synchronously" class="fn">load_synchronously</a>(path: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; <a class="struct" href="struct.Map.html" title="struct map_model::Map">Map</a></h4></section></summary><div class="docblock"><p>Load a map from a local serialized Map or RawMap. Note this wont work on web. This should

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

View File

@ -4,6 +4,6 @@
config: <a class="struct" href="struct.Config.html" title="struct popdat::Config">Config</a>,
map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="struct" href="../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Wires together all the pieces, so you can just hand this any map, and itll automatically find
) -&gt; Scenario</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Wires together all the pieces, so you can just hand this any map, and itll automatically find
appropriate census data, and use it to produce a Scenario.</p>
</div></details></section></div></main></body></html>

View File

@ -4,4 +4,4 @@
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
config: &amp;<a class="struct" href="../struct.Config.html" title="struct popdat::Config">Config</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../synthpop/scenario/struct.PersonSpec.html" title="struct synthpop::scenario::PersonSpec">PersonSpec</a>&gt;</code></pre></section></div></main></body></html>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;PersonSpec&gt;</code></pre></section></div></main></body></html>

View File

@ -1,7 +1,7 @@
<!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 `pick_mode` fn in crate `popdat`."><title>pick_mode in popdat::make_person - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="popdat" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../popdat/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../popdat/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In popdat::make_person</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">popdat</a>::<wbr><a href="index.html">make_person</a>::<wbr><a class="fn" href="#">pick_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/popdat/make_person.rs.html#223-293">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn pick_mode(
from: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>,
to: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>,
from: TripEndpoint,
to: TripEndpoint,
map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
config: &amp;<a class="struct" href="../struct.Config.html" title="struct popdat::Config">Config</a>
) -&gt; <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a></code></pre></section></div></main></body></html>
) -&gt; TripMode</code></pre></section></div></main></body></html>

View File

@ -3,7 +3,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.activity_to_buildings" class="structfield small-section-header"><a href="#structfield.activity_to_buildings" class="anchor field">§</a><code>activity_to_buildings: <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="../enum.Activity.html" title="enum popdat::Activity">Activity</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;BuildingID&gt;&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PersonFactory" class="impl"><a class="src rightside" href="../../src/popdat/make_person.rs.html#54-221">source</a><a href="#impl-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/popdat/make_person.rs.html#55-60">source</a><h4 class="code-header">fn <a href="#method.new" class="fn">new</a>(map: &amp;Map) -&gt; Self</h4></section><section id="method.activity_to_buildings" class="method"><a class="src rightside" href="../../src/popdat/make_person.rs.html#62-153">source</a><h4 class="code-header">fn <a href="#method.activity_to_buildings" class="fn">activity_to_buildings</a>(map: &amp;Map) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="../enum.Activity.html" title="enum popdat::Activity">Activity</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;BuildingID&gt;&gt;</h4></section><section id="method.find_building_for_activity" class="method"><a class="src rightside" href="../../src/popdat/make_person.rs.html#155-172">source</a><h4 class="code-header">fn <a href="#method.find_building_for_activity" class="fn">find_building_for_activity</a>(
&amp;self,
activity: <a class="enum" href="../enum.Activity.html" title="enum popdat::Activity">Activity</a>,
_start: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>,
_start: TripEndpoint,
_map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BuildingID&gt;</h4></section><section id="method.make_person" class="method"><a class="src rightside" href="../../src/popdat/make_person.rs.html#174-220">source</a><h4 class="code-header">pub fn <a href="#method.make_person" class="fn">make_person</a>(
@ -13,7 +13,7 @@
commuter_borders: &amp;[IntersectionID],
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
config: &amp;<a class="struct" href="../struct.Config.html" title="struct popdat::Config">Config</a>
) -&gt; <a class="struct" href="../../synthpop/scenario/struct.PersonSpec.html" title="struct synthpop::scenario::PersonSpec">PersonSpec</a></h4></section></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"><section id="impl-RefUnwindSafe-for-PersonFactory" class="impl"><a href="#impl-RefUnwindSafe-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Send-for-PersonFactory" class="impl"><a href="#impl-Send-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Sync-for-PersonFactory" class="impl"><a href="#impl-Sync-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Unpin-for-PersonFactory" class="impl"><a href="#impl-Unpin-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-UnwindSafe-for-PersonFactory" class="impl"><a href="#impl-UnwindSafe-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-PersonFactory" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
) -&gt; PersonSpec</h4></section></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"><section id="impl-RefUnwindSafe-for-PersonFactory" class="impl"><a href="#impl-RefUnwindSafe-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Send-for-PersonFactory" class="impl"><a href="#impl-Send-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Sync-for-PersonFactory" class="impl"><a href="#impl-Sync-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-Unpin-for-PersonFactory" class="impl"><a href="#impl-Unpin-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section><section id="impl-UnwindSafe-for-PersonFactory" class="impl"><a href="#impl-UnwindSafe-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PersonFactory.html" title="struct popdat::make_person::PersonFactory">PersonFactory</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-PersonFactory" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-PersonFactory" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-PersonFactory" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-PersonFactory" class="impl"><a href="#impl-Downcast-for-PersonFactory" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<span class="where fmt-newline">where

View File

@ -5,7 +5,7 @@
opts: <a class="struct" href="struct.Options.html" title="struct popdat::od::Options">Options</a>,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../synthpop/scenario/struct.PersonSpec.html" title="struct synthpop::scenario::PersonSpec">PersonSpec</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generates a scenario from aggregated origin/destination data (DesireLines). The input describes
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;PersonSpec&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generates a scenario from aggregated origin/destination data (DesireLines). The input describes
an exact number of people, who live in one zone and work in another (possibly the same) and
commute using some mode. For each of them, we just need to pick a specific home and workplace
from the zones, and use the Options to pick departure times. Well wind up creating people who

File diff suppressed because one or more lines are too long

View File

@ -4,27 +4,27 @@
pct_overlap: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.f64.html">f64</a>,
homes: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;,
workplaces: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;,
borders: <a class="struct" href="../../synthpop/borders/struct.MapBorders.html" title="struct synthpop::borders::MapBorders">MapBorders</a>,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.polygon" class="structfield small-section-header"><a href="#structfield.polygon" class="anchor field">§</a><code>polygon: Polygon</code></span><span id="structfield.center" class="structfield small-section-header"><a href="#structfield.center" class="anchor field">§</a><code>center: Pt2D</code></span><span id="structfield.pct_overlap" class="structfield small-section-header"><a href="#structfield.pct_overlap" class="anchor field">§</a><code>pct_overlap: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.homes" class="structfield small-section-header"><a href="#structfield.homes" class="anchor field">§</a><code>homes: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</code></span><span id="structfield.workplaces" class="structfield small-section-header"><a href="#structfield.workplaces" class="anchor field">§</a><code>workplaces: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</code></span><span id="structfield.borders" class="structfield small-section-header"><a href="#structfield.borders" class="anchor field">§</a><code>borders: <a class="struct" href="../../synthpop/borders/struct.MapBorders.html" title="struct synthpop::borders::MapBorders">MapBorders</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Zone" class="impl"><a class="src rightside" href="../../src/popdat/od.rs.html#200-204">source</a><a href="#impl-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></summary><div class="impl-items"><section id="method.is_remote" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#201-203">source</a><h4 class="code-header">fn <a href="#method.is_remote" class="fn">is_remote</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zone-1" class="impl"><a class="src rightside" href="../../src/popdat/od.rs.html#321-380">source</a><a href="#impl-Zone-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pick_home" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#324-335">source</a><h4 class="code-header">fn <a href="#method.pick_home" class="fn">pick_home</a>(
borders: MapBorders,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.polygon" class="structfield small-section-header"><a href="#structfield.polygon" class="anchor field">§</a><code>polygon: Polygon</code></span><span id="structfield.center" class="structfield small-section-header"><a href="#structfield.center" class="anchor field">§</a><code>center: Pt2D</code></span><span id="structfield.pct_overlap" class="structfield small-section-header"><a href="#structfield.pct_overlap" class="anchor field">§</a><code>pct_overlap: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.homes" class="structfield small-section-header"><a href="#structfield.homes" class="anchor field">§</a><code>homes: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</code></span><span id="structfield.workplaces" class="structfield small-section-header"><a href="#structfield.workplaces" class="anchor field">§</a><code>workplaces: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(BuildingID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</code></span><span id="structfield.borders" class="structfield small-section-header"><a href="#structfield.borders" class="anchor field">§</a><code>borders: MapBorders</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Zone" class="impl"><a class="src rightside" href="../../src/popdat/od.rs.html#200-204">source</a><a href="#impl-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></summary><div class="impl-items"><section id="method.is_remote" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#201-203">source</a><h4 class="code-header">fn <a href="#method.is_remote" class="fn">is_remote</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zone-1" class="impl"><a class="src rightside" href="../../src/popdat/od.rs.html#321-380">source</a><a href="#impl-Zone-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pick_home" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#324-335">source</a><h4 class="code-header">fn <a href="#method.pick_home" class="fn">pick_home</a>(
&amp;self,
mode: <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>,
mode: TripMode,
map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)&gt;</h4></section></summary><div class="docblock"><p>Returns endpoints to (leave home, goto home). Thesere usually the same, except in some
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(TripEndpoint, TripEndpoint)&gt;</h4></section></summary><div class="docblock"><p>Returns endpoints to (leave home, goto home). Thesere usually the same, except in some
cases of border trips using divided one-ways.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pick_workplace" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#339-350">source</a><h4 class="code-header">fn <a href="#method.pick_workplace" class="fn">pick_workplace</a>(
&amp;self,
mode: <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>,
mode: TripMode,
map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)&gt;</h4></section></summary><div class="docblock"><p>Returns endpoints to (leave work, goto work). Thesere usually the same, except in some
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(TripEndpoint, TripEndpoint)&gt;</h4></section></summary><div class="docblock"><p>Returns endpoints to (leave work, goto work). Thesere usually the same, except in some
cases of border trips using divided one-ways.</p>
</div></details><section id="method.pick_borders" class="method"><a class="src rightside" href="../../src/popdat/od.rs.html#352-379">source</a><h4 class="code-header">fn <a href="#method.pick_borders" class="fn">pick_borders</a>(
&amp;self,
mode: <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>,
mode: TripMode,
map: &amp;Map,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>)&gt;</h4></section></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"><section id="impl-RefUnwindSafe-for-Zone" class="impl"><a href="#impl-RefUnwindSafe-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Send-for-Zone" class="impl"><a href="#impl-Send-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Sync-for-Zone" class="impl"><a href="#impl-Sync-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Unpin-for-Zone" class="impl"><a href="#impl-Unpin-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-UnwindSafe-for-Zone" class="impl"><a href="#impl-UnwindSafe-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-Zone" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-Zone" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(TripEndpoint, TripEndpoint)&gt;</h4></section></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"><section id="impl-RefUnwindSafe-for-Zone" class="impl"><a href="#impl-RefUnwindSafe-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Send-for-Zone" class="impl"><a href="#impl-Send-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Sync-for-Zone" class="impl"><a href="#impl-Sync-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-Unpin-for-Zone" class="impl"><a href="#impl-Unpin-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section><section id="impl-UnwindSafe-for-Zone" class="impl"><a href="#impl-UnwindSafe-for-Zone" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Zone.html" title="struct popdat::od::Zone">Zone</a></h3></section></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="toggle implementors-toggle"><summary><section id="impl-Any-for-Zone" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-Zone" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Zone" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-Zone" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Zone" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-Zone" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-Zone" class="impl"><a href="#impl-Downcast-for-Zone" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<span class="where fmt-newline">where

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

View File

@ -7,7 +7,7 @@
pub passengers_boarding: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;TransitStopID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, TransitRouteID, Duration)&gt;&gt;,
pub passengers_alighting: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;TransitStopID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, TransitRouteID)&gt;&gt;,
pub started_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, Time&gt;,
pub finished_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;)&gt;,
pub finished_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, TripMode, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;)&gt;,
pub problems_per_trip: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="enum" href="enum.Problem.html" title="enum sim::analytics::Problem">Problem</a>)&gt;&gt;,
pub trip_log: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PathRequest&gt;, <a class="enum" href="../events/enum.TripPhaseType.html" title="enum sim::events::TripPhaseType">TripPhaseType</a>)&gt;,
pub intersection_delays: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;IntersectionID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.u8.html">u8</a>, Time, Duration, <a class="enum" href="../enum.AgentType.html" title="enum sim::AgentType">AgentType</a>)&gt;&gt;,
@ -25,7 +25,7 @@ running the simulation, and compare the live Analytics to the prebaked baseline
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.road_thruput" class="structfield small-section-header"><a href="#structfield.road_thruput" class="anchor field">§</a><code>road_thruput: <a class="struct" href="struct.TimeSeriesCount.html" title="struct sim::analytics::TimeSeriesCount">TimeSeriesCount</a>&lt;RoadID&gt;</code></span><span id="structfield.intersection_thruput" class="structfield small-section-header"><a href="#structfield.intersection_thruput" class="anchor field">§</a><code>intersection_thruput: <a class="struct" href="struct.TimeSeriesCount.html" title="struct sim::analytics::TimeSeriesCount">TimeSeriesCount</a>&lt;IntersectionID&gt;</code></span><span id="structfield.traffic_signal_thruput" class="structfield small-section-header"><a href="#structfield.traffic_signal_thruput" class="anchor field">§</a><code>traffic_signal_thruput: <a class="struct" href="struct.TimeSeriesCount.html" title="struct sim::analytics::TimeSeriesCount">TimeSeriesCount</a>&lt;CompressedMovementID&gt;</code></span><span id="structfield.demand" class="structfield small-section-header"><a href="#structfield.demand" class="anchor field">§</a><code>demand: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;MovementID, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>&gt;</code></span><div class="docblock"><p>Most fields in Analytics are cumulative over time, but this is just for the current moment
in time.</p>
</div><span id="structfield.bus_arrivals" class="structfield small-section-header"><a href="#structfield.bus_arrivals" class="anchor field">§</a><code>bus_arrivals: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.CarID.html" title="struct sim::CarID">CarID</a>, TransitRouteID, TransitStopID)&gt;</code></span><span id="structfield.passengers_boarding" class="structfield small-section-header"><a href="#structfield.passengers_boarding" class="anchor field">§</a><code>passengers_boarding: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;TransitStopID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, TransitRouteID, Duration)&gt;&gt;</code></span><div class="docblock"><p>For each passenger boarding, how long did they wait at the stop?</p>
</div><span id="structfield.passengers_alighting" class="structfield small-section-header"><a href="#structfield.passengers_alighting" class="anchor field">§</a><code>passengers_alighting: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;TransitStopID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, TransitRouteID)&gt;&gt;</code></span><span id="structfield.started_trips" class="structfield small-section-header"><a href="#structfield.started_trips" class="anchor field">§</a><code>started_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, Time&gt;</code></span><span id="structfield.finished_trips" class="structfield small-section-header"><a href="#structfield.finished_trips" class="anchor field">§</a><code>finished_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;)&gt;</code></span><div class="docblock"><p>Finish time, ID, mode, trip duration if successful (or None if cancelled)</p>
</div><span id="structfield.passengers_alighting" class="structfield small-section-header"><a href="#structfield.passengers_alighting" class="anchor field">§</a><code>passengers_alighting: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;TransitStopID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, TransitRouteID)&gt;&gt;</code></span><span id="structfield.started_trips" class="structfield small-section-header"><a href="#structfield.started_trips" class="anchor field">§</a><code>started_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, Time&gt;</code></span><span id="structfield.finished_trips" class="structfield small-section-header"><a href="#structfield.finished_trips" class="anchor field">§</a><code>finished_trips: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, TripMode, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Duration&gt;)&gt;</code></span><div class="docblock"><p>Finish time, ID, mode, trip duration if successful (or None if cancelled)</p>
</div><span id="structfield.problems_per_trip" class="structfield small-section-header"><a href="#structfield.problems_per_trip" class="anchor field">§</a><code>problems_per_trip: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="enum" href="enum.Problem.html" title="enum sim::analytics::Problem">Problem</a>)&gt;&gt;</code></span><div class="docblock"><p>Record different problems that each trip encounters.</p>
</div><span id="structfield.trip_log" class="structfield small-section-header"><a href="#structfield.trip_log" class="anchor field">§</a><code>trip_log: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PathRequest&gt;, <a class="enum" href="../events/enum.TripPhaseType.html" title="enum sim::events::TripPhaseType">TripPhaseType</a>)&gt;</code></span><span id="structfield.intersection_delays" class="structfield small-section-header"><a href="#structfield.intersection_delays" class="anchor field">§</a><code>intersection_delays: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;IntersectionID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.u8.html">u8</a>, Time, Duration, <a class="enum" href="../enum.AgentType.html" title="enum sim::AgentType">AgentType</a>)&gt;&gt;</code></span><div class="docblock"><p>Only for traffic signals. The u8 is the movement index from a CompressedMovementID.</p>
</div><span id="structfield.parking_lane_changes" class="structfield small-section-header"><a href="#structfield.parking_lane_changes" class="anchor field">§</a><code>parking_lane_changes: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;LaneID, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>)&gt;&gt;</code></span><div class="docblock"><p>Per parking lane or lot, when does a spot become filled (true) or free (false)</p>
@ -35,7 +35,7 @@ in time.</p>
&amp;self,
now: Time,
before: &amp;<a class="struct" href="struct.Analytics.html" title="struct sim::analytics::Analytics">Analytics</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, Duration, Duration, <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>)&gt;</h4></section></summary><div class="docblock"><p>Returns pairs of trip times for finished trips in both worlds. (ID, before, after, mode)</p>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, Duration, Duration, TripMode)&gt;</h4></section></summary><div class="docblock"><p>Returns pairs of trip times for finished trips in both worlds. (ID, before, after, mode)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get_trip_phases" class="method"><a class="src rightside" href="../../src/sim/analytics.rs.html#430-451">source</a><h4 class="code-header">pub fn <a href="#method.get_trip_phases" class="fn">get_trip_phases</a>(&amp;self, trip: <a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, map: &amp;Map) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.TripPhase.html" title="struct sim::analytics::TripPhase">TripPhase</a>&gt;</h4></section></summary><div class="docblock"><p>If calling on prebaked Analytics, be careful to pass in an unedited map, to match how the
simulation was originally run. Otherwise the paths may be nonsense.</p>
</div></details><section id="method.get_all_trip_phases" class="method"><a class="src rightside" href="../../src/sim/analytics.rs.html#453-478">source</a><h4 class="code-header">pub fn <a href="#method.get_all_trip_phases" class="fn">get_all_trip_phases</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.TripID.html" title="struct sim::TripID">TripID</a>, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.TripPhase.html" title="struct sim::analytics::TripPhase">TripPhase</a>&gt;&gt;</h4></section><section id="method.active_agents" class="method"><a class="src rightside" href="../../src/sim/analytics.rs.html#480-520">source</a><h4 class="code-header">pub fn <a href="#method.active_agents" class="fn">active_agents</a>(&amp;self, now: Time) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Time, <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.usize.html">usize</a>)&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.parking_lane_availability" class="method"><a class="src rightside" href="../../src/sim/analytics.rs.html#523-534">source</a><h4 class="code-header">pub fn <a href="#method.parking_lane_availability" class="fn">parking_lane_availability</a>(

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!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 `count_parked_cars_per_bldg` fn in crate `sim`."><title>count_parked_cars_per_bldg in sim - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">sim</a>::<wbr><a class="fn" href="#">count_parked_cars_per_bldg</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/sim/sim/scenario.rs.html#354-365">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn count_parked_cars_per_bldg(scenario: &amp;<a class="struct" href="../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>) -&gt; <a class="struct" href="../abstutil/collections/struct.Counter.html" title="struct abstutil::collections::Counter">Counter</a>&lt;BuildingID&gt;</code></pre></section></div></main></body></html>
<!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 `count_parked_cars_per_bldg` fn in crate `sim`."><title>count_parked_cars_per_bldg in sim - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">sim</a>::<wbr><a class="fn" href="#">count_parked_cars_per_bldg</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/sim/sim/scenario.rs.html#354-365">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn count_parked_cars_per_bldg(scenario: &amp;Scenario) -&gt; <a class="struct" href="../abstutil/collections/struct.Counter.html" title="struct abstutil::collections::Counter">Counter</a>&lt;BuildingID&gt;</code></pre></section></div></main></body></html>

View File

@ -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="Need to explain this trick basically keeps consistency between two different simulations when each one might make slightly different sequences of calls to the RNG."><title>fork_rng in sim - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">sim</a>::<wbr><a class="fn" href="#">fork_rng</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/synthpop/make/mod.rs.html#13">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn fork_rng(base_rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>) -&gt; <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Need to explain this trick basically keeps consistency between two different simulations when
<!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="Need to explain this trick basically keeps consistency between two different simulations when each one might make slightly different sequences of calls to the RNG."><title>fork_rng in sim - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../sim/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">sim</a>::<wbr><a class="fn" href="#">fork_rng</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn fork_rng(base_rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>) -&gt; <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Need to explain this trick basically keeps consistency between two different simulations when
each one might make slightly different sequences of calls to the RNG.</p>
</div></details></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `parse_modifiers` fn in crate `sim`."><title>parse_modifiers in sim::make::load - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim::make::load</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">sim</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">load</a>::<wbr><a class="fn" href="#">parse_modifiers</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/sim/make/load.rs.html#42-44">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn parse_modifiers(x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;&gt;</code></pre></section></div></main></body></html>
<!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 `parse_modifiers` fn in crate `sim`."><title>parse_modifiers in sim::make::load - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim::make::load</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">sim</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">load</a>::<wbr><a class="fn" href="#">parse_modifiers</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/sim/make/load.rs.html#42-44">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn parse_modifiers(x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;&gt;</code></pre></section></div></main></body></html>

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

View File

@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `driving_goal` fn in crate `sim`."><title>driving_goal in sim::make::spawner - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="sim" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../../../sim/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In sim::make::spawner</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">sim</a>::<wbr><a href="../index.html">make</a>::<wbr><a href="index.html">spawner</a>::<wbr><a class="fn" href="#">driving_goal</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/sim/make/spawner.rs.html#314-337">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn driving_goal(
endpt: <a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>,
endpt: TripEndpoint,
constraints: PathConstraints,
map: &amp;Map
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="enum" href="../../enum.DrivingGoal.html" title="enum sim::DrivingGoal">DrivingGoal</a>&gt;</code></pre></section></div></main></body></html>

Some files were not shown because too many files have changed in this diff Show More