mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-26 07:52:05 +03:00
deploy: 45cb54c578
This commit is contained in:
parent
d215e2f5b8
commit
27578fc9ac
@ -4,6 +4,6 @@
|
||||
</nav>
|
||||
<nav class="sidebar"><a class="sidebar-logo" href="../../../../map_gui/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
|
||||
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2><div id="sidebar-vars" data-name="BUILT_TIME_UTC" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../map_gui/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
|
||||
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-163541a4ac2f3b12/out/built.rs.html#78">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.str.html">str</a> = r"Wed, 10 Aug 2022 12:38:35 +0000";</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
||||
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">map_gui</a>::<wbr><a href="../../index.html">tools</a>::<wbr><a href="../index.html">title_screen</a>::<wbr><a href="index.html">built_info</a>::<wbr><a class="constant" href="#">BUILT_TIME_UTC</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-163541a4ac2f3b12/out/built.rs.html#78">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const BUILT_TIME_UTC: &<a class="primitive" href="https://doc.rust-lang.org/1.62.1/std/primitive.str.html">str</a> = r"Thu, 11 Aug 2022 11:22:32 +0000";</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
|
||||
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="map_gui" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.1 (e092d0b6b 2022-07-16)" ></div>
|
||||
</body></html>
|
@ -490,12 +490,12 @@
|
||||
<span class="string">"Plan a route"</span> => <span class="ident">EditOutcome::Transition</span>(<span class="ident">Transition::Push</span>(
|
||||
<span class="ident"><span class="kw">crate</span>::route_planner::RoutePlanner::new_state</span>(<span class="ident">ctx</span>, <span class="ident">app</span>),
|
||||
)),
|
||||
<span class="string">"Modal filter"</span> => {
|
||||
<span class="string">"Modal filter - no entry"</span> => {
|
||||
<span class="ident">app</span>.<span class="ident">session</span>.<span class="ident">filter_type</span> <span class="op">=</span> <span class="ident">FilterType::NoEntry</span>;
|
||||
<span class="ident">app</span>.<span class="ident">session</span>.<span class="ident">edit_mode</span> <span class="op">=</span> <span class="ident">EditMode::Filters</span>;
|
||||
<span class="ident">EditOutcome::UpdatePanelAndWorld</span>
|
||||
}
|
||||
<span class="string">"Walk/cycle only filter"</span> => {
|
||||
<span class="string">"Modal filter -- walking/cycling only"</span> => {
|
||||
<span class="ident">app</span>.<span class="ident">session</span>.<span class="ident">filter_type</span> <span class="op">=</span> <span class="ident">FilterType::WalkCycleOnly</span>;
|
||||
<span class="ident">app</span>.<span class="ident">session</span>.<span class="ident">edit_mode</span> <span class="op">=</span> <span class="ident">EditMode::Filters</span>;
|
||||
<span class="ident">EditOutcome::UpdatePanelAndWorld</span>
|
||||
@ -569,12 +569,12 @@
|
||||
|
||||
<span class="ident">Widget::row</span>(<span class="macro">vec!</span>[
|
||||
<span class="ident">Widget::row</span>(<span class="macro">vec!</span>[
|
||||
<span class="ident">filter</span>(<span class="ident">FilterType::NoEntry</span>, <span class="ident">Color::RED</span>, <span class="string">"Modal filter"</span>),
|
||||
<span class="ident">filter</span>(
|
||||
<span class="ident">FilterType::WalkCycleOnly</span>,
|
||||
<span class="ident">Color::hex</span>(<span class="string">"#0b793a"</span>),
|
||||
<span class="string">"Walk/cycle only filter"</span>,
|
||||
<span class="string">"Modal filter -- walking/cycling only"</span>,
|
||||
),
|
||||
<span class="ident">filter</span>(<span class="ident">FilterType::NoEntry</span>, <span class="ident">Color::RED</span>, <span class="string">"Modal filter - no entry"</span>),
|
||||
<span class="ident">filter</span>(<span class="ident">FilterType::BusGate</span>, <span class="ident">Color::hex</span>(<span class="string">"#0672B9"</span>), <span class="string">"Bus gate"</span>),
|
||||
])
|
||||
.<span class="ident">section</span>(<span class="ident">ctx</span>),
|
||||
|
@ -158,10 +158,10 @@
|
||||
<span class="comment">// (And don't call before_edit; this transformation happens before the user starts editing</span>
|
||||
<span class="comment">// anything)</span>
|
||||
<span class="kw">for</span> <span class="ident">r</span> <span class="kw">in</span> <span class="ident">filtered_roads</span> {
|
||||
<span class="ident">app</span>.<span class="ident">session</span>
|
||||
.<span class="ident">modal_filters</span>
|
||||
.<span class="ident">roads</span>
|
||||
.<span class="ident">insert</span>(<span class="ident">r</span>, (<span class="ident">app</span>.<span class="ident">map</span>.<span class="ident">get_r</span>(<span class="ident">r</span>).<span class="ident">length</span>() <span class="op">/</span> <span class="number">2.0</span>, <span class="ident">FilterType::NoEntry</span>));
|
||||
<span class="ident">app</span>.<span class="ident">session</span>.<span class="ident">modal_filters</span>.<span class="ident">roads</span>.<span class="ident">insert</span>(
|
||||
<span class="ident">r</span>,
|
||||
(<span class="ident">app</span>.<span class="ident">map</span>.<span class="ident">get_r</span>(<span class="ident">r</span>).<span class="ident">length</span>() <span class="op">/</span> <span class="number">2.0</span>, <span class="ident">FilterType::WalkCycleOnly</span>),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -173,7 +173,7 @@
|
||||
<span class="ident">app</span>.<span class="ident">session</span>
|
||||
.<span class="ident">modal_filters</span>
|
||||
.<span class="ident">roads</span>
|
||||
.<span class="ident">insert</span>(<span class="ident">r</span>.<span class="ident">id</span>, (<span class="kw-2">*</span><span class="ident">dist</span>, <span class="ident">FilterType::NoEntry</span>));
|
||||
.<span class="ident">insert</span>(<span class="ident">r</span>.<span class="ident">id</span>, (<span class="kw-2">*</span><span class="ident">dist</span>, <span class="ident">FilterType::WalkCycleOnly</span>));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@
|
||||
<span class="ident">impact</span>: <span class="ident">impact::Impact::empty</span>(<span class="ident">ctx</span>),
|
||||
|
||||
<span class="ident">edit_mode</span>: <span class="ident">edit::EditMode::Filters</span>,
|
||||
<span class="ident">filter_type</span>: <span class="ident">FilterType::NoEntry</span>,
|
||||
<span class="ident">filter_type</span>: <span class="ident">FilterType::WalkCycleOnly</span>,
|
||||
|
||||
<span class="ident">draw_neighbourhood_style</span>: <span class="ident">browse::Style::Simple</span>,
|
||||
<span class="ident">draw_cells_as_areas</span>: <span class="bool-val">true</span>,
|
||||
|
@ -179,7 +179,7 @@
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">RUSTDOC_VERSION</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"rustdoc 1.62.1 (e092d0b6b 2022-07-16)"</span>;
|
||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The build time in RFC2822, UTC."#</span>]</span>
|
||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"Wed, 10 Aug 2022 12:38:35 +0000"</span>;
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">BUILT_TIME_UTC</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"Thu, 11 Aug 2022 11:22:32 +0000"</span>;
|
||||
<span class="attribute">#[<span class="ident">doc</span><span class="op">=</span><span class="string">r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#</span>]</span>
|
||||
<span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
|
||||
<span class="kw">pub</span> <span class="kw">const</span> <span class="ident">CFG_TARGET_ARCH</span>: <span class="kw-2">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">r"x86_64"</span>;
|
||||
|
Loading…
Reference in New Issue
Block a user