mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
deploy: 26f3726abd
This commit is contained in:
parent
5c9e7539fe
commit
b1dc5a676c
@ -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 id="default-settings"></script><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">☰</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!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></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">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/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: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "Sat, 09 Jan 2021 02:02:56 +0000";</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">−</span>]</a></span><a class="srclink" href="../../../src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/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: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "Sat, 09 Jan 2021 17:43:23 +0000";</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>
|
@ -534,7 +534,7 @@
|
||||
<span class="ident">Layout</span>::<span class="ident">PlayerSpeaking</span> <span class="op">=</span><span class="op">></span> <span class="ident">Widget</span>::<span class="ident">custom_row</span>(<span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">Widget</span>::<span class="ident">draw_batch</span>(
|
||||
<span class="ident">ctx</span>,
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg"</span>)
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg.gz"</span>)
|
||||
.<span class="ident">scale</span>(<span class="number">0.75</span>)
|
||||
.<span class="ident">autocrop</span>(),
|
||||
),
|
||||
@ -547,17 +547,17 @@
|
||||
<span class="ident">Layout</span>::<span class="ident">BossSpeaking</span> <span class="op">=</span><span class="op">></span> <span class="ident">Widget</span>::<span class="ident">custom_row</span>(<span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">Widget</span>::<span class="ident">draw_batch</span>(
|
||||
<span class="ident">ctx</span>,
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg"</span>)
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg.gz"</span>)
|
||||
.<span class="ident">scale</span>(<span class="number">0.75</span>)
|
||||
.<span class="ident">autocrop</span>(),
|
||||
),
|
||||
<span class="ident">scenes</span>[<span class="ident">idx</span>].<span class="ident">msg</span>.<span class="ident">clone</span>().<span class="ident">wrap_to_pct</span>(<span class="ident">ctx</span>, <span class="number">30</span>).<span class="ident">draw</span>(<span class="ident">ctx</span>),
|
||||
<span class="ident">Widget</span>::<span class="ident">draw_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/player.svg"</span>).<span class="ident">align_right</span>(),
|
||||
]),
|
||||
<span class="ident">Layout</span>::<span class="ident">Extra</span>(<span class="ident">name</span>, <span class="ident">scale</span>) <span class="op">=</span><span class="op">></span> <span class="ident">Widget</span>::<span class="ident">custom_row</span>(<span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">Layout</span>::<span class="ident">Extra</span>(<span class="ident">filename</span>, <span class="ident">scale</span>) <span class="op">=</span><span class="op">></span> <span class="ident">Widget</span>::<span class="ident">custom_row</span>(<span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">Widget</span>::<span class="ident">draw_batch</span>(
|
||||
<span class="ident">ctx</span>,
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg"</span>)
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg.gz"</span>)
|
||||
.<span class="ident">scale</span>(<span class="number">0.75</span>)
|
||||
.<span class="ident">autocrop</span>(),
|
||||
),
|
||||
@ -566,7 +566,7 @@
|
||||
<span class="ident">ctx</span>,
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(
|
||||
<span class="ident">ctx</span>.<span class="ident">prerender</span>,
|
||||
<span class="kw-2">&</span><span class="macro">format</span><span class="macro">!</span>(<span class="string">"system/assets/characters/{}.svg"</span>, <span class="ident">name</span>),
|
||||
<span class="kw-2">&</span><span class="macro">format</span><span class="macro">!</span>(<span class="string">"system/assets/characters/{}"</span>, <span class="ident">filename</span>),
|
||||
)
|
||||
.<span class="ident">scale</span>(<span class="ident">scale</span>)
|
||||
.<span class="ident">autocrop</span>(),
|
||||
|
@ -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">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"rustdoc 1.49.0 (e1884a8e3 2020-12-29)"</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">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"Sat, 09 Jan 2021 02:02:56 +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">"Sat, 09 Jan 2021 17:43:23 +0000"</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">&</span><span class="ident">str</span> <span class="op">=</span> <span class="string">"x86_64"</span>;
|
||||
<span class="doccomment">/// The endianness, given by `cfg!(target_endian)`.</span>
|
||||
|
@ -477,12 +477,12 @@
|
||||
)
|
||||
.<span class="ident">player</span>(<span class="string">"Sorry, boss."</span>)
|
||||
.<span class="ident">extra</span>(
|
||||
<span class="string">"parents"</span>,
|
||||
<span class="string">"parents.svg.gz"</span>,
|
||||
<span class="number">0.6</span>,
|
||||
<span class="string">"Hi, er, we're calling from Lower Queen Anne. What's going on?!"</span>,
|
||||
)
|
||||
.<span class="ident">extra</span>(
|
||||
<span class="string">"parents"</span>,
|
||||
<span class="string">"parents.svg.gz"</span>,
|
||||
<span class="number">0.6</span>,
|
||||
<span class="string">"We just missed a VERY important appointment. Nobody's moving an inch!"</span>,
|
||||
)
|
||||
|
@ -622,7 +622,7 @@
|
||||
<span class="ident">Widget</span>::<span class="ident">custom_row</span>(<span class="macro">vec</span><span class="macro">!</span>[
|
||||
<span class="ident">Widget</span>::<span class="ident">draw_batch</span>(
|
||||
<span class="ident">ctx</span>,
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg"</span>)
|
||||
<span class="ident">GeomBatch</span>::<span class="ident">load_svg</span>(<span class="ident">ctx</span>, <span class="string">"system/assets/characters/boss.svg.gz"</span>)
|
||||
.<span class="ident">scale</span>(<span class="number">0.75</span>)
|
||||
.<span class="ident">autocrop</span>(),
|
||||
)
|
||||
|
@ -2850,7 +2850,7 @@
|
||||
buses! Cheaper housing! Less rain! Free this, subsidized that!"</span>,
|
||||
)
|
||||
.<span class="ident">boss</span>(<span class="string">"Light rail and robot cars aren't here to save the day! Know what you'll be using?"</span>)
|
||||
.<span class="ident">extra</span>(<span class="string">"drone"</span>, <span class="number">1.0</span>, <span class="string">"The traffic drone"</span>)
|
||||
.<span class="ident">extra</span>(<span class="string">"drone.svg"</span>, <span class="number">1.0</span>, <span class="string">"The traffic drone"</span>)
|
||||
.<span class="ident">player</span>(<span class="string">"Is that... duct tape?"</span>)
|
||||
.<span class="ident">boss</span>(
|
||||
<span class="string">"Can't spit anymore cause of COVID and don't get me started on prayers. Well, off to \
|
||||
|
Loading…
Reference in New Issue
Block a user