<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="The top-level data that lasts through the entire game, no matter what state the game is in."><metaname="keywords"content="rust, rustlang, rust-lang, App"><title>App in game::app - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../ayu.css"disabled><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><scriptsrc="../../crates.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu"role="button">☰</div><ahref='../../game/index.html'><divclass='logo-container rust-logo'><imgsrc='../../rust-logo.png'alt='logo'></div></a><h2class="location">Struct App</h2><divclass="sidebar-elems"><divclass="block items"><h3class="sidebar-title"><ahref="#fields">Fields</a></h3><divclass="sidebar-links"><ahref="#structfield.cs">cs</a><ahref="#structfield.opts">opts</a><ahref="#structfield.per_obj">per_obj</a><ahref="#structfield.primary">primary</a><ahref="#structfield.secondary">secondary</a><ahref="#structfield.session">session</a><ahref="#structfield.store_unedited_map_in_secondary">store_unedited_map_in_secondary</a></div><h3class="sidebar-title"><ahref="#implementations">Methods</a></h3><divclass="sidebar-links"><ahref="#method.calculate_current_selection">calculate_current_selection</a><ahref="#method.clear_everything">clear_everything</a><ahref="#method.click_on_intersection">click_on_intersection</a><ahref="#method.draw">draw</a><ahref="#method.get_renderables_back_to_front">get_renderables_back_to_front</a><ahref="#method.has_prebaked">has_prebaked</a><ahref="#method.mouseover_debug_mode">mouseover_debug_mode</a><ahref="#method.mouseover_unzoomed_buildings">mouseover_unzoomed_buildings</a><ahref="#method.mouseover_unzoomed_everything">mouseover_unzoomed_everything</a><ahref="#method.mouseover_unzoomed_intersections">mouseover_unzoomed_intersections</a><ahref="#method.mouseover_unzoomed_roads_and_intersections">mouseover_unzoomed_roads_and_intersections</a><ahref="#method.prebaked">prebaked</a><ahref="#method.recalculate_current_selection">recalculate_current_selection</a><ahref="#method.set_prebaked">set_prebaked</a><ahref="#method.swap_map">swap_map</a></div><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-AppLike">AppLike</a><ahref="#impl-MinimapControls%3CApp%3E">MinimapControls<App></a><ahref="#impl-SharedAppState">SharedAppState</a><ahref="#impl-SimpleState%3CApp%3E">SimpleState<App></a><ahref="#impl-State%3CApp%3E">State<App></a></div><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-RefUnwindSafe">!RefUnwindSafe</a><ahref="#impl-Send">!Send</a><ahref="#impl-Sync">!Sync</a><ahref="#impl-Unpin">Unpin</a><ahref="#impl-UnwindSafe">!UnwindSafe</a></div><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E"
}</code></pre></div><detailsclass="rustdoc-toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>The top-level data that lasts through the entire game, no matter what state the game is in.</p>
</div></details><h2id="fields"class="fields small-section-header">Fields<ahref="#fields"class="anchor"></a></h2><spanid="structfield.primary"class="structfield small-section-header"><ahref="#structfield.primary"class="anchor field"></a><code>primary: <aclass="struct"href="struct.PerMap.html"title="struct game::app::PerMap">PerMap</a></code></span><divclass="docblock"><p>State (like the simulation and drawing stuff) associated with the “primary” map.</p>
</div><spanid="structfield.secondary"class="structfield small-section-header"><ahref="#structfield.secondary"class="anchor field"></a><code>secondary: <aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="struct.PerMap.html"title="struct game::app::PerMap">PerMap</a>></code></span><divclass="docblock"><p>Represents state for a different version of the <code>primary</code> map. <code>swap_map</code> can be used to
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.swap_map"class="method has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/app.rs.html#461-465"title="goto source code">[src]</a></div><ahref="#method.swap_map"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.swap_map"class="fnname">swap_map</a>(&mut self)</h4></div></summary><divclass="docblock"><p>This swaps the primary and secondary PerMaps. Depending on what state the rest of the app
</div></details><divid="method.sim_time"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/map_gui/lib.rs.html#58"title="goto source code">[src]</a></div><ahref="#method.sim_time"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/trait.AppLike.html#method.sim_time"class="fnname">sim_time</a>(&self) -><aclass="struct"href="../../geom/time/struct.Time.html"title="struct geom::time::Time">Time</a></h4></div><divid="method.current_stage_and_remaining_time"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/map_gui/lib.rs.html#61"title="goto source code">[src]</a></div><ahref="#method.current_stage_and_remaining_time"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/trait.AppLike.html#method.current_stage_and_remaining_time"class="fnname">current_stage_and_remaining_time</a>(<br> &self, <br> id: <aclass="struct"href="../../map_model/objects/intersection/struct.IntersectionID.html"title="struct map_model::objects::intersection::IntersectionID">IntersectionID</a><br>) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.usize.html">usize</a>, <aclass="struct"href="../../geom/duration/struct.Duration.html"title="struct geom::duration::Duration">Duration</a><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.tuple.html">)</a></h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.change_color_scheme"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/map_gui/lib.rs.html#66"title="goto source code">[src]</a></div><ahref="#method.change_color_scheme"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/trait.AppLike.html#method.change_color_scheme"class="fnname">change_color_scheme</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> cs: <aclass="enum"href="../../map_gui/colors/enum.ColorSchemeChoice.html"title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a><br>) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.bool.html">bool</a></h4></div></summary><divclass='docblock'><p>Change the color scheme. Idempotent. Return true if there was a change.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-MinimapControls%3CApp%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#15-109"title="goto source code">[src]</a></div><ahref="#impl-MinimapControls%3CApp%3E"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="../../map_gui/tools/minimap/trait.MinimapControls.html"title="trait map_gui::tools::minimap::MinimapControls">MinimapControls</a><<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/minimap/struct.MinimapController.html"title="struct game::sandbox::minimap::MinimapController">MinimapController</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.has_zorder"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#16-18"title="goto source code">[src]</a></div><ahref="#method.has_zorder"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#tymethod.has_zorder"class="fnname">has_zorder</a>(&self, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.bool.html">bool</a></h4></div></summary><divclass='docblock'><p>Should the user be able to control the z-order visible? The control is only present when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.has_layer"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#19-21"title="goto source code">[src]</a></div><ahref="#method.has_layer"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.has_layer"class="fnname">has_layer</a>(&self, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.bool.html">bool</a></h4></div></summary><divclass='docblock'><p>Is there some additional layer displayed on the minimap? If this changes, the panel gets
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_extra"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#23-30"title="goto source code">[src]</a></div><ahref="#method.draw_extra"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.draw_extra"class="fnname">draw_extra</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div></summary><divclass='docblock'><p>Draw extra stuff on the minimap, just pulling from the app.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.make_unzoomed_panel"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#32-51"title="goto source code">[src]</a></div><ahref="#method.make_unzoomed_panel"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_unzoomed_panel"class="fnname">make_unzoomed_panel</a>(&self, ctx: &mut EventCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Panel</h4></div></summary><divclass='docblock'><p>When unzoomed, display this panel. By default, no controls when unzoomed.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.make_legend"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#52-64"title="goto source code">[src]</a></div><ahref="#method.make_legend"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_legend"class="fnname">make_legend</a>(&self, ctx: &mut EventCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Widget</h4></div></summary><divclass='docblock'><p>A row beneath the minimap in the zoomed view, usually used as a legend for things on the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.make_zoomed_side_panel"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#66-68"title="goto source code">[src]</a></div><ahref="#method.make_zoomed_side_panel"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_zoomed_side_panel"class="fnname">make_zoomed_side_panel</a>(&self, ctx: &mut EventCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Widget</h4></div></summary><divclass='docblock'><p>Controls to be placed to the left to the zoomed-in panel</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_clicked"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/minimap.rs.html#70-99"title="goto source code">[src]</a></div><ahref="#method.panel_clicked"class="anchor"></a><h4class="code-header">fn <ahref="../../map_gui/tools/minimap/trait.MinimapControls.html#method.panel_clicked"class="fnname">panel_clicked</a>(<br> &self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> action: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>>></h4></div></summary><divclass='docblock'><p>If a button is clicked that was produced by some method in this trait, respond to it here.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_default"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/app.rs.html#829-831"title="goto source code">[src]</a></div><ahref="#method.draw_default"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_default"class="fnname">draw_default</a>(&self, g: &mut GfxCtx<'_>)</h4></div></summary><divclass='docblock'><p>When DrawBaselayer::DefaultDraw is called, run this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.dump_before_abort"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/app.rs.html#833-874"title="goto source code">[src]</a></div><ahref="#method.dump_before_abort"class="anchor"></a><h4class="code-header">fn <ahref="#method.dump_before_abort"class="fnname">dump_before_abort</a>(&self, canvas: &Canvas)</h4></div></summary><divclass='docblock'><p>Will be called if <code>State::event</code> or <code>State::draw</code> panics.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.before_quit"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/app.rs.html#876-878"title="goto source code">[src]</a></div><ahref="#method.before_quit"class="anchor"></a><h4class="code-header">fn <ahref="#method.before_quit"class="fnname">before_quit</a>(&self, canvas: &Canvas)</h4></div></summary><divclass='docblock'><p>Called before a normal exit, like window close</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.free_memory"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/app.rs.html#880-882"title="goto source code">[src]</a></div><ahref="#method.free_memory"class="anchor"></a><h4class="code-header">fn <ahref="#method.free_memory"class="fnname">free_memory</a>(&mut self)</h4></div></summary><divclass='docblock'><p>If widgetry determines the video card is low on memory, this may be called. The application
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/common/share.rs.html#92-153"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../common/share/struct.ShareProposal.html"title="struct game::common::share::ShareProposal">ShareProposal</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/common/share.rs.html#93-148"title="goto source code">[src]</a></div><ahref="#method.on_click"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-67"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/common/share.rs.html#150-152"title="goto source code">[src]</a></div><ahref="#method.draw-67"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-1"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-1"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw_baselayer-66"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-66"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-1"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/blockfinder.rs.html#223-267"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-1"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../debug/blockfinder/struct.OneBlock.html"title="struct game::debug::blockfinder::OneBlock">OneBlock</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-1"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/blockfinder.rs.html#224-257"title="goto source code">[src]</a></div><ahref="#method.on_click-1"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-68"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/blockfinder.rs.html#264-266"title="goto source code">[src]</a></div><ahref="#method.draw-68"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-1"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-1"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-2"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-2"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-1"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-1"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><divid="method.draw_baselayer-67"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-67"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-10"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/actdev.rs.html#268-281"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-10"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/gameplay/actdev/struct.About.html"title="struct game::sandbox::gameplay::actdev::About">About</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-10"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/actdev.rs.html#269-276"title="goto source code">[src]</a></div><ahref="#method.on_click-10"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-77"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/actdev.rs.html#278-280"title="goto source code">[src]</a></div><ahref="#method.draw-77"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw_baselayer-76"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-76"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-11"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#283-336"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-11"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/gameplay/freeform/struct.ChangeScenario.html"title="struct game::sandbox::gameplay::freeform::ChangeScenario">ChangeScenario</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-11"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#284-331"title="goto source code">[src]</a></div><ahref="#method.on_click-11"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-78"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/freeform/mod.rs.html#333-335"title="goto source code">[src]</a></div><ahref="#method.draw-78"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw_baselayer-77"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-77"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-12"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/play_scenario.rs.html#624-637"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-12"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/gameplay/play_scenario/struct.DepartureSummary.html"title="struct game::sandbox::gameplay::play_scenario::DepartureSummary">DepartureSummary</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-12"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/gameplay/play_scenario.rs.html#625-636"title="goto source code">[src]</a></div><ahref="#method.on_click-12"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-14"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/trip/files.rs.html#302-333"title="goto source code">[src]</a></div><ahref="#method.panel_changed-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> panel: &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw-80"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/trip/files.rs.html#335-337"title="goto source code">[src]</a></div><ahref="#method.draw-80"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw_baselayer-79"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-79"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-14"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/mod.rs.html#218-231"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-14"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../ungap/struct.About.html"title="struct game::ungap::About">About</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-14"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/mod.rs.html#219-226"title="goto source code">[src]</a></div><ahref="#method.on_click-14"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-81"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/mod.rs.html#228-230"title="goto source code">[src]</a></div><ahref="#method.draw-81"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-14"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-15"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-15"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-14"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-14"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw_baselayer-80"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-80"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-2"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#53-114"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-2"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../debug/uber_turns/struct.UberTurnPicker.html"title="struct game::debug::uber_turns::UberTurnPicker">UberTurnPicker</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-2"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#54-82"title="goto source code">[src]</a></div><ahref="#method.on_click-2"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-69"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#101-113"title="goto source code">[src]</a></div><ahref="#method.draw-69"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-2"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-2"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-3"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-3"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw_baselayer-68"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-68"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-3"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#195-248"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-3"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../debug/uber_turns/struct.UberTurnViewer.html"title="struct game::debug::uber_turns::UberTurnViewer">UberTurnViewer</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-3"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#196-215"title="goto source code">[src]</a></div><ahref="#method.on_click-3"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-4"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/uber_turns.rs.html#216-229"title="goto source code">[src]</a></div><ahref="#method.panel_changed-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> panel: &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-3"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-3"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-4"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#353-393"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-4"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../devtools/story/struct.EditingMarker.html"title="struct game::devtools::story::EditingMarker">EditingMarker</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-4"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#354-388"title="goto source code">[src]</a></div><ahref="#method.on_click-4"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> panel: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw_baselayer-70"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#390-392"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-70"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-4"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-5"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-5"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-4"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.other_event-4"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.other_event-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.other_event"class="fnname">other_event</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A) -> Transition<A></h4></div></summary><divclass='docblock'><p>If a panel <code>on_click</code> event didn’t occur and <code>panel_changed</code> didn’t return transition, then
</div></details><divid="method.draw-71"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw-71"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, &mut GfxCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&</a>A)</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-5"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/stop_signs.rs.html#92-237"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-5"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/stop_signs/struct.StopSignEditor.html"title="struct game::edit::stop_signs::StopSignEditor">StopSignEditor</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-5"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/stop_signs.rs.html#93-153"title="goto source code">[src]</a></div><ahref="#method.on_click-5"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-72"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/stop_signs.rs.html#199-236"title="goto source code">[src]</a></div><ahref="#method.draw-72"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-5"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-5"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-6"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-6"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw_baselayer-71"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-71"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-6"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/edits.rs.html#106-170"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-6"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/traffic_signals/edits/struct.ChangeDuration.html"title="struct game::edit::traffic_signals::edits::ChangeDuration">ChangeDuration</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-6"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/edits.rs.html#107-132"title="goto source code">[src]</a></div><ahref="#method.on_click-6"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> panel: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-7"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/edits.rs.html#134-158"title="goto source code">[src]</a></div><ahref="#method.panel_changed-7"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> panel: &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw_baselayer-72"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/edits.rs.html#167-169"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-72"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-6"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-6"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-6"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-6"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><divid="method.draw-73"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw-73"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, &mut GfxCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&</a>A)</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-7"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#66-98"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-7"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/traffic_signals/offsets/struct.ShowAbsolute.html"title="struct game::edit::traffic_signals::offsets::ShowAbsolute">ShowAbsolute</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-7"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#67-76"title="goto source code">[src]</a></div><ahref="#method.on_click-7"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> _: &mut EventCtx<'_>, <br> _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-74"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#93-97"title="goto source code">[src]</a></div><ahref="#method.draw-74"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-7"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-7"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-8"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-8"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw_baselayer-73"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-73"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-8"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#156-191"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-8"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/traffic_signals/offsets/struct.ShowRelative.html"title="struct game::edit::traffic_signals::offsets::ShowRelative">ShowRelative</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-8"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#157-162"title="goto source code">[src]</a></div><ahref="#method.on_click-8"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> _: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-75"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#186-190"title="goto source code">[src]</a></div><ahref="#method.draw-75"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, app: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-8"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-8"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-9"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-9"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><divid="method.draw_baselayer-74"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-74"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-SimpleState%3CApp%3E-9"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#282-320"title="goto source code">[src]</a></div><ahref="#impl-SimpleState%3CApp%3E-9"class="anchor"></a><h3class="code-header in-band">impl SimpleState<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/traffic_signals/offsets/struct.TuneRelative.html"title="struct game::edit::traffic_signals::offsets::TuneRelative">TuneRelative</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click-9"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#283-310"title="goto source code">[src]</a></div><ahref="#method.on_click-9"class="anchor"></a><h4class="code-header">fn <aclass="fnname">on_click</a>(<br> &mut self, <br> ctx: &mut EventCtx<'_>, <br> app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>, <br> x: &<aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.str.html">str</a>, <br> panel: &Panel<br>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked. Since the action is just a string,
</div></details><divid="method.draw-76"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/offsets.rs.html#317-319"title="goto source code">[src]</a></div><ahref="#method.draw-76"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw"class="fnname">draw</a>(&self, g: &mut GfxCtx<'_>, _: &<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_click_custom-9"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_click_custom-9"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_click_custom"class="fnname">on_click_custom</a>(<br> &mut self, <br> _ctx: &mut EventCtx<'_>, <br> _app: <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> _action: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="../../abstutil/clone/trait.CloneableAny.html"title="trait abstutil::clone::CloneableAny">CloneableAny</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>, <br> _panel: &Panel<br>) -> Transition<A></h4></div></summary><divclass='docblock'><p>Called when something on the panel has been clicked.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.panel_changed-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.panel_changed-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.panel_changed"class="fnname">panel_changed</a>(<br> &mut self, <br> &mut EventCtx<'_>, <br> <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A, <br> &mut Panel<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Transition<A>></h4></div></summary><divclass='docblock'><p>Called when something on the panel has changed. If a transition is returned, stop handling
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_mouseover-9"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_mouseover-9"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_mouseover"class="fnname">on_mouseover</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Called when the mouse has moved.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/challenges/cutscene.rs.html#129-131"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-1"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-1"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-1"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-1"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-10"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-10"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-11"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-11"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-12"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-12"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-13"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-13"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-14"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/mod.rs.html#213-504"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-14"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../debug/struct.DebugMode.html"title="struct game::debug::DebugMode">DebugMode</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-14"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/mod.rs.html#214-475"title="goto source code">[src]</a></div><ahref="#method.event-14"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-14"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/mod.rs.html#477-479"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-14"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-14"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-15"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-15"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-15"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-15"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-16"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-16"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-16"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-16"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-17"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-17"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-17"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-17"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-18"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-18"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-18"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-18"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-19"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-19"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-19"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-19"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-2"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/challenges/mod.rs.html#263-317"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-2"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../challenges/struct.ChallengesPicker.html"title="struct game::challenges::ChallengesPicker">ChallengesPicker</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-2"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/challenges/mod.rs.html#264-307"title="goto source code">[src]</a></div><ahref="#method.event-2"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-2"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/challenges/mod.rs.html#309-311"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-2"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-2"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-2"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-20"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-20"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-20"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-20"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-21"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#132-268"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-21"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../devtools/story/struct.StoryMapEditor.html"title="struct game::devtools::story::StoryMapEditor">StoryMapEditor</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-21"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#133-254"title="goto source code">[src]</a></div><ahref="#method.event-21"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-21"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#256-258"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-21"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-21"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-21"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-22"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#400-431"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-22"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../devtools/story/struct.DrawFreehand.html"title="struct game::devtools::story::DrawFreehand">DrawFreehand</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-22"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#401-422"title="goto source code">[src]</a></div><ahref="#method.event-22"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-22"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/story.rs.html#424-426"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-22"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-22"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-22"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-23"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/mod.rs.html#84-183"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-23"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../devtools/struct.DevToolsMode.html"title="struct game::devtools::DevToolsMode">DevToolsMode</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-23"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/mod.rs.html#85-173"title="goto source code">[src]</a></div><ahref="#method.event-23"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-23"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/devtools/mod.rs.html#175-177"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-23"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-23"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-23"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-24"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-24"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-25"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-25"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-25"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-25"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-26"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-26"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-26"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-26"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-27"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-27"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-27"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-27"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-28"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-28"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-28"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-28"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-29"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/mod.rs.html#192-535"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-29"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../edit/traffic_signals/struct.TrafficSignalEditor.html"title="struct game::edit::traffic_signals::TrafficSignalEditor">TrafficSignalEditor</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-29"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/mod.rs.html#193-485"title="goto source code">[src]</a></div><ahref="#method.event-29"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-29"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/edit/traffic_signals/mod.rs.html#487-489"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-29"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-29"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-29"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-3"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-3"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-3"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-3"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-30"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-30"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-30"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-30"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-31"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-31"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-31"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-31"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-32"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-32"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-32"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-32"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-33"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-33"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-33"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-33"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-34"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-34"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-34"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-34"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-35"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/layer/mod.rs.html#160-278"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-35"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../layer/struct.PickLayer.html"title="struct game::layer::PickLayer">PickLayer</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-35"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/layer/mod.rs.html#161-268"title="goto source code">[src]</a></div><ahref="#method.event-35"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-35"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/layer/mod.rs.html#270-272"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-35"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-35"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-35"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-36"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-36"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-36"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-36"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-37"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-37"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-37"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-37"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-38"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/proposals.rs.html#129-172"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-38"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../pregame/proposals/struct.Proposals.html"title="struct game::pregame::proposals::Proposals">Proposals</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-38"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/proposals.rs.html#130-162"title="goto source code">[src]</a></div><ahref="#method.event-38"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-38"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/proposals.rs.html#164-166"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-38"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-38"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-38"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-39"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-39"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-39"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-39"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-4"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-4"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-4"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-40"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#190-240"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-40"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../pregame/struct.MainMenu.html"title="struct game::pregame::MainMenu">MainMenu</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-40"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#191-230"title="goto source code">[src]</a></div><ahref="#method.event-40"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-40"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#232-234"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-40"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-40"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-40"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-41"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#298-323"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-41"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../pregame/struct.About.html"title="struct game::pregame::About">About</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-41"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#299-313"title="goto source code">[src]</a></div><ahref="#method.event-41"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-41"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/pregame/mod.rs.html#315-317"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-41"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-41"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-41"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-42"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-42"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-42"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-42"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-43"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-43"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-43"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-43"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-44"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-44"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-44"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-44"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-45"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-45"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-45"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-45"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-46"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-46"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-46"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-46"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-47"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-47"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-47"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-47"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-48"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-48"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-48"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-48"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-49"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#111-163"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-49"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/dashboards/traffic_signals/struct.TrafficSignalDemand.html"title="struct game::sandbox::dashboards::traffic_signals::TrafficSignalDemand">TrafficSignalDemand</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-49"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#112-148"title="goto source code">[src]</a></div><ahref="#method.event-49"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-49"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/dashboards/traffic_signals.rs.html#150-152"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-49"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-49"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-49"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-5"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-5"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-5"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-5"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-50"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-50"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-50"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-50"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-51"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-51"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-51"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-51"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-52"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-52"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-52"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-52"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-53"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-53"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-53"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-53"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-54"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-54"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-54"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-54"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-55"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-55"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-55"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-55"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-56"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-56"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-56"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-56"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-57"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-57"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-57"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-57"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-58"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/time_warp.rs.html#268-400"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-58"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../sandbox/time_warp/struct.TimeWarpScreen.html"title="struct game::sandbox::time_warp::TimeWarpScreen">TimeWarpScreen</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-58"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/time_warp.rs.html#269-376"title="goto source code">[src]</a></div><ahref="#method.event-58"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-58"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/sandbox/time_warp.rs.html#378-380"title="goto source code">[src]</a></div><ahref="#method.draw_baselayer-58"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-59"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-59"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-6"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-6"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-6"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-6"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-60"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-60"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-60"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-60"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-61"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-61"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-61"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-61"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-62"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-62"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-62"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-62"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-63"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-63"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-63"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-63"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-64"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-64"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-64"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-64"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-65"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/ungap/trip/mod.rs.html#255-260"title="goto source code">[src]</a></div><ahref="#method.on_destroy-65"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, _: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-65"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-65"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-State%3CApp%3E-7"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/floodfill.rs.html#80-112"title="goto source code">[src]</a></div><ahref="#impl-State%3CApp%3E-7"class="anchor"></a><h3class="code-header in-band">impl State<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../debug/floodfill/struct.Floodfiller.html"title="struct game::debug::floodfill::Floodfiller">Floodfiller</a></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.event-7"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="../../src/game/debug/floodfill.rs.html#81-106"title="goto source code">[src]</a></div><ahref="#method.event-7"class="anchor"></a><h4class="code-header">fn <aclass="fnname">event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="struct.App.html"title="struct game::app::App">App</a>></h4></div></summary><divclass='docblock'><p>Respond to a UI event, such as input or time passing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-7"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-7"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-7"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-7"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-8"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-8"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-8"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-8"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.draw_baselayer-9"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.draw_baselayer-9"class="anchor"></a><h4class="code-header">fn <ahref="#method.draw_baselayer"class="fnname">draw_baselayer</a>(&self) -> DrawBaselayer</h4></div></summary><divclass='docblock'><p>Specifies what to draw before draw()</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.on_destroy-9"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.on_destroy-9"class="anchor"></a><h4class="code-header">fn <ahref="#method.on_destroy"class="fnname">on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>A)</h4></div></summary><divclass='docblock'><p>Before this state is popped or replaced, call this.</p>
</div></details></div></details></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><divid="impl-RefUnwindSafe"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-RefUnwindSafe"class="anchor"></a><h3class="code-header in-band">impl !<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a></h3></div><divid="impl-Send"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Send"class="anchor"></a><h3class="code-header in-band">impl !<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a></h3></div><divid="impl-Sync"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Sync"class="anchor"></a><h3class="code-header in-band">impl !<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a></h3></div><divid="impl-Unpin"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Unpin"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a></h3></div><divid="impl-UnwindSafe"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-UnwindSafe"class="anchor"></a><h3class="code-header in-band">impl !<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="struct.App.html"title="struct game::app::App">App</a></h3></div></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor"></a></h2><divid="blanket-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Any"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/any.rs.html#132-136"title="goto source code">[src]</a></div><ahref="#impl-Any"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.type_id"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/any.rs.html#133"title="goto source code">[src]</a></div><ahref="#method.type_id"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.56.1/core/any/trait.Any.html#tymethod.type_id"class="fnname">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.56.1/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></div></summary><divclass='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.56.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Borrow%3CT%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/borrow.rs.html#208-213"title="goto source code">[src]</a></div><ahref="#impl-Borrow%3CT%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.borrow"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/borrow.rs.html#210"title="goto source code">[src]</a></div><ahref="#method.borrow"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.56.1/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&</a>T</h4></div></summary><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.56.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-BorrowMut%3CT%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/borrow.rs.html#216-220"title="goto source code">[src]</a></div><ahref="#impl-BorrowMut%3CT%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.borrow_mut"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/borrow.rs.html#217"title="goto source code">[src]</a></div><ahref="#method.borrow_mut"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.56.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fnname">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.56.1/std/primitive.reference.html">&mut </a>T</h4></div></summary><divclass='docblock'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.56.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Downcast"class="impl has-srclink"><divclass="rightside"></div><ahref="#impl-Downcast"class="anchor"></a><h3class="code-header in-band">impl<T> Downcast for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/any/trait.Any.html"title="trait core::any::Any">Any</a>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.into_any"class="method trait-impl has-srclink"><divclass="rightside"></div><ahref="#method.into_any"class="anchor"></a><h4class="code-header">pub fn <aclass="fnname">into_any</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><T, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>>) -><aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static, <aclass="struct"href="https://doc.rust-lang.org/1.56.1/alloc/alloc/struct.Global.html"title="struct alloc::alloc::Global">Global</a>></h4></div></summary><divclass='docblock'><p>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any">Read more</a></p>
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any_rc">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-Instrument"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#155"title="goto source code">[src]</a></div><ahref="#impl-Instrument"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.instrument"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#38"title="goto source code">[src]</a></div><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></div></summary><divclass='docblock'><p>Instruments this type with the provided <code>Span</code>, returning an
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.in_current_span"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.26/src/tracing/instrument.rs.html#74"title="goto source code">[src]</a></div><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.26/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.26/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></div></summary><divclass='docblock'><p>Instruments this type with the <ahref="../struct.Span.html#method.current">current</a><code>Span</code>, returning an
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-TryFrom%3CU%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/convert/mod.rs.html#583-592"title="goto source code">[src]</a></div><ahref="#impl-TryFrom%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><divid="associatedtype.Error"class="type trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html#associatedtype.Error"class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></div></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.try_from"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/convert/mod.rs.html#589"title="goto source code">[src]</a></div><ahref="#method.try_from"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></div></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><divid="impl-TryInto%3CU%3E"class="impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/convert/mod.rs.html#569-578"title="goto source code">[src]</a></div><ahref="#impl-TryInto%3CU%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></div></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><divid="associatedtype.Error-1"class="type trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryInto.html#associatedtype.Error"class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></div></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><divid="method.try_into"class="method trait-impl has-srclink"><divclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.56.1/src/core/convert/mod.rs.html#575"title="goto source code">[src]</a></div><ahref="#method.try_into"class="anchor"></a><h4class="code-header">pub fn <ahref="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.56.1/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/1.56.1/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></div></summary><divclass='docblock'><p>Performs the conversion.</p>