mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-27 00:12:55 +03:00
32 lines
10 KiB
HTML
32 lines
10 KiB
HTML
<!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_info` mod in crate `game`."><meta name="keywords" content="rust, rustlang, rust-lang, built_info"><title>game::pregame::built_info - 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="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[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'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module built_info</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../../index.html'>game</a>::<wbr><a href='../index.html'>pregame</a></p><script>window.sidebarCurrent = {name: 'built_info', ty: 'mod', 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><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/pregame.rs.html#529-547' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>game</a>::<wbr><a href='../index.html'>pregame</a>::<wbr><a class="mod" href=''>built_info</a></span></h1><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
|
||
<table><tr class='module-item'><td><a class="constant" href="constant.BUILT_TIME_UTC.html" title='game::pregame::built_info::BUILT_TIME_UTC constant'>BUILT_TIME_UTC</a></td><td class='docblock-short'><p>The built-time in RFC2822, UTC</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_ENDIAN.html" title='game::pregame::built_info::CFG_ENDIAN constant'>CFG_ENDIAN</a></td><td class='docblock-short'><p>The endianness, given by <code>cfg!(target_endian)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_ENV.html" title='game::pregame::built_info::CFG_ENV constant'>CFG_ENV</a></td><td class='docblock-short'><p>The toolchain-environment, given by <code>cfg!(target_env)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_FAMILY.html" title='game::pregame::built_info::CFG_FAMILY constant'>CFG_FAMILY</a></td><td class='docblock-short'><p>The OS-family, given by <code>cfg!(target_family)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_OS.html" title='game::pregame::built_info::CFG_OS constant'>CFG_OS</a></td><td class='docblock-short'><p>The operating system, given by <code>cfg!(target_os)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_POINTER_WIDTH.html" title='game::pregame::built_info::CFG_POINTER_WIDTH constant'>CFG_POINTER_WIDTH</a></td><td class='docblock-short'><p>The pointer width, given by <code>cfg!(target_pointer_width)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CFG_TARGET_ARCH.html" title='game::pregame::built_info::CFG_TARGET_ARCH constant'>CFG_TARGET_ARCH</a></td><td class='docblock-short'><p>The target architecture, given by <code>cfg!(target_arch)</code>.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.CI_PLATFORM.html" title='game::pregame::built_info::CI_PLATFORM constant'>CI_PLATFORM</a></td><td class='docblock-short'><p>The Continuous Integration platform detected during compilation.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.DEBUG.html" title='game::pregame::built_info::DEBUG constant'>DEBUG</a></td><td class='docblock-short'><p>Value of DEBUG for the profile used during compilation.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.FEATURES.html" title='game::pregame::built_info::FEATURES constant'>FEATURES</a></td><td class='docblock-short'><p>The features that were enabled during compilation.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.FEATURES_STR.html" title='game::pregame::built_info::FEATURES_STR constant'>FEATURES_STR</a></td><td class='docblock-short'><p>The features as a comma-separated string.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.HOST.html" title='game::pregame::built_info::HOST constant'>HOST</a></td><td class='docblock-short'><p>The host triple of the rust compiler.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.NUM_JOBS.html" title='game::pregame::built_info::NUM_JOBS constant'>NUM_JOBS</a></td><td class='docblock-short'><p>The parallelism that was specified during compilation.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.OPT_LEVEL.html" title='game::pregame::built_info::OPT_LEVEL constant'>OPT_LEVEL</a></td><td class='docblock-short'><p>Value of OPT_LEVEL for the profile used during compilation.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_AUTHORS.html" title='game::pregame::built_info::PKG_AUTHORS constant'>PKG_AUTHORS</a></td><td class='docblock-short'><p>A colon-separated list of authors.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_DESCRIPTION.html" title='game::pregame::built_info::PKG_DESCRIPTION constant'>PKG_DESCRIPTION</a></td><td class='docblock-short'><p>The description.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_HOMEPAGE.html" title='game::pregame::built_info::PKG_HOMEPAGE constant'>PKG_HOMEPAGE</a></td><td class='docblock-short'><p>The homepage.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_NAME.html" title='game::pregame::built_info::PKG_NAME constant'>PKG_NAME</a></td><td class='docblock-short'><p>The name of the package.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_VERSION.html" title='game::pregame::built_info::PKG_VERSION constant'>PKG_VERSION</a></td><td class='docblock-short'><p>The full version.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_VERSION_MAJOR.html" title='game::pregame::built_info::PKG_VERSION_MAJOR constant'>PKG_VERSION_MAJOR</a></td><td class='docblock-short'><p>The major version.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_VERSION_MINOR.html" title='game::pregame::built_info::PKG_VERSION_MINOR constant'>PKG_VERSION_MINOR</a></td><td class='docblock-short'><p>The minor version.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_VERSION_PATCH.html" title='game::pregame::built_info::PKG_VERSION_PATCH constant'>PKG_VERSION_PATCH</a></td><td class='docblock-short'><p>The patch version.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PKG_VERSION_PRE.html" title='game::pregame::built_info::PKG_VERSION_PRE constant'>PKG_VERSION_PRE</a></td><td class='docblock-short'><p>The pre-release version.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PROFILE.html" title='game::pregame::built_info::PROFILE constant'>PROFILE</a></td><td class='docblock-short'><p><code>release</code> for release builds, <code>debug</code> for other builds.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.RUSTC.html" title='game::pregame::built_info::RUSTC constant'>RUSTC</a></td><td class='docblock-short'><p>The compiler that cargo resolved to use.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.RUSTC_VERSION.html" title='game::pregame::built_info::RUSTC_VERSION constant'>RUSTC_VERSION</a></td><td class='docblock-short'><p>The output of <code>rustc -V</code></p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.RUSTDOC.html" title='game::pregame::built_info::RUSTDOC constant'>RUSTDOC</a></td><td class='docblock-short'><p>The documentation generator that cargo resolved to use.</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.RUSTDOC_VERSION.html" title='game::pregame::built_info::RUSTDOC_VERSION constant'>RUSTDOC_VERSION</a></td><td class='docblock-short'><p>The output of <code>rustdoc -V</code></p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.TARGET.html" title='game::pregame::built_info::TARGET constant'>TARGET</a></td><td class='docblock-short'><p>The target triple that was being compiled for.</p>
|
||
</td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
|
||
<table><tr class='module-item'><td><a class="fn" href="fn.time.html" title='game::pregame::built_info::time fn'>time</a></td><td class='docblock-short'></td></tr></table></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> |