<linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><styletype="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../../game/index.html'><divclass='logo-container rust-logo'><imgsrc='../../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct App</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#fields">Fields</a><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.session">session</a><ahref="#structfield.unzoomed_agents">unzoomed_agents</a></div><aclass="sidebar-title"href="#implementations">Methods</a><divclass="sidebar-links"><ahref="#method.calculate_current_selection">calculate_current_selection</a><ahref="#method.change_color_scheme">change_color_scheme</a><ahref="#method.clear_everything">clear_everything</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.map_switched">map_switched</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_roads_and_intersections">mouseover_unzoomed_roads_and_intersections</a><ahref="#method.new">new</a><ahref="#method.prebaked">prebaked</a><ahref="#method.recalculate_current_selection">recalculate_current_selection</a><ahref="#method.set_prebaked">set_prebaked</a></div><aclass="sidebar-title"href="#trait-implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-SharedAppState">SharedAppState</a><ahref="#impl-State%3CApp%3E">State<App></a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><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><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-Downcast">Downcast</a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Instrument">Instrument</a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-Same%3CT%3E">Same<T></a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a><ahref="#impl-VZip%3CV%3E">VZip<V></a></div></div><pclass='location'><ahref='../index.html'>game</a>::<wbr><ahref='index.html'>app</a></p><script>window.sidebarCurrent={name:'App',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"disabledautocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><spanclass="help-button">?</span>
</div><h4id='method.clear_everything'class="method"><code>pub fn <ahref='#method.clear_everything'class='fnname'>clear_everything</a>(&mut self, ctx: &mut EventCtx<'_>)</code><aclass='srclink'href='../../src/game/app.rs.html#452-462'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Ensure the map edits are blank, reset the simulation, and blank out prebaked results.</p>
</div></div><h2id='trait-implementations'class='small-section-header'>Trait Implementations<ahref='#trait-implementations'class='anchor'></a></h2><divid='trait-implementations-list'><h3id='impl-SharedAppState'class='impl'><codeclass='in-band'>impl SharedAppState for <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a></code><ahref='#impl-SharedAppState'class='anchor'></a><aclass='srclink'href='../../src/game/app.rs.html#714-769'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.before_event'class="method hidden"><code>fn <ahref='#method.before_event'class='fnname'>before_event</a>(&mut self)</code><aclass='srclink'href='../../src/game/app.rs.html#715-717'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Before <code>State::event</code> is called, call this.</p>
</div><h4id='method.draw_default'class="method hidden"><code>fn <ahref='#method.draw_default'class='fnname'>draw_default</a>(&self, g: &mut GfxCtx<'_>)</code><aclass='srclink'href='../../src/game/app.rs.html#719-721'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>When DrawBaselayer::DefaultDraw is called, run this.</p>
</div><h4id='method.dump_before_abort'class="method hidden"><code>fn <ahref='#method.dump_before_abort'class='fnname'>dump_before_abort</a>(&self, canvas: &Canvas)</code><aclass='srclink'href='../../src/game/app.rs.html#723-764'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Will be called if <code>State::event</code> or <code>State::draw</code> panics.</p>
</div><h4id='method.before_quit'class="method hidden"><code>fn <ahref='#method.before_quit'class='fnname'>before_quit</a>(&self, canvas: &Canvas)</code><aclass='srclink'href='../../src/game/app.rs.html#766-768'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Called before a normal exit, like window close</p>
</div></div><h3id='impl-State%3CApp%3E'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/challenges/struct.ChallengesPicker.html"title="struct game::challenges::ChallengesPicker">ChallengesPicker</a></code><ahref='#impl-State%3CApp%3E'class='anchor'></a><aclass='srclink'href='../../src/game/challenges.rs.html#250-294'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/challenges.rs.html#251-284'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/challenges.rs.html#286-288'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-1'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/city_picker/struct.CityPicker.html"title="struct game::common::city_picker::CityPicker">CityPicker</a></code><ahref='#impl-State%3CApp%3E-1'class='anchor'></a><aclass='srclink'href='../../src/game/common/city_picker.rs.html#144-247'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-1'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/city_picker.rs.html#145-222'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-1'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/common/city_picker.rs.html#224-226'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-1'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-10'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/cutscene/struct.FYI.html"title="struct game::cutscene::FYI">FYI</a></code><ahref='#impl-State%3CApp%3E-10'class='anchor'></a><aclass='srclink'href='../../src/game/cutscene.rs.html#310-325'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-10'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/cutscene.rs.html#311-319'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-10'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-10'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-11'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/blocked_by/struct.Viewer.html"title="struct game::debug::blocked_by::Viewer">Viewer</a></code><ahref='#impl-State%3CApp%3E-11'class='anchor'></a><aclass='srclink'href='../../src/game/debug/blocked_by.rs.html#70-106'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-11'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/blocked_by.rs.html#71-88'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-11'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-11'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-12'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/floodfill/struct.Floodfiller.html"title="struct game::debug::floodfill::Floodfiller">Floodfiller</a></code><ahref='#impl-State%3CApp%3E-12'class='anchor'></a><aclass='srclink'href='../../src/game/debug/floodfill.rs.html#78-114'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-12'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/floodfill.rs.html#79-104'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-12'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-12'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-13'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/path_counter/struct.PathCounter.html"title="struct game::debug::path_counter::PathCounter">PathCounter</a></code><ahref='#impl-State%3CApp%3E-13'class='anchor'></a><aclass='srclink'href='../../src/game/debug/path_counter.rs.html#84-131'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-13'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/path_counter.rs.html#85-115'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-13'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-13'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-14'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/polygons/struct.PolygonDebugger.html"title="struct game::debug::polygons::PolygonDebugger">PolygonDebugger</a></code><ahref='#impl-State%3CApp%3E-14'class='anchor'></a><aclass='srclink'href='../../src/game/debug/polygons.rs.html#59-141'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-14'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/polygons.rs.html#60-89'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-14'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-14'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-15'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/struct.DebugMode.html"title="struct game::debug::DebugMode">DebugMode</a></code><ahref='#impl-State%3CApp%3E-15'class='anchor'></a><aclass='srclink'href='../../src/game/debug/mod.rs.html#115-372'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-15'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/mod.rs.html#116-343'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-15'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/debug/mod.rs.html#345-347'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-15'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-16'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/debug/struct.ScreenshotTest.html"title="struct game::debug::ScreenshotTest">ScreenshotTest</a></code><ahref='#impl-State%3CApp%3E-16'class='anchor'></a><aclass='srclink'href='../../src/game/debug/mod.rs.html#787-807'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-16'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/debug/mod.rs.html#788-805'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-16'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-16'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-17'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/collisions/struct.CollisionsViewer.html"title="struct game::devtools::collisions::CollisionsViewer">CollisionsViewer</a></code><ahref='#impl-State%3CApp%3E-17'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/collisions.rs.html#270-328'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-17'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/collisions.rs.html#271-303'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-17'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-17'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-18'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/destinations/struct.PopularDestinations.html"title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></code><ahref='#impl-State%3CApp%3E-18'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/destinations.rs.html#109-165'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-18'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/destinations.rs.html#110-143'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-18'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-18'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-19'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/fifteen_min/struct.Viewer.html"title="struct game::devtools::fifteen_min::Viewer">Viewer</a></code><ahref='#impl-State%3CApp%3E-19'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/fifteen_min/mod.rs.html#59-82'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-19'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/fifteen_min/mod.rs.html#60-75'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-19'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-19'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-2'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/city_picker/struct.AllCityPicker.html"title="struct game::common::city_picker::AllCityPicker">AllCityPicker</a></code><ahref='#impl-State%3CApp%3E-2'class='anchor'></a><aclass='srclink'href='../../src/game/common/city_picker.rs.html#293-333'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-2'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/city_picker.rs.html#294-323'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-2'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/common/city_picker.rs.html#325-327'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-2'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-20'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/kml/struct.ViewKML.html"title="struct game::devtools::kml::ViewKML">ViewKML</a></code><ahref='#impl-State%3CApp%3E-20'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/kml.rs.html#103-207'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-20'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/kml.rs.html#104-185'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-20'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-20'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-21'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/mapping/struct.ParkingMapper.html"title="struct game::devtools::mapping::ParkingMapper">ParkingMapper</a></code><ahref='#impl-State%3CApp%3E-21'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/mapping.rs.html#198-393'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-21'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/mapping.rs.html#199-384'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-21'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-21'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-22'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/mapping/struct.ChangeWay.html"title="struct game::devtools::mapping::ChangeWay">ChangeWay</a></code><ahref='#impl-State%3CApp%3E-22'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/mapping.rs.html#468-512'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-22'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/mapping.rs.html#469-506'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-22'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-22'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-23'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/osm_viewer/struct.Viewer.html"title="struct game::devtools::osm_viewer::Viewer">Viewer</a></code><ahref='#impl-State%3CApp%3E-23'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/osm_viewer.rs.html#222-370'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-23'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/osm_viewer.rs.html#223-347'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-23'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/devtools/osm_viewer.rs.html#349-351'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-23'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-24'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/polygon/struct.PolygonEditor.html"title="struct game::devtools::polygon::PolygonEditor">PolygonEditor</a></code><ahref='#impl-State%3CApp%3E-24'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/polygon.rs.html#47-144'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-24'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/polygon.rs.html#48-103'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-24'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-24'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-25'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/scenario/struct.ScenarioManager.html"title="struct game::devtools::scenario::ScenarioManager">ScenarioManager</a></code><ahref='#impl-State%3CApp%3E-25'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/scenario.rs.html#86-118'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-25'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/scenario.rs.html#87-107'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-25'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-25'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-26'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/story/struct.StoryMapEditor.html"title="struct game::devtools::story::StoryMapEditor">StoryMapEditor</a></code><ahref='#impl-State%3CApp%3E-26'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/story.rs.html#59-309'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-26'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/story.rs.html#60-266'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-26'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/devtools/story.rs.html#268-270'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-26'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-27'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/devtools/struct.DevToolsMode.html"title="struct game::devtools::DevToolsMode">DevToolsMode</a></code><ahref='#impl-State%3CApp%3E-27'class='anchor'></a><aclass='srclink'href='../../src/game/devtools/mod.rs.html#69-164'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-27'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/devtools/mod.rs.html#70-154'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-27'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/devtools/mod.rs.html#156-158'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-27'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-28'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/bulk/struct.BulkSelect.html"title="struct game::edit::bulk::BulkSelect">BulkSelect</a></code><ahref='#impl-State%3CApp%3E-28'class='anchor'></a><aclass='srclink'href='../../src/game/edit/bulk.rs.html#56-117'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-28'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/bulk.rs.html#57-111'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-28'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-28'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-29'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/bulk/struct.BulkEdit.html"title="struct game::edit::bulk::BulkEdit">BulkEdit</a></code><ahref='#impl-State%3CApp%3E-29'class='anchor'></a><aclass='srclink'href='../../src/game/edit/bulk.rs.html#167-213'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-29'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/bulk.rs.html#168-207'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-29'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-29'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-3'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/navigate/struct.Navigator.html"title="struct game::common::navigate::Navigator">Navigator</a></code><ahref='#impl-State%3CApp%3E-3'class='anchor'></a><aclass='srclink'href='../../src/game/common/navigate.rs.html#44-76'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-3'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/navigate.rs.html#45-70'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-3'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-3'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-30'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/cluster_traffic_signals/struct.ClusterTrafficSignalEditor.html"title="struct game::edit::cluster_traffic_signals::ClusterTrafficSignalEditor">ClusterTrafficSignalEditor</a></code><ahref='#impl-State%3CApp%3E-30'class='anchor'></a><aclass='srclink'href='../../src/game/edit/cluster_traffic_signals.rs.html#38-98'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-30'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/cluster_traffic_signals.rs.html#39-64'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-30'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/edit/cluster_traffic_signals.rs.html#66-68'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-30'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-31'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/lanes/struct.LaneEditor.html"title="struct game::edit::lanes::LaneEditor">LaneEditor</a></code><ahref='#impl-State%3CApp%3E-31'class='anchor'></a><aclass='srclink'href='../../src/game/edit/lanes.rs.html#113-231'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-31'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/lanes.rs.html#114-218'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-31'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-31'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-32'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/routes/struct.RouteEditor.html"title="struct game::edit::routes::RouteEditor">RouteEditor</a></code><ahref='#impl-State%3CApp%3E-32'class='anchor'></a><aclass='srclink'href='../../src/game/edit/routes.rs.html#43-82'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-32'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/routes.rs.html#44-77'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-32'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-32'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-33'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/stop_signs/struct.StopSignEditor.html"title="struct game::edit::stop_signs::StopSignEditor">StopSignEditor</a></code><ahref='#impl-State%3CApp%3E-33'class='anchor'></a><aclass='srclink'href='../../src/game/edit/stop_signs.rs.html#80-232'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-33'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/stop_signs.rs.html#81-191'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-33'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-33'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-34'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/edits/struct.ChangeDuration.html"title="struct game::edit::traffic_signals::edits::ChangeDuration">ChangeDuration</a></code><ahref='#impl-State%3CApp%3E-34'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/edits.rs.html#76-117'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-34'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/edits.rs.html#77-108'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-34'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/edit/traffic_signals/edits.rs.html#114-116'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-34'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-35'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/offsets/struct.ShowAbsolute.html"title="struct game::edit::traffic_signals::offsets::ShowAbsolute">ShowAbsolute</a></code><ahref='#impl-State%3CApp%3E-35'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#67-111'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-35'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#68-103'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-35'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-35'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-36'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/offsets/struct.ShowRelative.html"title="struct game::edit::traffic_signals::offsets::ShowRelative">ShowRelative</a></code><ahref='#impl-State%3CApp%3E-36'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#167-210'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-36'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#168-202'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-36'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-36'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-37'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/offsets/struct.TuneRelative.html"title="struct game::edit::traffic_signals::offsets::TuneRelative">TuneRelative</a></code><ahref='#impl-State%3CApp%3E-37'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#286-322'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-37'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/offsets.rs.html#287-316'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-37'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-37'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-38'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/picker/struct.SignalPicker.html"title="struct game::edit::traffic_signals::picker::SignalPicker">SignalPicker</a></code><ahref='#impl-State%3CApp%3E-38'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/picker.rs.html#46-109'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-38'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/picker.rs.html#47-93'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-38'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-38'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-39'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/preview/struct.PreviewTrafficSignal.html"title="struct game::edit::traffic_signals::preview::PreviewTrafficSignal">PreviewTrafficSignal</a></code><ahref='#impl-State%3CApp%3E-39'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/preview.rs.html#38-71'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-39'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/preview.rs.html#39-64'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-39'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-39'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-4'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/navigate/struct.CrossStreet.html"title="struct game::common::navigate::CrossStreet">CrossStreet</a></code><ahref='#impl-State%3CApp%3E-4'class='anchor'></a><aclass='srclink'href='../../src/game/common/navigate.rs.html#133-191'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-4'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/navigate.rs.html#134-184'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-4'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-4'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-40'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/traffic_signals/struct.TrafficSignalEditor.html"title="struct game::edit::traffic_signals::TrafficSignalEditor">TrafficSignalEditor</a></code><ahref='#impl-State%3CApp%3E-40'class='anchor'></a><aclass='srclink'href='../../src/game/edit/traffic_signals/mod.rs.html#180-493'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-40'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/traffic_signals/mod.rs.html#181-447'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-40'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/edit/traffic_signals/mod.rs.html#449-451'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-40'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-41'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/zones/struct.ZoneEditor.html"title="struct game::edit::zones::ZoneEditor">ZoneEditor</a></code><ahref='#impl-State%3CApp%3E-41'class='anchor'></a><aclass='srclink'href='../../src/game/edit/zones.rs.html#85-184'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-41'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/zones.rs.html#86-171'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-41'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-41'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-42'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/struct.EditMode.html"title="struct game::edit::EditMode">EditMode</a></code><ahref='#impl-State%3CApp%3E-42'class='anchor'></a><aclass='srclink'href='../../src/game/edit/mod.rs.html#142-374'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-42'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/mod.rs.html#143-361'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-42'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-42'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-43'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/struct.SaveEdits.html"title="struct game::edit::SaveEdits">SaveEdits</a></code><ahref='#impl-State%3CApp%3E-43'class='anchor'></a><aclass='srclink'href='../../src/game/edit/mod.rs.html#462-503'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-43'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/mod.rs.html#463-497'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-43'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-43'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-44'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/struct.LoadEdits.html"title="struct game::edit::LoadEdits">LoadEdits</a></code><ahref='#impl-State%3CApp%3E-44'class='anchor'></a><aclass='srclink'href='../../src/game/edit/mod.rs.html#550-621'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-44'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/mod.rs.html#551-615'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-44'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-44'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-45'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/edit/struct.ConfirmDiscard.html"title="struct game::edit::ConfirmDiscard">ConfirmDiscard</a></code><ahref='#impl-State%3CApp%3E-45'class='anchor'></a><aclass='srclink'href='../../src/game/edit/mod.rs.html#842-860'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-45'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/edit/mod.rs.html#843-855'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-45'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-45'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-46'class='impl'><codeclass='in-band'>impl<T: 'static> State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/game/struct.ChooseSomething.html"title="struct game::game::ChooseSomething">ChooseSomething</a><T></code><ahref='#impl-State%3CApp%3E-46'class='anchor'></a><aclass='srclink'href='../../src/game/game.rs.html#54-85'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-46'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/game.rs.html#55-75'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-46'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/game.rs.html#77-79'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-46'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-47'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/game/struct.PromptInput.html"title="struct game::game::PromptInput">PromptInput</a></code><ahref='#impl-State%3CApp%3E-47'class='anchor'></a><aclass='srclink'href='../../src/game/game.rs.html#110-138'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-47'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/game.rs.html#111-128'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-47'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/game.rs.html#130-132'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-47'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-48'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/game/struct.PopupMsg.html"title="struct game::game::PopupMsg">PopupMsg</a></code><ahref='#impl-State%3CApp%3E-48'class='anchor'></a><aclass='srclink'href='../../src/game/game.rs.html#185-214'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-48'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/game.rs.html#186-199'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-48'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/game.rs.html#201-203'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-48'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-49'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/layer/struct.PickLayer.html"title="struct game::layer::PickLayer">PickLayer</a></code><ahref='#impl-State%3CApp%3E-49'class='anchor'></a><aclass='srclink'href='../../src/game/layer/mod.rs.html#158-257'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-49'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/layer/mod.rs.html#159-247'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-49'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/layer/mod.rs.html#249-251'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-49'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-5'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/navigate/struct.SearchBuildings.html"title="struct game::common::navigate::SearchBuildings">SearchBuildings</a></code><ahref='#impl-State%3CApp%3E-5'class='anchor'></a><aclass='srclink'href='../../src/game/common/navigate.rs.html#246-285'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-5'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/navigate.rs.html#247-279'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-5'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-5'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-50'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/load/struct.MapAlreadyLoaded.html"title="struct game::load::MapAlreadyLoaded">MapAlreadyLoaded</a></code><ahref='#impl-State%3CApp%3E-50'class='anchor'></a><aclass='srclink'href='../../src/game/load.rs.html#67-72'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-50'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/load.rs.html#68-70'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-50'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-50'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div><h4id='method.draw_baselayer-51'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-51'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-52'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/options/struct.OptionsPanel.html"title="struct game::options::OptionsPanel">OptionsPanel</a></code><ahref='#impl-State%3CApp%3E-52'class='anchor'></a><aclass='srclink'href='../../src/game/options.rs.html#243-341'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-52'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/options.rs.html#244-335'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-52'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-52'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-53'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/pregame/struct.TitleScreen.html"title="struct game::pregame::TitleScreen">TitleScreen</a></code><ahref='#impl-State%3CApp%3E-53'class='anchor'></a><aclass='srclink'href='../../src/game/pregame.rs.html#68-89'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-53'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/pregame.rs.html#69-84'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-53'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-53'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-54'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/pregame/struct.MainMenu.html"title="struct game::pregame::MainMenu">MainMenu</a></code><ahref='#impl-State%3CApp%3E-54'class='anchor'></a><aclass='srclink'href='../../src/game/pregame.rs.html#181-258'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-54'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/pregame.rs.html#182-248'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-54'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/pregame.rs.html#250-252'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-54'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-55'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/pregame/struct.About.html"title="struct game::pregame::About">About</a></code><ahref='#impl-State%3CApp%3E-55'class='anchor'></a><aclass='srclink'href='../../src/game/pregame.rs.html#312-338'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-55'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/pregame.rs.html#313-328'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-55'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/pregame.rs.html#330-332'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-55'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-56'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/pregame/struct.Proposals.html"title="struct game::pregame::Proposals">Proposals</a></code><ahref='#impl-State%3CApp%3E-56'class='anchor'></a><aclass='srclink'href='../../src/game/pregame.rs.html#423-499'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-56'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/pregame.rs.html#424-489'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-56'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/pregame.rs.html#491-493'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-56'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-57'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/commuter/struct.CommuterPatterns.html"title="struct game::sandbox::dashboards::commuter::CommuterPatterns">CommuterPatterns</a></code><ahref='#impl-State%3CApp%3E-57'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/commuter.rs.html#342-449'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-57'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/commuter.rs.html#343-440'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-57'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-57'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-58'class='impl'><codeclass='in-band'>impl<T: 'static, F: 'static, P: 'static + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html"title="trait core::ops::function::Fn">Fn</a>(&mut EventCtx<'_>, &<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>, &<aclass="struct"href="../../game/sandbox/dashboards/table/struct.Table.html"title="struct game::sandbox::dashboards::table::Table">Table</a><T, F>) -> Panel> State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/generic_trip_table/struct.GenericTripTable.html"title="struct game::sandbox::dashboards::generic_trip_table::GenericTripTable">GenericTripTable</a><T, F, P></code><ahref='#impl-State%3CApp%3E-58'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/generic_trip_table.rs.html#50-109'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-58'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/generic_trip_table.rs.html#53-98'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-58'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/dashboards/generic_trip_table.rs.html#100-102'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-58'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-59'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/misc/struct.ActiveTraffic.html"title="struct game::sandbox::dashboards::misc::ActiveTraffic">ActiveTraffic</a></code><ahref='#impl-State%3CApp%3E-59'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#57-79'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-59'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#58-69'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-59'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#71-73'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-59'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-6'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/updater/struct.Picker.html"title="struct game::common::updater::Picker">Picker</a></code><ahref='#impl-State%3CApp%3E-6'class='anchor'></a><aclass='srclink'href='../../src/game/common/updater.rs.html#52-92'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-6'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/updater.rs.html#53-87'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-6'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-6'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-60'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/misc/struct.TransitRoutes.html"title="struct game::sandbox::dashboards::misc::TransitRoutes">TransitRoutes</a></code><ahref='#impl-State%3CApp%3E-60'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#198-253'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-60'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#199-243'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-60'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/dashboards/misc.rs.html#245-247'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-60'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-61'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/summaries/struct.TripSummaries.html"title="struct game::sandbox::dashboards::summaries::TripSummaries">TripSummaries</a></code><ahref='#impl-State%3CApp%3E-61'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/summaries.rs.html#71-118'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-61'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/summaries.rs.html#72-108'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-61'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/dashboards/summaries.rs.html#110-112'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-61'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-62'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/dashboards/traffic_signals/struct.TrafficSignalDemand.html"title="struct game::sandbox::dashboards::traffic_signals::TrafficSignalDemand">TrafficSignalDemand</a></code><ahref='#impl-State%3CApp%3E-62'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/dashboards/traffic_signals.rs.html#69-149'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-62'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/dashboards/traffic_signals.rs.html#70-128'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-62'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/dashboards/traffic_signals.rs.html#130-132'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-62'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-63'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/gameplay/freeform/struct.AgentSpawner.html"title="struct game::sandbox::gameplay::freeform::AgentSpawner">AgentSpawner</a></code><ahref='#impl-State%3CApp%3E-63'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/gameplay/freeform.rs.html#269-445'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-63'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/gameplay/freeform.rs.html#270-415'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-63'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-63'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-64'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/gameplay/play_scenario/struct.EditScenarioModifiers.html"title="struct game::sandbox::gameplay::play_scenario::EditScenarioModifiers">EditScenarioModifiers</a></code><ahref='#impl-State%3CApp%3E-64'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/gameplay/play_scenario.rs.html#219-312'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-64'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/gameplay/play_scenario.rs.html#220-306'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-64'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-64'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-65'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/gameplay/play_scenario/struct.ChangeMode.html"title="struct game::sandbox::gameplay::play_scenario::ChangeMode">ChangeMode</a></code><ahref='#impl-State%3CApp%3E-65'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/gameplay/play_scenario.rs.html#371-436'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-65'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/gameplay/play_scenario.rs.html#372-430'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-65'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-65'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-66'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/gameplay/struct.FinalScore.html"title="struct game::sandbox::gameplay::FinalScore">FinalScore</a></code><ahref='#impl-State%3CApp%3E-66'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/gameplay/mod.rs.html#265-339'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-66'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/gameplay/mod.rs.html#266-332'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-66'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-66'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-67'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/misc_tools/struct.TurnExplorer.html"title="struct game::sandbox::misc_tools::TurnExplorer">TurnExplorer</a></code><ahref='#impl-State%3CApp%3E-67'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/misc_tools.rs.html#94-168'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-67'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/misc_tools.rs.html#95-117'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-67'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/misc_tools.rs.html#119-121'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-67'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-68'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/misc_tools/struct.TrafficRecorder.html"title="struct game::sandbox::misc_tools::TrafficRecorder">TrafficRecorder</a></code><ahref='#impl-State%3CApp%3E-68'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/misc_tools.rs.html#295-348'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-68'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/misc_tools.rs.html#296-332'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-68'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-68'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-69'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/time_warp/struct.JumpToTime.html"title="struct game::sandbox::time_warp::JumpToTime">JumpToTime</a></code><ahref='#impl-State%3CApp%3E-69'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#82-149'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-69'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#83-143'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-69'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-69'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-7'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/warp/struct.Warping.html"title="struct game::common::warp::Warping">Warping</a></code><ahref='#impl-State%3CApp%3E-7'class='anchor'></a><aclass='srclink'href='../../src/game/common/warp.rs.html#40-68'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-7'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, _: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/warp.rs.html#41-65'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-7'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-7'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-70'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/time_warp/struct.JumpToDelay.html"title="struct game::sandbox::time_warp::JumpToDelay">JumpToDelay</a></code><ahref='#impl-State%3CApp%3E-70'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#202-246'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-70'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#203-240'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-70'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-70'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-71'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/time_warp/struct.TimeWarpScreen.html"title="struct game::sandbox::time_warp::TimeWarpScreen">TimeWarpScreen</a></code><ahref='#impl-State%3CApp%3E-71'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#298-426'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-71'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#299-402'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-71'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#404-406'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-71'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, _: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>)</code><aclass='srclink'href='../../src/game/sandbox/time_warp.rs.html#419-425'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-72'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/uber_turns/struct.UberTurnPicker.html"title="struct game::sandbox::uber_turns::UberTurnPicker">UberTurnPicker</a></code><ahref='#impl-State%3CApp%3E-72'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/uber_turns.rs.html#51-130'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-72'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/uber_turns.rs.html#52-114'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-72'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-72'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-73'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/uber_turns/struct.UberTurnViewer.html"title="struct game::sandbox::uber_turns::UberTurnViewer">UberTurnViewer</a></code><ahref='#impl-State%3CApp%3E-73'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/uber_turns.rs.html#220-277'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-73'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/uber_turns.rs.html#221-262'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-73'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/sandbox/uber_turns.rs.html#264-266'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-73'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-74'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/struct.SandboxMode.html"title="struct game::sandbox::SandboxMode">SandboxMode</a></code><ahref='#impl-State%3CApp%3E-74'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#102-257'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-74'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#103-218'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-74'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div></div><h3id='impl-State%3CApp%3E-75'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/struct.BackToMainMenu.html"title="struct game::sandbox::BackToMainMenu">BackToMainMenu</a></code><ahref='#impl-State%3CApp%3E-75'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#293-300'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-75'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#294-297'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-75'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-75'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-76'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/sandbox/struct.SandboxLoader.html"title="struct game::sandbox::SandboxLoader">SandboxLoader</a></code><ahref='#impl-State%3CApp%3E-76'class='anchor'></a><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#642-803'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-76'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/sandbox/mod.rs.html#643-800'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-76'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-76'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-8'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/common/warp/struct.DebugWarp.html"title="struct game::common::warp::DebugWarp">DebugWarp</a></code><ahref='#impl-State%3CApp%3E-8'class='anchor'></a><aclass='srclink'href='../../src/game/common/warp.rs.html#129-158'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-8'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/common/warp.rs.html#130-152'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-8'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-8'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-State%3CApp%3E-9'class='impl'><codeclass='in-band'>impl State<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>> for <aclass="struct"href="../../game/cutscene/struct.CutscenePlayer.html"title="struct game::cutscene::CutscenePlayer">CutscenePlayer</a></code><ahref='#impl-State%3CApp%3E-9'class='anchor'></a><aclass='srclink'href='../../src/game/cutscene.rs.html#87-161'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.event-9'class="method hidden"><code>fn <ahref='#method.event'class='fnname'>event</a>(&mut self, ctx: &mut EventCtx<'_>, app: &mut <aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>) -> Transition<<aclass="struct"href="../../game/app/struct.App.html"title="struct game::app::App">App</a>></code><aclass='srclink'href='../../src/game/cutscene.rs.html#88-150'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Respond to a UI event, such as input or time passing.</p>
</div><h4id='method.draw_baselayer-9'class="method hidden"><code>fn <ahref='#method.draw_baselayer'class='fnname'>draw_baselayer</a>(&self) -> DrawBaselayer</code><aclass='srclink'href='../../src/game/cutscene.rs.html#152-154'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Specifies what to draw before draw()</p>
</div><h4id='method.on_destroy-9'class="method hidden"><code>fn <ahref='#method.on_destroy'class='fnname'>on_destroy</a>(&mut self, &mut EventCtx<'_>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>A)</code></h4><divclass='docblock hidden'><p>Before this state is popped or replaced, call this.</p>
</div></div><h3id='impl-Downcast'class='impl'><codeclass='in-band'>impl<T> Downcast for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a>, </span></code><ahref='#impl-Downcast'class='anchor'></a></h3><divclass='impl-items'><h4id='method.into_any'class="method hidden"><code>fn <ahref='#method.into_any'class='fnname'>into_any</a>(self: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html"title="struct alloc::boxed::Box">Box</a><dyn <aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static></code></h4><divclass='docblock hidden'><p>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any">Read more</a></p>
</div><h4id='method.into_any_rc'class="method hidden"><code>fn <ahref='#method.into_any_rc'class='fnname'>into_any_rc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static></code></h4><divclass='docblock hidden'><p>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>. <ahref="#tymethod.into_any_rc">Read more</a></p>
</div><h4id='method.as_any'class="method hidden"><code>fn <ahref='#method.as_any'class='fnname'>as_any</a>(&self) ->&(dyn <aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</code></h4><divclass='docblock hidden'><p>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&Any</code>'s vtable from <code>&Trait</code>'s. <ahref="#tymethod.as_any">Read more</a></p>
</div><h4id='method.as_any_mut'class="method hidden"><code>fn <ahref='#method.as_any_mut'class='fnname'>as_any_mut</a>(&mut self) ->&mut (dyn <aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</code></h4><divclass='docblock hidden'><p>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&mut Any</code>'s vtable from <code>&mut Trait</code>'s. <ahref="#tymethod.as_any_mut">Read more</a></p>
</div></div><h3id='impl-From%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</code><ahref='#impl-From%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#551-555'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.from'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#552-554'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-Instrument'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.21/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</code><ahref='#impl-Instrument'class='anchor'></a><aclass='srclink'href='https://docs.rs/tracing/0.1.21/src/tracing/instrument.rs.html#155'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.instrument'class="method hidden"><code>fn <ahref='https://docs.rs/tracing/0.1.21/tracing/instrument/trait.Instrument.html#method.instrument'class='fnname'>instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.21/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.21/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><aclass='srclink'href='https://docs.rs/tracing/0.1.21/src/tracing/instrument.rs.html#38-40'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
</div><h4id='method.in_current_span'class="method hidden"><code>fn <ahref='https://docs.rs/tracing/0.1.21/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.21/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><aclass='srclink'href='https://docs.rs/tracing/0.1.21/src/tracing/instrument.rs.html#74-76'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the <ahref="../struct.Span.html#method.current">current</a><code>Span</code>, returning an
</div></div><h3id='impl-Instrument-1'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html"title="trait tracing_futures::Instrument">Instrument</a> for T</code><ahref='#impl-Instrument-1'class='anchor'></a><aclass='srclink'href='https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#248'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.instrument-1'class="method hidden"><code>fn <ahref='https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html#method.instrument'class='fnname'>instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.21/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/struct.Instrumented.html"title="struct tracing_futures::Instrumented">Instrumented</a><Self></code><aclass='srclink'href='https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#129-131'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
</div><h4id='method.in_current_span-1'class="method hidden"><code>fn <ahref='https://docs.rs/tracing-futures/0.2.3/tracing_futures/trait.Instrument.html#method.in_current_span'class='fnname'>in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing-futures/0.2.3/tracing_futures/struct.Instrumented.html"title="struct tracing_futures::Instrumented">Instrumented</a><Self></code><aclass='srclink'href='https://docs.rs/tracing-futures/0.2.3/src/tracing_futures/lib.rs.html#166-168'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Instruments this type with the <ahref="https://docs.rs/tracing/latest/tracing/span/struct.Span.html#method.current">current</a><code>Span</code>, returning an
</div></div><h3id='impl-Same%3CT%3E'class='impl'><codeclass='in-band'>impl<T> Same<T> for T</code><ahref='#impl-Same%3CT%3E'class='anchor'></a></h3><divclass='impl-items'><h4id='associatedtype.Output'class="type"><code>type <ahref='#associatedtype.Output'class="type">Output</a> = T</code></h4><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588-597'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#594-596'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/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/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574-583'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#580-582'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>