<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `common` mod in crate `game`."><metaname="keywords"content="rust, rustlang, rust-lang, common"><title>game::common - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../ayu.css"disabled><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="icon"type="image/svg+xml"href="../../favicon.svg">
<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 mod"><!--[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">Module common</p><divclass="sidebar-elems"><divclass="block items"><ul><li><ahref="#reexports">Re-exports</a></li><li><ahref="#modules">Modules</a></li><li><ahref="#structs">Structs</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass="location"><ahref="../index.html">game</a></p><script>window.sidebarCurrent={name:"common",ty:"mod",relpath:"../"};</script><scriptdefersrc="../sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"role="menu"></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><buttontype="button"class="help-button">?</button>
<table><tr><td><code>pub use self::warp::<aclass="fn"href="../../game/common/warp/fn.warp_to_id.html"title="fn game::common::warp::warp_to_id">warp_to_id</a>;</code></td></tr><tr><td><code>pub use self::warp::<aclass="struct"href="../../game/common/warp/struct.Warping.html"title="struct game::common::warp::Warping">Warping</a>;</code></td></tr></table><h2id="modules"class="section-header"><ahref="#modules">Modules</a></h2>
<table><trclass="module-item"><td><aclass="fn"href="fn.checkbox_per_mode.html"title="game::common::checkbox_per_mode fn">checkbox_per_mode</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.cmp_duration_shorter.html"title="game::common::cmp_duration_shorter fn">cmp_duration_shorter</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.color_for_agent_type.html"title="game::common::color_for_agent_type fn">color_for_agent_type</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.color_for_mode.html"title="game::common::color_for_mode fn">color_for_mode</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.color_for_trip_phase.html"title="game::common::color_for_trip_phase fn">color_for_trip_phase</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.intersections_from_roads.html"title="game::common::intersections_from_roads fn">intersections_from_roads</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="fn"href="fn.jump_to_time_upon_startup.html"title="game::common::jump_to_time_upon_startup fn">jump_to_time_upon_startup</a></td><tdclass="docblock-short"><p>If you want a simulation to start after midnight, pass the result of this to