This commit is contained in:
dabreegster 2020-12-20 23:19:36 +00:00
parent b03aa47b39
commit 773bded655
12 changed files with 28 additions and 28 deletions

View File

@ -3814,7 +3814,7 @@ game.</p>
<p>Created by <a href="https://abstreet.org">Dustin Carlino</a>,
<a href="https://www.yuwen-li.com/">Yuwen Li</a>, &amp;
<a href="https://michaelkirk.github.io/">Michael Kirk</a></p>
<p>Embed trailer</p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/mrIsVMLZ_yc" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<p>15-minute Santa is a game where you deliver presents across Seattle. You earn
more points delivering to high-density housing, and you need to refuel from
shops, so you'll have to understand where people live in relation to where they
@ -3823,7 +3823,7 @@ work and shop.</p>
<a href="https://github.com/dabreegster/abstreet/issues/new">file an issue on Github</a>.</p>
<h2><a class="header" href="#play-it" id="play-it">Play it</a></h2>
<ul>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/santa/">Play online</a>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/santa">Play online</a>
(slower and no music -- download below if possible)</li>
<li>Windows</li>
<li>Mac</li>
@ -3951,7 +3951,7 @@ you'd like to see included.</p>
<p>Or if you have a <code>.osm</code> file, try the <a href="side_projects/new_city.html">quick start guide</a>.</p>
<h1><a class="header" href="#openstreetmap-viewer" id="openstreetmap-viewer">OpenStreetMap viewer</a></h1>
<ul>
<li><a href="side_projects/abstreet.s3-website.us-east-2.amazonaws.com/dev/osm_viewer">Web version</a></li>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/osm_viewer">Web version</a></li>
<li>To run locally, get the
<a href="https://github.com/dabreegster/abstreet/releases">latest release</a> for
Windows, Mac, or Linux. After unzipping, run <code>osm_viewer.exe</code> or <code>osm_viewer</code>.</li>
@ -3964,7 +3964,7 @@ possible directions for this viewer.</p>
<h1><a class="header" href="#15-minute-neighborhood-explorer" id="15-minute-neighborhood-explorer">15-minute neighborhood explorer</a></h1>
<p><img src="side_projects/walkshed.gif" alt="walkshed" /></p>
<ul>
<li><a href="side_projects/abstreet.s3-website.us-east-2.amazonaws.com/dev/fifteen_min">Web version</a></li>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/fifteen_min">Web version</a></li>
<li>To run locally, get the
<a href="https://github.com/dabreegster/abstreet/releases">latest release</a> for
Windows, Mac, or Linux. After unzipping, run <code>fifteen_min.exe</code> or

View File

@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `BUILT_TIME_UTC` constant in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, BUILT_TIME_UTC"><title>game::pregame::built_info::BUILT_TIME_UTC - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc constant"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../game/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class='location'><a href='../../index.html'>game</a>::<wbr><a href='../index.html'>pregame</a>::<wbr><a href='index.html'>built_info</a></p><script>window.sidebarCurrent = {name: 'BUILT_TIME_UTC', ty: 'constant', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-c1f324f9d3d7e3b2/out/built.rs.html#53' title='goto source code'>[src]</a></span><span class='in-band'>Constant <a href='../../index.html'>game</a>::<wbr><a href='../index.html'>pregame</a>::<wbr><a href='index.html'>built_info</a>::<wbr><a class="constant" href=''>BUILT_TIME_UTC</a></span></h1><pre class='rust const'>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = &quot;Sun, 20 Dec 2020 22:16:31 +0000&quot;;</pre><div class='docblock'><p>The built-time in RFC2822, UTC</p>
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-c1f324f9d3d7e3b2/out/built.rs.html#53' title='goto source code'>[src]</a></span><span class='in-band'>Constant <a href='../../index.html'>game</a>::<wbr><a href='../index.html'>pregame</a>::<wbr><a href='index.html'>built_info</a>::<wbr><a class="constant" href=''>BUILT_TIME_UTC</a></span></h1><pre class='rust const'>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = &quot;Sun, 20 Dec 2020 23:17:06 +0000&quot;;</pre><div class='docblock'><p>The built-time in RFC2822, UTC</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "game";</script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,17 +1,17 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `MinimapController` struct in crate `osm_viewer`."><meta name="keywords" content="rust, rustlang, rust-lang, MinimapController"><title>osm_viewer::viewer::MinimapController - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../osm_viewer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct MinimapController</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-MinimapControls%3CSimpleApp%3C()%3E%3E">MinimapControls&lt;SimpleApp&lt;()&gt;&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-Downcast">Downcast</a><a href="#impl-DowncastSync">DowncastSync</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class='location'><a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a></p><script>window.sidebarCurrent = {name: 'MinimapController', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#464' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a>::<wbr><a class="struct" href=''>MinimapController</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>struct MinimapController;</pre></div><h2 id='trait-implementations' class='small-section-header'>Trait Implementations<a href='#trait-implementations' class='anchor'></a></h2><div id='trait-implementations-list'><h3 id='impl-MinimapControls%3CSimpleApp%3C()%3E%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../map_gui/tools/minimap/trait.MinimapControls.html" title="trait map_gui::tools::minimap::MinimapControls">MinimapControls</a>&lt;<a class="struct" href="../../map_gui/simple_app/struct.SimpleApp.html" title="struct map_gui::simple_app::SimpleApp">SimpleApp</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;&gt; for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-MinimapControls%3CSimpleApp%3C()%3E%3E' class='anchor'></a><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#466-474' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.has_zorder' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#tymethod.has_zorder' class='fnname'>has_zorder</a>(&amp;self, _: &amp;<a class="struct" href="../../map_gui/simple_app/struct.SimpleApp.html" title="struct map_gui::simple_app::SimpleApp">SimpleApp</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#467-469' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Should the user be able to control the z-order visible? The control is only present when
zoomed in, placed beneath the zoom column. <a href="../../map_gui/tools/minimap/trait.MinimapControls.html#tymethod.has_zorder">Read more</a></p>
</div><h4 id='method.make_legend' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_legend' class='fnname'>make_legend</a>(&amp;self, _: &amp;mut EventCtx&lt;'_&gt;, _: &amp;<a class="struct" href="../../map_gui/simple_app/struct.SimpleApp.html" title="struct map_gui::simple_app::SimpleApp">SimpleApp</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;) -&gt; Widget</code><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#471-473' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A row beneath the minimap in the zoomed view, usually used as a legend for things on the
minimap. <a href="../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_legend">Read more</a></p>
</div><h4 id='method.has_layer' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.has_layer' class='fnname'>has_layer</a>(&amp;self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#38-40' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Is there some additional layer displayed on the minimap? If this changes, the panel gets
recalculated. <a href="../../map_gui/tools/minimap/trait.MinimapControls.html#method.has_layer">Read more</a></p>
</div><h4 id='method.draw_extra' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.draw_extra' class='fnname'>draw_extra</a>(&amp;self, &amp;mut GfxCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A)</code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#43' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Draw extra stuff on the minimap, just pulling from the app.</p>
</div><h4 id='method.make_unzoomed_panel' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_unzoomed_panel' class='fnname'>make_unzoomed_panel</a>(&amp;self, ctx: &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; Panel</code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#46-48' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>When unzoomed, display this panel. By default, no controls when unzoomed.</p>
</div><h4 id='method.make_zoomed_side_panel' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.make_zoomed_side_panel' class='fnname'>make_zoomed_side_panel</a>(&amp;self, &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; Widget</code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#55-57' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Controls to be placed to the left to the zoomed-in panel</p>
</div><h4 id='method.panel_clicked' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.panel_clicked' class='fnname'>panel_clicked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut EventCtx&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>A, <br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#60-62' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>If a button is clicked that was produced by some method in this trait, respond to it here.</p>
</div><h4 id='method.panel_changed' class="method hidden"><code>fn <a href='../../map_gui/tools/minimap/trait.MinimapControls.html#method.panel_changed' class='fnname'>panel_changed</a>(&amp;self, &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>A, &amp;Panel)</code><a class='srclink' href='../../src/map_gui/tools/minimap.rs.html#64' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Called for <code>Outcome::Changed</code> on the panel.</p>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#464' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a>::<wbr><a class="struct" href=''>MinimapController</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>struct MinimapController;</pre></div><h2 id='trait-implementations' class='small-section-header'>Trait Implementations<a href='#trait-implementations' class='anchor'></a></h2><div id='trait-implementations-list'><h3 id='impl-MinimapControls%3CSimpleApp%3C()%3E%3E' class='impl'><code class='in-band'>impl MinimapControls&lt;SimpleApp&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;&gt; for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-MinimapControls%3CSimpleApp%3C()%3E%3E' class='anchor'></a><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#466-474' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.has_zorder' class="method hidden"><code>fn <a href='#method.has_zorder' class='fnname'>has_zorder</a>(&amp;self, _: &amp;SimpleApp&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#467-469' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Should the user be able to control the z-order visible? The control is only present when
zoomed in, placed beneath the zoom column. <a href="#tymethod.has_zorder">Read more</a></p>
</div><h4 id='method.make_legend' class="method hidden"><code>fn <a href='#method.make_legend' class='fnname'>make_legend</a>(&amp;self, _: &amp;mut EventCtx&lt;'_&gt;, _: &amp;SimpleApp&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;) -&gt; Widget</code><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#471-473' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>A row beneath the minimap in the zoomed view, usually used as a legend for things on the
minimap. <a href="#method.make_legend">Read more</a></p>
</div><h4 id='method.has_layer' class="method hidden"><code>fn <a href='#method.has_layer' class='fnname'>has_layer</a>(&amp;self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><div class='docblock hidden'><p>Is there some additional layer displayed on the minimap? If this changes, the panel gets
recalculated. <a href="#method.has_layer">Read more</a></p>
</div><h4 id='method.draw_extra' class="method hidden"><code>fn <a href='#method.draw_extra' class='fnname'>draw_extra</a>(&amp;self, &amp;mut GfxCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A)</code></h4><div class='docblock hidden'><p>Draw extra stuff on the minimap, just pulling from the app.</p>
</div><h4 id='method.make_unzoomed_panel' class="method hidden"><code>fn <a href='#method.make_unzoomed_panel' class='fnname'>make_unzoomed_panel</a>(&amp;self, ctx: &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; Panel</code></h4><div class='docblock hidden'><p>When unzoomed, display this panel. By default, no controls when unzoomed.</p>
</div><h4 id='method.make_zoomed_side_panel' class="method hidden"><code>fn <a href='#method.make_zoomed_side_panel' class='fnname'>make_zoomed_side_panel</a>(&amp;self, &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>A) -&gt; Widget</code></h4><div class='docblock hidden'><p>Controls to be placed to the left to the zoomed-in panel</p>
</div><h4 id='method.panel_clicked' class="method hidden"><code>fn <a href='#method.panel_clicked' class='fnname'>panel_clicked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut EventCtx&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>A, <br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transition&lt;A&gt;&gt;</code></h4><div class='docblock hidden'><p>If a button is clicked that was produced by some method in this trait, respond to it here.</p>
</div><h4 id='method.panel_changed' class="method hidden"><code>fn <a href='#method.panel_changed' class='fnname'>panel_changed</a>(&amp;self, &amp;mut EventCtx&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>A, &amp;Panel)</code></h4><div class='docblock hidden'><p>Called for <code>Outcome::Changed</code> on the panel.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../osm_viewer/viewer/struct.MinimapController.html" title="struct osm_viewer::viewer::MinimapController">MinimapController</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#108-112' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#109-111' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210-214' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211-213' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217-221' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `App` type in crate `osm_viewer`."><meta name="keywords" content="rust, rustlang, rust-lang, App"><title>osm_viewer::viewer::App - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../osm_viewer/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition App</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a></p><script>window.sidebarCurrent = {name: 'App', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#19' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a>::<wbr><a class="type" href=''>App</a></span></h1><pre class='rust typedef'>type App = <a class="struct" href="../../map_gui/simple_app/struct.SimpleApp.html" title="struct map_gui::simple_app::SimpleApp">SimpleApp</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;;</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "osm_viewer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/osm_viewer/viewer.rs.html#19' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>osm_viewer</a>::<wbr><a href='index.html'>viewer</a>::<wbr><a class="type" href=''>App</a></span></h1><pre class='rust typedef'>type App = SimpleApp&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;;</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "osm_viewer";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@ -122,7 +122,7 @@
<span class="doccomment">/// The output of `rustdoc -V`</span>
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">RUSTDOC_VERSION</span>: <span class="kw-2">&amp;</span><span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;rustdoc 1.48.0 (7eac88abb 2020-11-16)&quot;</span>;
<span class="doccomment">/// The built-time in RFC2822, UTC</span>
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&amp;</span><span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;Sun, 20 Dec 2020 22:16:31 +0000&quot;</span>;
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&amp;</span><span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;Sun, 20 Dec 2020 23:17:06 +0000&quot;</span>;
<span class="doccomment">/// The target architecture, given by `cfg!(target_arch)`.</span>
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">CFG_TARGET_ARCH</span>: <span class="kw-2">&amp;</span><span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;x86_64&quot;</span>;
<span class="doccomment">/// The endianness, given by `cfg!(target_endian)`.</span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -150,7 +150,7 @@
<h1><a class="header" href="#15-minute-neighborhood-explorer" id="15-minute-neighborhood-explorer">15-minute neighborhood explorer</a></h1>
<p><img src="walkshed.gif" alt="walkshed" /></p>
<ul>
<li><a href="abstreet.s3-website.us-east-2.amazonaws.com/dev/fifteen_min">Web version</a></li>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/fifteen_min">Web version</a></li>
<li>To run locally, get the
<a href="https://github.com/dabreegster/abstreet/releases">latest release</a> for
Windows, Mac, or Linux. After unzipping, run <code>fifteen_min.exe</code> or

View File

@ -149,7 +149,7 @@
<main>
<h1><a class="header" href="#openstreetmap-viewer" id="openstreetmap-viewer">OpenStreetMap viewer</a></h1>
<ul>
<li><a href="abstreet.s3-website.us-east-2.amazonaws.com/dev/osm_viewer">Web version</a></li>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/osm_viewer">Web version</a></li>
<li>To run locally, get the
<a href="https://github.com/dabreegster/abstreet/releases">latest release</a> for
Windows, Mac, or Linux. After unzipping, run <code>osm_viewer.exe</code> or <code>osm_viewer</code>.</li>

View File

@ -151,7 +151,7 @@
<p>Created by <a href="https://abstreet.org">Dustin Carlino</a>,
<a href="https://www.yuwen-li.com/">Yuwen Li</a>, &amp;
<a href="https://michaelkirk.github.io/">Michael Kirk</a></p>
<p>Embed trailer</p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/mrIsVMLZ_yc" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<p>15-minute Santa is a game where you deliver presents across Seattle. You earn
more points delivering to high-density housing, and you need to refuel from
shops, so you'll have to understand where people live in relation to where they
@ -160,7 +160,7 @@ work and shop.</p>
<a href="https://github.com/dabreegster/abstreet/issues/new">file an issue on Github</a>.</p>
<h2><a class="header" href="#play-it" id="play-it">Play it</a></h2>
<ul>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/santa/">Play online</a>
<li><a href="http://abstreet.s3-website.us-east-2.amazonaws.com/dev/santa">Play online</a>
(slower and no music -- download below if possible)</li>
<li>Windows</li>
<li>Mac</li>