This commit is contained in:
dabreegster 2024-01-25 11:15:06 +00:00
parent 24dc80a90f
commit 960960eecd
125 changed files with 282 additions and 282 deletions

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 `maybe_read_binary` fn in crate `abstio`."><title>maybe_read_binary in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">maybe_read_binary</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io_native.rs.html#50-57">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn maybe_read_binary&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre></section></div></main></body></html>

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 `maybe_read_json` fn in crate `abstio`."><title>maybe_read_json in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">maybe_read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#10-21">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn maybe_read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre></section></div></main></body></html>

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="May be a JSON or binary file. Panics on failure."><title>must_read_object in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">must_read_object</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#47-52">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn must_read_object&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; T</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>May be a JSON or binary file. Panics on failure.</p>
</div></details></section></div></main></body></html>

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 `read_binary` fn in crate `abstio`."><title>read_binary in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">read_binary</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#30-35">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_binary&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; T</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `read_json` fn in crate `abstio`."><title>read_json in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#23-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, timer: &amp;mut Timer&lt;'_&gt;) -&gt; T</code></pre></section></div></main></body></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 `read_json` fn in crate `abstio`."><title>read_json in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#23-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; T</code></pre></section></div></main></body></html>

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="May be a JSON or binary file"><title>read_object in abstio - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">abstio</a>::<wbr><a class="fn" href="#">read_object</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/abstio/io.rs.html#38-44">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_object&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>May be a JSON or binary file</p>
</div></details></section></div></main></body></html>

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 `maybe_read_json` fn in crate `abstio`."><title>maybe_read_json in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">maybe_read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#10-21">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn maybe_read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre></section></div></main></body></html>

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="May be a JSON or binary file. Panics on failure."><title>must_read_object in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">must_read_object</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#47-52">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn must_read_object&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; T</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>May be a JSON or binary file. Panics on failure.</p>
</div></details></section></div></main></body></html>

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 `read_binary` fn in crate `abstio`."><title>read_binary in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">read_binary</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#30-35">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_binary&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; T</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `read_json` fn in crate `abstio`."><title>read_json in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#23-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, timer: &amp;mut Timer&lt;'_&gt;) -&gt; T</code></pre></section></div></main></body></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 `read_json` fn in crate `abstio`."><title>read_json in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">read_json</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#23-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_json&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;) -&gt; T</code></pre></section></div></main></body></html>

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="May be a JSON or binary file"><title>read_object in abstio::io - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io</a>::<wbr><a class="fn" href="#">read_object</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io.rs.html#38-44">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn read_object&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>May be a JSON or binary file</p>
</div></details></section></div></main></body></html>

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 `maybe_read_binary` fn in crate `abstio`."><title>maybe_read_binary in abstio::io_native - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="abstio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../abstio/index.html">abstio</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In abstio::io_native</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">abstio</a>::<wbr><a href="index.html">io_native</a>::<wbr><a class="fn" href="#">maybe_read_binary</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/abstio/io_native.rs.html#50-57">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn maybe_read_binary&lt;T: <a class="trait" href="https://docs.rs/serde/1.0.195/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>&gt;(
path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;T&gt;</code></pre></section></div></main></body></html>

View File

@ -7,7 +7,7 @@
last_printed_at: Instant,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.inner" class="structfield small-section-header"><a href="#structfield.inner" class="anchor field">§</a><code>inner: <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/buffered/bufreader/struct.BufReader.html" title="struct std::io::buffered::bufreader::BufReader">BufReader</a>&lt;<a class="struct" href="https://docs.rs/fs-err/2.11.0/fs_err/file/struct.File.html" title="struct fs_err::file::File">File</a>&gt;</code></span><span id="structfield.path" class="structfield small-section-header"><a href="#structfield.path" class="anchor field">§</a><code>path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><span id="structfield.processed_bytes" class="structfield small-section-header"><a href="#structfield.processed_bytes" class="anchor field">§</a><code>processed_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.total_bytes" class="structfield small-section-header"><a href="#structfield.total_bytes" class="anchor field">§</a><code>total_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.started_at" class="structfield small-section-header"><a href="#structfield.started_at" class="anchor field">§</a><code>started_at: Instant</code></span><span id="structfield.last_printed_at" class="structfield small-section-header"><a href="#structfield.last_printed_at" class="anchor field">§</a><code>last_printed_at: Instant</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-FileWithProgress" class="impl"><a class="src rightside" href="../../src/abstio/io_native.rs.html#128-160">source</a><a href="#impl-FileWithProgress" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../../src/abstio/io_native.rs.html#132-159">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="struct" href="struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut Timer&lt;'_&gt;)&gt;)&gt;</h4></section></summary><div class="docblock"><p>Also hands back a callback thatll add the final result to the timer. The caller must run
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="struct" href="struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;)&gt;)&gt;</h4></section></summary><div class="docblock"><p>Also hands back a callback thatll add the final result to the timer. The caller must run
it.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Read-for-FileWithProgress" class="impl"><a class="src rightside" href="../../src/abstio/io_native.rs.html#162-200">source</a><a href="#impl-Read-for-FileWithProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="struct" href="struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read" class="method trait-impl"><a class="src rightside" href="../../src/abstio/io_native.rs.html#163-199">source</a><a href="#method.read" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#tymethod.read" class="fn">read</a>(&amp;mut self, buf: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u8.html">u8</a>]) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Pull some bytes from this source into the specified buffer, returning
how many bytes were read. <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#tymethod.read">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.read_vectored" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.36.0">1.36.0</span> · <a class="src" href="https://doc.rust-lang.org/1.75.0/src/std/io/mod.rs.html#707">source</a></span><a href="#method.read_vectored" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.read_vectored" class="fn">read_vectored</a>(&amp;mut self, bufs: &amp;mut [<a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/struct.IoSliceMut.html" title="struct std::io::IoSliceMut">IoSliceMut</a>&lt;'_&gt;]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Like <code>read</code>, except that it reads into a slice of buffers. <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.read_vectored">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_read_vectored" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/std/io/mod.rs.html#720">source</a><a href="#method.is_read_vectored" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.is_read_vectored" class="fn">is_read_vectored</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>can_vector</code>)</span></div></span><div class='docblock'>Determines if this <code>Read</code>er has an efficient <code>read_vectored</code>

View File

@ -7,7 +7,7 @@
last_printed_at: Instant,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.inner" class="structfield small-section-header"><a href="#structfield.inner" class="anchor field">§</a><code>inner: <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/buffered/bufreader/struct.BufReader.html" title="struct std::io::buffered::bufreader::BufReader">BufReader</a>&lt;<a class="struct" href="https://docs.rs/fs-err/2.11.0/fs_err/file/struct.File.html" title="struct fs_err::file::File">File</a>&gt;</code></span><span id="structfield.path" class="structfield small-section-header"><a href="#structfield.path" class="anchor field">§</a><code>path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><span id="structfield.processed_bytes" class="structfield small-section-header"><a href="#structfield.processed_bytes" class="anchor field">§</a><code>processed_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.total_bytes" class="structfield small-section-header"><a href="#structfield.total_bytes" class="anchor field">§</a><code>total_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.started_at" class="structfield small-section-header"><a href="#structfield.started_at" class="anchor field">§</a><code>started_at: Instant</code></span><span id="structfield.last_printed_at" class="structfield small-section-header"><a href="#structfield.last_printed_at" class="anchor field">§</a><code>last_printed_at: Instant</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-FileWithProgress" class="impl"><a class="src rightside" href="../src/abstio/io_native.rs.html#128-160">source</a><a href="#impl-FileWithProgress" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="io_native/struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/abstio/io_native.rs.html#132-159">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="struct" href="io_native/struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut Timer&lt;'_&gt;)&gt;)&gt;</h4></section></summary><div class="docblock"><p>Also hands back a callback thatll add the final result to the timer. The caller must run
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="struct" href="io_native/struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut <a class="struct" href="../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;)&gt;)&gt;</h4></section></summary><div class="docblock"><p>Also hands back a callback thatll add the final result to the timer. The caller must run
it.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Read-for-FileWithProgress" class="impl"><a class="src rightside" href="../src/abstio/io_native.rs.html#162-200">source</a><a href="#impl-Read-for-FileWithProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="struct" href="io_native/struct.FileWithProgress.html" title="struct abstio::io_native::FileWithProgress">FileWithProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read" class="method trait-impl"><a class="src rightside" href="../src/abstio/io_native.rs.html#163-199">source</a><a href="#method.read" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#tymethod.read" class="fn">read</a>(&amp;mut self, buf: &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u8.html">u8</a>]) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Pull some bytes from this source into the specified buffer, returning
how many bytes were read. <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#tymethod.read">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.read_vectored" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.36.0">1.36.0</span> · <a class="src" href="https://doc.rust-lang.org/1.75.0/src/std/io/mod.rs.html#707">source</a></span><a href="#method.read_vectored" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.read_vectored" class="fn">read_vectored</a>(&amp;mut self, bufs: &amp;mut [<a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/struct.IoSliceMut.html" title="struct std::io::IoSliceMut">IoSliceMut</a>&lt;'_&gt;]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Like <code>read</code>, except that it reads into a slice of buffers. <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.read_vectored">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_read_vectored" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/std/io/mod.rs.html#720">source</a><a href="#method.is_read_vectored" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html#method.is_read_vectored" class="fn">is_read_vectored</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>can_vector</code>)</span></div></span><div class='docblock'>Determines if this <code>Read</code>er has an efficient <code>read_vectored</code>

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<!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 `add_lunch_trips` fn in crate `cli`."><title>add_lunch_trips in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">add_lunch_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#68-127">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn add_lunch_trips(
scenario: &amp;mut Scenario,
map: &amp;Map,
scenario: &amp;mut <a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>,
map: &amp;<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
)</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `add_return_trips` fn in crate `cli`."><title>add_return_trips in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">add_return_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#42-62">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn add_return_trips(scenario: &amp;mut Scenario, rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>)</code></pre></section></div></main></body></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 `add_return_trips` fn in crate `cli`."><title>add_return_trips in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">add_return_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#42-62">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn add_return_trips(scenario: &amp;mut <a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>, rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>)</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `delete_cancelled_trips` fn in crate `cli`."><title>delete_cancelled_trips in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">delete_cancelled_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#154-159">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn delete_cancelled_trips(scenario: Scenario) -&gt; Scenario</code></pre></section></div></main></body></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 `delete_cancelled_trips` fn in crate `cli`."><title>delete_cancelled_trips in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">delete_cancelled_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#154-159">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn delete_cancelled_trips(scenario: <a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>) -&gt; <a class="struct" href="../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a></code></pre></section></div></main></body></html>

View File

@ -1,7 +1,7 @@
<!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 `pick_lunch_spot` fn in crate `cli`."><title>pick_lunch_spot in cli::augment_scenario - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::augment_scenario</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">augment_scenario</a>::<wbr><a class="fn" href="#">pick_lunch_spot</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/augment_scenario.rs.html#129-152">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn pick_lunch_spot(
work: BuildingID,
work: <a class="struct" href="../../map_model/objects/building/struct.BuildingID.html" title="struct map_model::objects::building::BuildingID">BuildingID</a>,
has_bike: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
closest_spots: &amp;FindClosest&lt;BuildingID&gt;,
map: &amp;Map,
closest_spots: &amp;FindClosest&lt;<a class="struct" href="../../map_model/objects/building/struct.BuildingID.html" title="struct map_model::objects::building::BuildingID">BuildingID</a>&gt;,
map: &amp;<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(BuildingID, TripMode)&gt;</code></pre></section></div></main></body></html>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="../../map_model/objects/building/struct.BuildingID.html" title="struct map_model::objects::building::BuildingID">BuildingID</a>, <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>)&gt;</code></pre></section></div></main></body></html>

View File

@ -2,7 +2,7 @@
input_scenario: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
should_add_return_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
should_add_lunch_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;,
modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;,
should_delete_cancelled_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
rng_seed: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u64.html">u64</a>
)</code></pre></section></div></main></body></html>

View File

@ -11,7 +11,7 @@
input_scenario: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
add_return_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
add_lunch_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
scenario_modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;,
scenario_modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;,
delete_cancelled_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
rng_seed: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u64.html">u64</a>,
},
@ -53,7 +53,7 @@
inferred_sidewalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
opts: RawToMapOptions,
opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a>,
},
OneshotImport {
osm_input: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
@ -61,7 +61,7 @@
inferred_sidewalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
opts: RawToMapOptions,
opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a>,
},
RegenerateEverything {
shard_num: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>,
@ -85,7 +85,7 @@ added in; be careful about running this on the correct input.</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.add_return_trips" class="small-section-header"><a href="#variant.AugmentScenario.field.add_return_trips" class="anchor field">§</a><code>add_return_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>For people with only a single trip, add a return trip back home sometime 4-12 hours
later</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.add_lunch_trips" class="small-section-header"><a href="#variant.AugmentScenario.field.add_lunch_trips" class="anchor field">§</a><code>add_lunch_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Before a persons final trip home, insert a round-trip to a nearby cafe or restaurant</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.scenario_modifiers" class="small-section-header"><a href="#variant.AugmentScenario.field.scenario_modifiers" class="anchor field">§</a><code>scenario_modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;</code></span><div class="docblock"><p>A JSON list of modifiers to transform the scenario. These can be generated with the GUI.</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.scenario_modifiers" class="small-section-header"><a href="#variant.AugmentScenario.field.scenario_modifiers" class="anchor field">§</a><code>scenario_modifiers: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;</code></span><div class="docblock"><p>A JSON list of modifiers to transform the scenario. These can be generated with the GUI.</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.delete_cancelled_trips" class="small-section-header"><a href="#variant.AugmentScenario.field.delete_cancelled_trips" class="anchor field">§</a><code>delete_cancelled_trips: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Delete cancelled trips, and delete people with no remaining trips.</p>
</div></div><div class="sub-variant-field"><span id="variant.AugmentScenario.field.rng_seed" class="small-section-header"><a href="#variant.AugmentScenario.field.rng_seed" class="anchor field">§</a><code>rng_seed: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>A seed for generating random numbers</p>
</div></div></div><div class="docblock"><p>Modifies the schedule of every person in an existing scenario.</p>
@ -129,7 +129,7 @@ If false, no inference will occur and separate sidewalks and crossings will be i
</div></div><div class="sub-variant-field"><span id="variant.OneStepImport.field.filter_crosswalks" class="small-section-header"><a href="#variant.OneStepImport.field.filter_crosswalks" class="anchor field">§</a><code>filter_crosswalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Downgrade crosswalks not matching a <code>highway=crossing</code> OSM node into unmarked crossings.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneStepImport.field.create_uk_travel_demand_model" class="small-section-header"><a href="#variant.OneStepImport.field.create_uk_travel_demand_model" class="anchor field">§</a><code>create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Generate a simple travel demand model based on 2011 UK commuting data. This will only
work if the boundary is in the UK.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneStepImport.field.opts" class="small-section-header"><a href="#variant.OneStepImport.field.opts" class="anchor field">§</a><code>opts: RawToMapOptions</code></span></div></div><div class="docblock"><p>Imports a one-shot A/B Street map from a GeoJSON boundary in a single command.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneStepImport.field.opts" class="small-section-header"><a href="#variant.OneStepImport.field.opts" class="anchor field">§</a><code>opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a></code></span></div></div><div class="docblock"><p>Imports a one-shot A/B Street map from a GeoJSON boundary in a single command.</p>
</div><section id="variant.OneshotImport" class="variant"><a href="#variant.OneshotImport" class="anchor">§</a><h3 class="code-header">OneshotImport</h3></section><div class="sub-variant" id="variant.OneshotImport.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.OneshotImport.field.osm_input" class="small-section-header"><a href="#variant.OneshotImport.field.osm_input" class="anchor field">§</a><code>osm_input: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span></div><div class="sub-variant-field"><span id="variant.OneshotImport.field.clip_path" class="small-section-header"><a href="#variant.OneshotImport.field.clip_path" class="anchor field">§</a><code>clip_path: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>The path to a GeoJSON file with one boundary polygon. If omitted, a boundary will be
derived from the .osm file, but borders will likely be broken or missing.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneshotImport.field.inferred_sidewalks" class="small-section-header"><a href="#variant.OneshotImport.field.inferred_sidewalks" class="anchor field">§</a><code>inferred_sidewalks: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>If true, roads without explicitly tagged sidewalks may be assigned sidewalks or shoulders.
@ -138,7 +138,7 @@ If false, no inference will occur and separate sidewalks and crossings will be i
Downgrade crosswalks not matching a <code>highway=crossing</code> OSM node into unmarked crossings.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneshotImport.field.create_uk_travel_demand_model" class="small-section-header"><a href="#variant.OneshotImport.field.create_uk_travel_demand_model" class="anchor field">§</a><code>create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Generate a simple travel demand model based on 2011 UK commuting data. This will only
work if the boundary is in the UK.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneshotImport.field.opts" class="small-section-header"><a href="#variant.OneshotImport.field.opts" class="anchor field">§</a><code>opts: RawToMapOptions</code></span></div></div><div class="docblock"><p>Imports a one-shot A/B Street map from an .osm file in a single command.</p>
</div></div><div class="sub-variant-field"><span id="variant.OneshotImport.field.opts" class="small-section-header"><a href="#variant.OneshotImport.field.opts" class="anchor field">§</a><code>opts: <a class="struct" href="../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a></code></span></div></div><div class="docblock"><p>Imports a one-shot A/B Street map from an .osm file in a single command.</p>
</div><section id="variant.RegenerateEverything" class="variant"><a href="#variant.RegenerateEverything" class="anchor">§</a><h3 class="code-header">RegenerateEverything</h3></section><div class="sub-variant" id="variant.RegenerateEverything.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.RegenerateEverything.field.shard_num" class="small-section-header"><a href="#variant.RegenerateEverything.field.shard_num" class="anchor field">§</a><code>shard_num: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><div class="docblock"><p>If this command is being run in the cloud, parallelize the jobs by specifying which
shard this invocation should run.</p>
</div></div><div class="sub-variant-field"><span id="variant.RegenerateEverything.field.num_shards" class="small-section-header"><a href="#variant.RegenerateEverything.field.num_shards" class="anchor field">§</a><code>num_shards: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><div class="docblock"><p>If this command is being run in the cloud, parallelize the jobs by specifying how many

View File

@ -1 +1 @@
<!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 `parse_modifiers` fn in crate `cli`."><title>parse_modifiers in cli - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">cli</a>::<wbr><a class="fn" href="#">parse_modifiers</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/cli/main.rs.html#230-232">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) fn parse_modifiers(x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;&gt;</code></pre></section></div></main></body></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 `parse_modifiers` fn in crate `cli`."><title>parse_modifiers in cli - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="index.html">cli</a>::<wbr><a class="fn" href="#">parse_modifiers</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/cli/main.rs.html#230-232">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) fn parse_modifiers(x: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;&gt;</code></pre></section></div></main></body></html>

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 `generate_buildings_on_empty_residential_roads` fn in crate `cli`."><title>generate_buildings_on_empty_residential_roads in cli::generate_houses - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::generate_houses</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">generate_houses</a>::<wbr><a class="fn" href="#">generate_buildings_on_empty_residential_roads</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/generate_houses.rs.html#35-147">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn generate_buildings_on_empty_residential_roads(
map: &amp;Map,
map: &amp;<a class="struct" href="../../map_model/struct.Map.html" title="struct map_model::Map">Map</a>,
rng: &amp;mut <a class="struct" href="https://docs.rs/rand_xorshift/0.3.0/rand_xorshift/struct.XorShiftRng.html" title="struct rand_xorshift::XorShiftRng">XorShiftRng</a>,
timer: &amp;mut Timer&lt;'_&gt;
timer: &amp;mut <a class="struct" href="../../abstutil/time/struct.Timer.html" title="struct abstutil::time::Timer">Timer</a>&lt;'_&gt;
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Polygon&gt;</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `parse_trips` fn in crate `cli`."><title>parse_trips in cli::import_grid2demand - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::import_grid2demand</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">import_grid2demand</a>::<wbr><a class="fn" href="#">parse_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/import_grid2demand.rs.html#36-63">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn parse_trips(csv_path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ExternalPerson&gt;&gt;</code></pre></section></div></main></body></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 `parse_trips` fn in crate `cli`."><title>parse_trips in cli::import_grid2demand - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In cli::import_grid2demand</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">cli</a>::<wbr><a href="index.html">import_grid2demand</a>::<wbr><a class="fn" href="#">parse_trips</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/cli/import_grid2demand.rs.html#36-63">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn parse_trips(csv_path: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../synthpop/external/struct.ExternalPerson.html" title="struct synthpop::external::ExternalPerson">ExternalPerson</a>&gt;&gt;</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
name: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
use_geofabrik: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
use_osmium: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
options: Options,
options: <a class="struct" href="../../convert_osm/struct.Options.html" title="struct convert_osm::Options">Options</a>,
create_uk_travel_demand_model: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
opts: RawToMapOptions
opts: <a class="struct" href="../../map_model/make/struct.RawToMapOptions.html" title="struct map_model::make::RawToMapOptions">RawToMapOptions</a>
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.75/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.unit.html">()</a>&gt;</code></pre></section></div></main></body></html>

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 `ModifierList` type in crate `cli`."><title>ModifierList in cli - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">ModifierList</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#fields">Fields</a></h3><ul class="block field"><li><a href="#structfield.buf">buf</a></li><li><a href="#structfield.len">len</a></li></ul></section><h2><a href="index.html">In crate cli</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="index.html">cli</a>::<wbr><a class="type" href="#">ModifierList</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/cli/main.rs.html#228">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) type ModifierList = <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioModifier&gt;;</code></pre><h2 id="aliased-type" class="small-section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct ModifierList {
buf: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/raw_vec/struct.RawVec.html" title="struct alloc::raw_vec::RawVec">RawVec</a>&lt;ScenarioModifier&gt;,
<!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 `ModifierList` type in crate `cli`."><title>ModifierList in cli - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../cli/index.html">cli</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">ModifierList</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#fields">Fields</a></h3><ul class="block field"><li><a href="#structfield.buf">buf</a></li><li><a href="#structfield.len">len</a></li></ul></section><h2><a href="index.html">In crate cli</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="index.html">cli</a>::<wbr><a class="type" href="#">ModifierList</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/cli/main.rs.html#228">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) type ModifierList = <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;;</code></pre><h2 id="aliased-type" class="small-section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct ModifierList {
buf: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/raw_vec/struct.RawVec.html" title="struct alloc::raw_vec::RawVec">RawVec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;,
len: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.buf" class="structfield small-section-header"><a href="#structfield.buf" class="anchor field">§</a><code>buf: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/raw_vec/struct.RawVec.html" title="struct alloc::raw_vec::RawVec">RawVec</a>&lt;ScenarioModifier&gt;</code></span><span id="structfield.len" class="structfield small-section-header"><a href="#structfield.len" class="anchor field">§</a><code>len: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><script src="../type.impl/alloc/vec/struct.Vec.js" data-self-path="cli::ModifierList" async></script></section></div></main></body></html>
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.buf" class="structfield small-section-header"><a href="#structfield.buf" class="anchor field">§</a><code>buf: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/raw_vec/struct.RawVec.html" title="struct alloc::raw_vec::RawVec">RawVec</a>&lt;<a class="enum" href="../synthpop/modifier/enum.ScenarioModifier.html" title="enum synthpop::modifier::ScenarioModifier">ScenarioModifier</a>&gt;</code></span><span id="structfield.len" class="structfield small-section-header"><a href="#structfield.len" class="anchor field">§</a><code>len: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><script src="../type.impl/alloc/vec/struct.Vec.js" data-self-path="cli::ModifierList" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!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 `controls_to_params` fn in crate `game`."><title>controls_to_params in game::debug::routes - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::debug::routes</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">debug</a>::<wbr><a href="index.html">routes</a>::<wbr><a class="fn" href="#">controls_to_params</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/debug/routes.rs.html#285-302">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn controls_to_params(panel: &amp;Panel) -&gt; (<a class="enum" href="../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>, RoutingParams)</code></pre></section></div></main></body></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 `controls_to_params` fn in crate `game`."><title>controls_to_params in game::debug::routes - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::debug::routes</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">debug</a>::<wbr><a href="index.html">routes</a>::<wbr><a class="fn" href="#">controls_to_params</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/debug/routes.rs.html#285-302">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn controls_to_params(panel: &amp;Panel) -&gt; (TripMode, RoutingParams)</code></pre></section></div></main></body></html>

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 `params_to_controls` fn in crate `game`."><title>params_to_controls in game::debug::routes - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::debug::routes</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">debug</a>::<wbr><a href="index.html">routes</a>::<wbr><a class="fn" href="#">params_to_controls</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/debug/routes.rs.html#195-283">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn params_to_controls(
ctx: &amp;mut EventCtx&lt;'_&gt;,
mode: <a class="enum" href="../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>,
mode: TripMode,
params: &amp;RoutingParams
) -&gt; Widget</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,12 +5,12 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.per_bldg" class="structfield small-section-header"><a href="#structfield.per_bldg" class="anchor field">§</a><code>per_bldg: Counter&lt;BuildingID&gt;</code></span><span id="structfield.panel" class="structfield small-section-header"><a href="#structfield.panel" class="anchor field">§</a><code>panel: Panel</code></span><span id="structfield.draw" class="structfield small-section-header"><a href="#structfield.draw" class="anchor field">§</a><code>draw: Drawable</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PopularDestinations" class="impl"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#19-110">source</a><a href="#impl-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#20-30">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>,
scenario: &amp;<a class="struct" href="../../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>
scenario: &amp;Scenario
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section><section id="method.make" class="method"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#32-109">source</a><h4 class="code-header">fn <a href="#method.make" class="fn">make</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>,
per_bldg: Counter&lt;BuildingID&gt;,
opts: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../map_gui/tools/heatmap/struct.HeatmapOptions.html" title="struct map_gui::tools::heatmap::HeatmapOptions">HeatmapOptions</a>&gt;
opts: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;HeatmapOptions&gt;
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-State%3CApp%3E-for-PopularDestinations" class="impl"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#112-168">source</a><a href="#impl-State%3CApp%3E-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl State&lt;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>&gt; for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.event" class="method trait-impl"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#113-146">source</a><a href="#method.event" class="anchor">§</a><h4 class="code-header">fn <a class="fn">event</a>(&amp;mut self, ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; Transition&lt;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>&gt;</h4></section></summary><div class='docblock'>Respond to a UI event, such as input or time passing.</div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../../src/game/devtools/destinations.rs.html#148-167">source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>)</h4></section></summary><div class='docblock'>Draw</div></details><details class="toggle method-toggle" open><summary><section id="method.draw_baselayer" class="method trait-impl"><a href="#method.draw_baselayer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">draw_baselayer</a>(&amp;self) -&gt; DrawBaselayer</h4></section></summary><div class='docblock'>Specifies what to draw before draw()</div></details><details class="toggle method-toggle" open><summary><section id="method.on_destroy" class="method trait-impl"><a href="#method.on_destroy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">on_destroy</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;mut A</a>)</h4></section></summary><div class='docblock'>Before this state is popped or replaced, call this.</div></details><details class="toggle method-toggle" open><summary><section id="method.recreate" class="method trait-impl"><a href="#method.recreate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">recreate</a>(&amp;mut self, _: &amp;mut EventCtx&lt;'_&gt;, _: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;mut A</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;A&gt;&gt;</h4></section></summary><div class='docblock'>Respond to <code>Transition::Recreate</code> by assuming state in the app has changed, but preserving
the <code>State</code>-specific state appropriately.</div></details></div></details></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"><section id="impl-RefUnwindSafe-for-PopularDestinations" class="impl"><a href="#impl-RefUnwindSafe-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section><section id="impl-Send-for-PopularDestinations" class="impl"><a href="#impl-Send-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section><section id="impl-Sync-for-PopularDestinations" class="impl"><a href="#impl-Sync-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section><section id="impl-Unpin-for-PopularDestinations" class="impl"><a href="#impl-Unpin-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section><section id="impl-UnwindSafe-for-PopularDestinations" class="impl"><a href="#impl-UnwindSafe-for-PopularDestinations" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PopularDestinations.html" title="struct game::devtools::destinations::PopularDestinations">PopularDestinations</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where

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 `make_object` fn in crate `game`."><title>make_object in game::devtools::kml - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::devtools::kml</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">devtools</a>::<wbr><a href="index.html">kml</a>::<wbr><a class="fn" href="#">make_object</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/devtools/kml.rs.html#311-357">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn make_object(
cs: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>,
cs: &amp;ColorScheme,
bldg_lookup: &amp;<a class="struct" href="https://doc.rust-lang.org/1.75.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, BuildingID&gt;,
attribs: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
pts: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Pt2D&gt;,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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 `make_instructions` fn in crate `game`."><title>make_instructions in game::edit::zones - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::edit::zones</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">edit</a>::<wbr><a href="index.html">zones</a>::<wbr><a class="fn" href="#">make_instructions</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/edit/zones.rs.html#194-206">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn make_instructions(
ctx: &amp;mut EventCtx&lt;'_&gt;,
allow_through_traffic: &amp;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="enum" href="../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>&gt;
allow_through_traffic: &amp;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;TripMode&gt;
) -&gt; Widget</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!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 `endpoint` fn in crate `game`."><title>endpoint in game::info::trip - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::info::trip</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">endpoint</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/info/trip.rs.html#969-995">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn endpoint(endpt: &amp;<a class="enum" href="../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; (<a class="enum" href="../../id/enum.ID.html" title="enum game::id::ID">ID</a>, Pt2D, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></pre></section></div></main></body></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 `endpoint` fn in crate `game`."><title>endpoint in game::info::trip - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::info::trip</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">info</a>::<wbr><a href="index.html">trip</a>::<wbr><a class="fn" href="#">endpoint</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/info/trip.rs.html#969-995">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn endpoint(endpt: &amp;TripEndpoint, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; (<a class="enum" href="../../id/enum.ID.html" title="enum game::id::ID">ID</a>, Pt2D, <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></pre></section></div></main></body></html>

View File

@ -5,7 +5,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.tooltip" class="structfield small-section-header"><a href="#structfield.tooltip" class="anchor field">§</a><code>tooltip: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Text&gt;</code></span><span id="structfield.draw" class="structfield small-section-header"><a href="#structfield.draw" class="anchor field">§</a><code>draw: ToggleZoomed</code></span><span id="structfield.panel" class="structfield small-section-header"><a href="#structfield.panel" class="anchor field">§</a><code>panel: Panel</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SteepStreets" class="impl"><a class="src rightside" href="../../../src/game/layer/elevation.rs.html#46-157">source</a><a href="#impl-SteepStreets" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.SteepStreets.html" title="struct game::layer::elevation::SteepStreets">SteepStreets</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/game/layer/elevation.rs.html#47-65">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="struct" href="struct.SteepStreets.html" title="struct game::layer::elevation::SteepStreets">SteepStreets</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.make_colorer" class="method"><a class="src rightside" href="../../../src/game/layer/elevation.rs.html#68-124">source</a><h4 class="code-header">pub fn <a href="#method.make_colorer" class="fn">make_colorer</a>&lt;'a&gt;(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;'a <a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>
) -&gt; (<a class="struct" href="../../../map_gui/tools/colors/struct.ColorDiscrete.html" title="struct map_gui::tools::colors::ColorDiscrete">ColorDiscrete</a>&lt;'a&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f64.html">f64</a>, Widget)</h4></section></summary><div class="docblock"><p>Also returns the steepest street and a row explaining the uphill arrows</p>
) -&gt; (ColorDiscrete&lt;'a&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f64.html">f64</a>, Widget)</h4></section></summary><div class="docblock"><p>Also returns the steepest street and a row explaining the uphill arrows</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.make_legend" class="method"><a class="src rightside" href="../../../src/game/layer/elevation.rs.html#127-156">source</a><h4 class="code-header">pub fn <a href="#method.make_legend" class="fn">make_legend</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;
) -&gt; (<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>, Color)&gt;, Widget)</h4></section></summary><div class="docblock"><p>Returns the colored categories used and a row explaining the uphill arrows</p>

View File

@ -4,7 +4,7 @@
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.panel" class="structfield small-section-header"><a href="#structfield.panel" class="anchor field">§</a><code>panel: Panel</code></span><span id="structfield.draw" class="structfield small-section-header"><a href="#structfield.draw" class="anchor field">§</a><code>draw: ToggleZoomed</code></span><span id="structfield.name" class="structfield small-section-header"><a href="#structfield.name" class="anchor field">§</a><code>name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Static" class="impl"><a class="src rightside" href="../../../src/game/layer/map.rs.html#188-350">source</a><a href="#impl-Static" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Static.html" title="struct game::layer::map::Static">Static</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/game/layer/map.rs.html#189-202">source</a><h4 class="code-header">fn <a href="#method.new" class="fn">new</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
colorer: <a class="struct" href="../../../map_gui/tools/colors/struct.ColorDiscrete.html" title="struct map_gui::tools::colors::ColorDiscrete">ColorDiscrete</a>&lt;'_&gt;,
colorer: ColorDiscrete&lt;'_&gt;,
name: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>,
title: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
extra: Widget

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,14 +9,14 @@
on: Traversable,
map: &amp;Map,
sim: &amp;<a class="struct" href="../../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>,
cs: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>,
cs: &amp;ColorScheme,
prerender: &amp;Prerender
)</h4></section><details class="toggle method-toggle" open><summary><section id="method.calculate_unzoomed_agents" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#82-139">source</a><h4 class="code-header">pub fn <a href="#method.calculate_unzoomed_agents" class="fn">calculate_unzoomed_agents</a>&lt;P: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;Prerender&gt;&gt;(
&amp;mut self,
prerender: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;mut P</a>,
map: &amp;Map,
sim: &amp;<a class="struct" href="../../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>,
cs: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>
cs: &amp;ColorScheme
) -&gt; &amp;QuadTree&lt;<a class="enum" href="../../../sim/enum.AgentID.html" title="enum sim::AgentID">AgentID</a>&gt;</h4></section></summary><div class="docblock"><p>If the sim time has changed or the unzoomed agent filters have been modified, recalculate
the quadtree and drawable for all unzoomed agents.</p>
</div></details><section id="method.draw_unzoomed_agents" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#141-165">source</a><h4 class="code-header">pub fn <a href="#method.draw_unzoomed_agents" class="fn">draw_unzoomed_agents</a>(
@ -24,8 +24,8 @@ the quadtree and drawable for all unzoomed agents.</p>
g: &amp;mut GfxCtx&lt;'_&gt;,
map: &amp;Map,
sim: &amp;<a class="struct" href="../../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>,
cs: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>,
opts: &amp;<a class="struct" href="../../../map_gui/options/struct.Options.html" title="struct map_gui::options::Options">Options</a>
cs: &amp;ColorScheme,
opts: &amp;Options
)</h4></section></div></details></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"><section id="impl-RefUnwindSafe-for-AgentCache" class="impl"><a href="#impl-RefUnwindSafe-for-AgentCache" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.AgentCache.html" title="struct game::render::agents::AgentCache">AgentCache</a></h3></section><section id="impl-Send-for-AgentCache" class="impl"><a href="#impl-Send-for-AgentCache" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.AgentCache.html" title="struct game::render::agents::AgentCache">AgentCache</a></h3></section><section id="impl-Sync-for-AgentCache" class="impl"><a href="#impl-Sync-for-AgentCache" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.AgentCache.html" title="struct game::render::agents::AgentCache">AgentCache</a></h3></section><section id="impl-Unpin-for-AgentCache" class="impl"><a href="#impl-Unpin-for-AgentCache" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.AgentCache.html" title="struct game::render::agents::AgentCache">AgentCache</a></h3></section><section id="impl-UnwindSafe-for-AgentCache" class="impl"><a href="#impl-UnwindSafe-for-AgentCache" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.AgentCache.html" title="struct game::render::agents::AgentCache">AgentCache</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where

View File

@ -6,7 +6,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.cars" class="structfield small-section-header"><a href="#structfield.cars" class="anchor field">§</a><code>cars: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.bikes" class="structfield small-section-header"><a href="#structfield.bikes" class="anchor field">§</a><code>bikes: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.buses_and_trains" class="structfield small-section-header"><a href="#structfield.buses_and_trains" class="anchor field">§</a><code>buses_and_trains: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.peds" class="structfield small-section-header"><a href="#structfield.peds" class="anchor field">§</a><code>peds: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-UnzoomedAgents" class="impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#176-238">source</a><a href="#impl-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#177-184">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h4></section><section id="method.cars" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#186-188">source</a><h4 class="code-header">pub fn <a href="#method.cars" class="fn">cars</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="method.bikes" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#189-191">source</a><h4 class="code-header">pub fn <a href="#method.bikes" class="fn">bikes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="method.buses_and_trains" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#192-194">source</a><h4 class="code-header">pub fn <a href="#method.buses_and_trains" class="fn">buses_and_trains</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="method.peds" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#195-197">source</a><h4 class="code-header">pub fn <a href="#method.peds" class="fn">peds</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="method.color" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#199-230">source</a><h4 class="code-header">fn <a href="#method.color" class="fn">color</a>(
&amp;self,
agent: &amp;<a class="struct" href="../../../sim/render/struct.UnzoomedAgent.html" title="struct sim::render::UnzoomedAgent">UnzoomedAgent</a>,
color_scheme: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>
color_scheme: &amp;ColorScheme
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Color&gt;</h4></section><section id="method.update" class="method"><a class="src rightside" href="../../../src/game/render/agents.rs.html#232-237">source</a><h4 class="code-header">pub fn <a href="#method.update" class="fn">update</a>(&amp;mut self, panel: &amp;Panel)</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-UnzoomedAgents" class="impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#168">source</a><a href="#impl-Clone-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#168">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.75.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-UnzoomedAgents" class="impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#168">source</a><a href="#impl-PartialEq-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#168">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.75.0/src/core/cmp.rs.html#239">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-StructuralPartialEq-for-UnzoomedAgents" class="impl"><a class="src rightside" href="../../../src/game/render/agents.rs.html#168">source</a><a href="#impl-StructuralPartialEq-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section></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"><section id="impl-RefUnwindSafe-for-UnzoomedAgents" class="impl"><a href="#impl-RefUnwindSafe-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section><section id="impl-Send-for-UnzoomedAgents" class="impl"><a href="#impl-Send-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section><section id="impl-Sync-for-UnzoomedAgents" class="impl"><a href="#impl-Sync-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section><section id="impl-Unpin-for-UnzoomedAgents" class="impl"><a href="#impl-Unpin-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section><section id="impl-UnwindSafe-for-UnzoomedAgents" class="impl"><a href="#impl-UnwindSafe-for-UnzoomedAgents" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UnzoomedAgents.html" title="struct game::render::agents::UnzoomedAgents">UnzoomedAgents</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!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 `zoomed_color_car` fn in crate `game`."><title>zoomed_color_car in game::render::car - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::render::car</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">car</a>::<wbr><a class="fn" href="#">zoomed_color_car</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/render/car.rs.html#251-263">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn zoomed_color_car(input: &amp;<a class="struct" href="../../../sim/render/struct.DrawCarInput.html" title="struct sim::render::DrawCarInput">DrawCarInput</a>, sim: &amp;<a class="struct" href="../../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>, cs: &amp;<a class="struct" href="../../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>) -&gt; Color</code></pre></section></div></main></body></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 `zoomed_color_car` fn in crate `game`."><title>zoomed_color_car in game::render::car - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::render::car</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">game</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">car</a>::<wbr><a class="fn" href="#">zoomed_color_car</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/game/render/car.rs.html#251-263">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn zoomed_color_car(input: &amp;<a class="struct" href="../../../sim/render/struct.DrawCarInput.html" title="struct sim::render::DrawCarInput">DrawCarInput</a>, sim: &amp;<a class="struct" href="../../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>, cs: &amp;ColorScheme) -&gt; Color</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -3,5 +3,5 @@
map: &amp;Map,
sim: &amp;<a class="struct" href="../../sim/sim/struct.Sim.html" title="struct sim::sim::Sim">Sim</a>,
prerender: &amp;Prerender,
cs: &amp;<a class="struct" href="../../map_gui/colors/struct.ColorScheme.html" title="struct map_gui::colors::ColorScheme">ColorScheme</a>
cs: &amp;ColorScheme
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a>&gt;</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
<!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 `GameRenderable` trait in crate `game`."><title>GameRenderable in game::render - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">GameRenderable</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.contains_pt">contains_pt</a></li><li><a href="#tymethod.draw">draw</a></li><li><a href="#tymethod.get_id">get_id</a></li><li><a href="#tymethod.get_outline">get_outline</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.get_zorder">get_zorder</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In game::render</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">game</a>::<wbr><a href="index.html">render</a>::<wbr><a class="trait" href="#">GameRenderable</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/game/render/mod.rs.html#21-34">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait GameRenderable {
// Required methods
fn <a href="#tymethod.get_id" class="fn">get_id</a>(&amp;self) -&gt; <a class="enum" href="../id/enum.ID.html" title="enum game::id::ID">ID</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.draw" class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../../map_gui/trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, opts: &amp;<a class="struct" href="../../map_gui/render/struct.DrawOptions.html" title="struct map_gui::render::DrawOptions">DrawOptions</a>);
<span class="item-spacer"></span> fn <a href="#tymethod.draw" class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;dyn AppLike, opts: &amp;DrawOptions);
<span class="item-spacer"></span> fn <a href="#tymethod.get_outline" class="fn">get_outline</a>(&amp;self, map: &amp;Map) -&gt; Tessellation;
<span class="item-spacer"></span> fn <a href="#tymethod.contains_pt" class="fn">contains_pt</a>(&amp;self, pt: Pt2D, map: &amp;Map) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>;
// Provided method
fn <a href="#method.get_zorder" class="fn">get_zorder</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.isize.html">isize</a> { ... }
}</code></pre><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.get_id" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#24">source</a><h4 class="code-header">fn <a href="#tymethod.get_id" class="fn">get_id</a>(&amp;self) -&gt; <a class="enum" href="../id/enum.ID.html" title="enum game::id::ID">ID</a></h4></section><section id="tymethod.draw" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#25">source</a><h4 class="code-header">fn <a href="#tymethod.draw" class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;dyn <a class="trait" href="../../map_gui/trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, opts: &amp;<a class="struct" href="../../map_gui/render/struct.DrawOptions.html" title="struct map_gui::render::DrawOptions">DrawOptions</a>)</h4></section><section id="tymethod.get_outline" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#32">source</a><h4 class="code-header">fn <a href="#tymethod.get_outline" class="fn">get_outline</a>(&amp;self, map: &amp;Map) -&gt; Tessellation</h4></section><section id="tymethod.contains_pt" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#33">source</a><h4 class="code-header">fn <a href="#tymethod.contains_pt" class="fn">contains_pt</a>(&amp;self, pt: Pt2D, map: &amp;Map) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.get_zorder" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#27-29">source</a><h4 class="code-header">fn <a href="#method.get_zorder" class="fn">get_zorder</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.isize.html">isize</a></h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-GameRenderable-for-DrawBike" class="impl"><a class="src rightside" href="../../src/game/render/bike.rs.html#135-159">source</a><a href="#impl-GameRenderable-for-DrawBike" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="bike/struct.DrawBike.html" title="struct game::render::bike::DrawBike">DrawBike</a></h3></section><section id="impl-GameRenderable-for-DrawCar" class="impl"><a class="src rightside" href="../../src/game/render/car.rs.html#216-238">source</a><a href="#impl-GameRenderable-for-DrawCar" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="car/struct.DrawCar.html" title="struct game::render::car::DrawCar">DrawCar</a></h3></section><section id="impl-GameRenderable-for-DrawPedCrowd" class="impl"><a class="src rightside" href="../../src/game/render/pedestrian.rs.html#285-308">source</a><a href="#impl-GameRenderable-for-DrawPedCrowd" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="pedestrian/struct.DrawPedCrowd.html" title="struct game::render::pedestrian::DrawPedCrowd">DrawPedCrowd</a></h3></section><section id="impl-GameRenderable-for-DrawPedestrian" class="impl"><a class="src rightside" href="../../src/game/render/pedestrian.rs.html#197-221">source</a><a href="#impl-GameRenderable-for-DrawPedestrian" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="pedestrian/struct.DrawPedestrian.html" title="struct game::render::pedestrian::DrawPedestrian">DrawPedestrian</a></h3></section><section id="impl-GameRenderable-for-R" class="impl"><a class="src rightside" href="../../src/game/render/mod.rs.html#36-52">source</a><a href="#impl-GameRenderable-for-R" class="anchor">§</a><h3 class="code-header">impl&lt;R: <a class="trait" href="../../map_gui/render/trait.Renderable.html" title="trait map_gui::render::Renderable">Renderable</a>&gt; <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for R</h3></section></div><script src="../../trait.impl/game/render/trait.GameRenderable.js" async></script></section></div></main></body></html>
}</code></pre><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.get_id" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#24">source</a><h4 class="code-header">fn <a href="#tymethod.get_id" class="fn">get_id</a>(&amp;self) -&gt; <a class="enum" href="../id/enum.ID.html" title="enum game::id::ID">ID</a></h4></section><section id="tymethod.draw" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#25">source</a><h4 class="code-header">fn <a href="#tymethod.draw" class="fn">draw</a>(&amp;self, g: &amp;mut GfxCtx&lt;'_&gt;, app: &amp;dyn AppLike, opts: &amp;DrawOptions)</h4></section><section id="tymethod.get_outline" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#32">source</a><h4 class="code-header">fn <a href="#tymethod.get_outline" class="fn">get_outline</a>(&amp;self, map: &amp;Map) -&gt; Tessellation</h4></section><section id="tymethod.contains_pt" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#33">source</a><h4 class="code-header">fn <a href="#tymethod.contains_pt" class="fn">contains_pt</a>(&amp;self, pt: Pt2D, map: &amp;Map) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.get_zorder" class="method"><a class="src rightside" href="../../src/game/render/mod.rs.html#27-29">source</a><h4 class="code-header">fn <a href="#method.get_zorder" class="fn">get_zorder</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.isize.html">isize</a></h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-GameRenderable-for-DrawBike" class="impl"><a class="src rightside" href="../../src/game/render/bike.rs.html#135-159">source</a><a href="#impl-GameRenderable-for-DrawBike" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="bike/struct.DrawBike.html" title="struct game::render::bike::DrawBike">DrawBike</a></h3></section><section id="impl-GameRenderable-for-DrawCar" class="impl"><a class="src rightside" href="../../src/game/render/car.rs.html#216-238">source</a><a href="#impl-GameRenderable-for-DrawCar" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="car/struct.DrawCar.html" title="struct game::render::car::DrawCar">DrawCar</a></h3></section><section id="impl-GameRenderable-for-DrawPedCrowd" class="impl"><a class="src rightside" href="../../src/game/render/pedestrian.rs.html#285-308">source</a><a href="#impl-GameRenderable-for-DrawPedCrowd" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="pedestrian/struct.DrawPedCrowd.html" title="struct game::render::pedestrian::DrawPedCrowd">DrawPedCrowd</a></h3></section><section id="impl-GameRenderable-for-DrawPedestrian" class="impl"><a class="src rightside" href="../../src/game/render/pedestrian.rs.html#197-221">source</a><a href="#impl-GameRenderable-for-DrawPedestrian" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for <a class="struct" href="pedestrian/struct.DrawPedestrian.html" title="struct game::render::pedestrian::DrawPedestrian">DrawPedestrian</a></h3></section><section id="impl-GameRenderable-for-R" class="impl"><a class="src rightside" href="../../src/game/render/mod.rs.html#36-52">source</a><a href="#impl-GameRenderable-for-R" class="anchor">§</a><h3 class="code-header">impl&lt;R: Renderable&gt; <a class="trait" href="trait.GameRenderable.html" title="trait game::render::GameRenderable">GameRenderable</a> for R</h3></section></div><script src="../../trait.impl/game/render/trait.GameRenderable.js" async></script></section></div></main></body></html>

View File

@ -3,8 +3,8 @@
include_borders: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
depart_from: Time,
depart_until: Time,
modes: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="enum" href="../../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.from_block" class="structfield small-section-header"><a href="#structfield.from_block" class="anchor field">§</a><code>from_block: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.include_borders" class="structfield small-section-header"><a href="#structfield.include_borders" class="anchor field">§</a><code>include_borders: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.depart_from" class="structfield small-section-header"><a href="#structfield.depart_from" class="anchor field">§</a><code>depart_from: Time</code></span><span id="structfield.depart_until" class="structfield small-section-header"><a href="#structfield.depart_until" class="anchor field">§</a><code>depart_until: Time</code></span><span id="structfield.modes" class="structfield small-section-header"><a href="#structfield.modes" class="anchor field">§</a><code>modes: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="enum" href="../../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>&gt;</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Filter" class="impl"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/commuter.rs.html#63">source</a><a href="#impl-PartialEq-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/commuter.rs.html#63">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
modes: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;TripMode&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.from_block" class="structfield small-section-header"><a href="#structfield.from_block" class="anchor field">§</a><code>from_block: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.include_borders" class="structfield small-section-header"><a href="#structfield.include_borders" class="anchor field">§</a><code>include_borders: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.depart_from" class="structfield small-section-header"><a href="#structfield.depart_from" class="anchor field">§</a><code>depart_from: Time</code></span><span id="structfield.depart_until" class="structfield small-section-header"><a href="#structfield.depart_until" class="anchor field">§</a><code>depart_until: Time</code></span><span id="structfield.modes" class="structfield small-section-header"><a href="#structfield.modes" class="anchor field">§</a><code>modes: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;TripMode&gt;</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Filter" class="impl"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/commuter.rs.html#63">source</a><a href="#impl-PartialEq-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/commuter.rs.html#63">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.75.0/src/core/cmp.rs.html#239">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-StructuralPartialEq-for-Filter" class="impl"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/commuter.rs.html#63">source</a><a href="#impl-StructuralPartialEq-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section></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"><section id="impl-RefUnwindSafe-for-Filter" class="impl"><a href="#impl-RefUnwindSafe-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section><section id="impl-Send-for-Filter" class="impl"><a href="#impl-Send-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section><section id="impl-Sync-for-Filter" class="impl"><a href="#impl-Sync-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section><section id="impl-Unpin-for-Filter" class="impl"><a href="#impl-Unpin-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section><section id="impl-UnwindSafe-for-Filter" class="impl"><a href="#impl-UnwindSafe-for-Filter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Filter.html" title="struct game::sandbox::dashboards::commuter::Filter">Filter</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<!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 `TripProblemFilter` trait in crate `game`."><title>TripProblemFilter in game::sandbox::dashboards::trip_problems - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">TripProblemFilter</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.include_no_changes">include_no_changes</a></li><li><a href="#tymethod.includes_mode">includes_mode</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.finished_trip_count">finished_trip_count</a></li><li><a href="#method.trip_problems">trip_problems</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In game::sandbox::dashboards::trip_problems</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">dashboards</a>::<wbr><a href="index.html">trip_problems</a>::<wbr><a class="trait" href="#">TripProblemFilter</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#15-62">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TripProblemFilter {
// Required methods
fn <a href="#tymethod.includes_mode" class="fn">includes_mode</a>(&amp;self, mode: &amp;<a class="enum" href="../../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>;
fn <a href="#tymethod.includes_mode" class="fn">includes_mode</a>(&amp;self, mode: &amp;TripMode) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.include_no_changes" class="fn">include_no_changes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>;
// Provided methods
@ -10,7 +10,7 @@
problem_type: <a class="enum" href="../../../../sim/analytics/enum.ProblemType.html" title="enum sim::analytics::ProblemType">ProblemType</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="../../../../sim/struct.TripID.html" title="struct sim::TripID">TripID</a>, Duration, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.isize.html">isize</a>)&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.finished_trip_count" class="fn">finished_trip_count</a>(&amp;self, app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> { ... }
}</code></pre><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.includes_mode" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#16">source</a><h4 class="code-header">fn <a href="#tymethod.includes_mode" class="fn">includes_mode</a>(&amp;self, mode: &amp;<a class="enum" href="../../../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="tymethod.include_no_changes" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#17">source</a><h4 class="code-header">fn <a href="#tymethod.include_no_changes" class="fn">include_no_changes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.trip_problems" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#24-48">source</a><h4 class="code-header">fn <a href="#method.trip_problems" class="fn">trip_problems</a>(
}</code></pre><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.includes_mode" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#16">source</a><h4 class="code-header">fn <a href="#tymethod.includes_mode" class="fn">includes_mode</a>(&amp;self, mode: &amp;TripMode) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section><section id="tymethod.include_no_changes" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#17">source</a><h4 class="code-header">fn <a href="#tymethod.include_no_changes" class="fn">include_no_changes</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.trip_problems" class="method"><a class="src rightside" href="../../../../src/game/sandbox/dashboards/trip_problems.rs.html#24-48">source</a><h4 class="code-header">fn <a href="#method.trip_problems" class="fn">trip_problems</a>(
&amp;self,
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
problem_type: <a class="enum" href="../../../../sim/analytics/enum.ProblemType.html" title="enum sim::analytics::ProblemType">ProblemType</a>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.top_right" class="structfield small-section-header"><a href="#structfield.top_right" class="anchor field">§</a><code>top_right: Panel</code></span><span id="structfield.person" class="structfield small-section-header"><a href="#structfield.person" class="anchor field">§</a><code>person: <a class="struct" href="../../../../sim/struct.PersonID.html" title="struct sim::PersonID">PersonID</a></code></span><span id="structfield.mode" class="structfield small-section-header"><a href="#structfield.mode" class="anchor field">§</a><code>mode: <a class="enum" href="../enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a></code></span><span id="structfield.goal" class="structfield small-section-header"><a href="#structfield.goal" class="anchor field">§</a><code>goal: Duration</code></span><span id="structfield.time" class="structfield small-section-header"><a href="#structfield.time" class="anchor field">§</a><code>time: Time</code></span><span id="structfield.done" class="structfield small-section-header"><a href="#structfield.done" class="anchor field">§</a><code>done: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.trips" class="structfield small-section-header"><a href="#structfield.trips" class="anchor field">§</a><code>trips: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../../sim/struct.TripID.html" title="struct sim::TripID">TripID</a>&gt;</code></span><span id="structfield.once" class="structfield small-section-header"><a href="#structfield.once" class="anchor field">§</a><code>once: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-OptimizeCommute" class="impl"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/commute.rs.html#37-100">source</a><a href="#impl-OptimizeCommute" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.OptimizeCommute.html" title="struct game::sandbox::gameplay::commute::OptimizeCommute">OptimizeCommute</a></h3></section></summary><div class="impl-items"><section id="method.new_state" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/commute.rs.html#38-56">source</a><h4 class="code-header">pub fn <a href="#method.new_state" class="fn">new_state</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
orig_person: <a class="struct" href="../../../../synthpop/struct.OrigPersonID.html" title="struct synthpop::OrigPersonID">OrigPersonID</a>,
orig_person: OrigPersonID,
goal: Duration
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</h4></section><section id="method.cutscene_pt1" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/commute.rs.html#58-78">source</a><h4 class="code-header">pub fn <a href="#method.cutscene_pt1" class="fn">cutscene_pt1</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!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 `make_bike_lane_scenario` fn in crate `game`."><title>make_bike_lane_scenario in game::sandbox::gameplay::tutorial - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::sandbox::gameplay::tutorial</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">gameplay</a>::<wbr><a href="index.html">tutorial</a>::<wbr><a class="fn" href="#">make_bike_lane_scenario</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#671-686">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn make_bike_lane_scenario(map: &amp;Map) -&gt; <a class="struct" href="../../../../synthpop/make/generator/struct.ScenarioGenerator.html" title="struct synthpop::make::generator::ScenarioGenerator">ScenarioGenerator</a></code></pre></section></div></main></body></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 `make_bike_lane_scenario` fn in crate `game`."><title>make_bike_lane_scenario in game::sandbox::gameplay::tutorial - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="game" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../game/index.html">game</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In game::sandbox::gameplay::tutorial</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../index.html">game</a>::<wbr><a href="../../index.html">sandbox</a>::<wbr><a href="../index.html">gameplay</a>::<wbr><a href="index.html">tutorial</a>::<wbr><a class="fn" href="#">make_bike_lane_scenario</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#671-686">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn make_bike_lane_scenario(map: &amp;Map) -&gt; ScenarioGenerator</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ be montlake.</p>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</h4></section><section id="method.scenario" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#103-107">source</a><h4 class="code-header">pub fn <a href="#method.scenario" class="fn">scenario</a>(
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
current: <a class="struct" href="struct.TutorialPointer.html" title="struct game::sandbox::gameplay::tutorial::TutorialPointer">TutorialPointer</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../../synthpop/make/generator/struct.ScenarioGenerator.html" title="struct synthpop::make::generator::ScenarioGenerator">ScenarioGenerator</a>&gt;</h4></section><section id="method.inner_event" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#109-352">source</a><h4 class="code-header">fn <a href="#method.inner_event" class="fn">inner_event</a>(
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ScenarioGenerator&gt;</h4></section><section id="method.inner_event" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#109-352">source</a><h4 class="code-header">fn <a href="#method.inner_event" class="fn">inner_event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,

View File

@ -18,7 +18,7 @@
&amp;self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</h4></section><section id="method.new" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#883-1273">source</a><h4 class="code-header">fn <a href="#method.new" class="fn">new</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h4></section><section id="method.scenarios_to_prebake" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#1275-1277">source</a><h4 class="code-header">pub fn <a href="#method.scenarios_to_prebake" class="fn">scenarios_to_prebake</a>(map: &amp;Map) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../../synthpop/make/generator/struct.ScenarioGenerator.html" title="struct synthpop::make::generator::ScenarioGenerator">ScenarioGenerator</a>&gt;</h4></section></div></details></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"><section id="impl-RefUnwindSafe-for-TutorialState" class="impl"><a href="#impl-RefUnwindSafe-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Send-for-TutorialState" class="impl"><a href="#impl-Send-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Sync-for-TutorialState" class="impl"><a href="#impl-Sync-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Unpin-for-TutorialState" class="impl"><a href="#impl-Unpin-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-UnwindSafe-for-TutorialState" class="impl"><a href="#impl-UnwindSafe-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</h4></section><section id="method.new" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#883-1273">source</a><h4 class="code-header">fn <a href="#method.new" class="fn">new</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h4></section><section id="method.scenarios_to_prebake" class="method"><a class="src rightside" href="../../../../src/game/sandbox/gameplay/tutorial.rs.html#1275-1277">source</a><h4 class="code-header">pub fn <a href="#method.scenarios_to_prebake" class="fn">scenarios_to_prebake</a>(map: &amp;Map) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScenarioGenerator&gt;</h4></section></div></details></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"><section id="impl-RefUnwindSafe-for-TutorialState" class="impl"><a href="#impl-RefUnwindSafe-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Send-for-TutorialState" class="impl"><a href="#impl-Send-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Sync-for-TutorialState" class="impl"><a href="#impl-Sync-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-Unpin-for-TutorialState" class="impl"><a href="#impl-Unpin-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section><section id="impl-UnwindSafe-for-TutorialState" class="impl"><a href="#impl-UnwindSafe-for-TutorialState" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TutorialState.html" title="struct game::sandbox::gameplay::tutorial::TutorialState">TutorialState</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.75.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Downcast for T<span class="where fmt-newline">where

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,8 @@
route_preview: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="misc_tools/struct.RoutePreview.html" title="struct game::sandbox::misc_tools::RoutePreview">RoutePreview</a>&gt;,
tool_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Panel&gt;,
pub time_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="speed/struct.TimePanel.html" title="struct game::sandbox::speed::TimePanel">TimePanel</a>&gt;,
minimap: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../map_gui/tools/minimap/struct.Minimap.html" title="struct map_gui::tools::minimap::Minimap">Minimap</a>&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, <a class="struct" href="minimap/struct.MinimapController.html" title="struct game::sandbox::minimap::MinimapController">MinimapController</a>&gt;&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.common" class="structfield small-section-header"><a href="#structfield.common" class="anchor field">§</a><code>common: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../common/struct.CommonState.html" title="struct game::common::CommonState">CommonState</a>&gt;</code></span><span id="structfield.route_preview" class="structfield small-section-header"><a href="#structfield.route_preview" class="anchor field">§</a><code>route_preview: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="misc_tools/struct.RoutePreview.html" title="struct game::sandbox::misc_tools::RoutePreview">RoutePreview</a>&gt;</code></span><span id="structfield.tool_panel" class="structfield small-section-header"><a href="#structfield.tool_panel" class="anchor field">§</a><code>tool_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Panel&gt;</code></span><span id="structfield.time_panel" class="structfield small-section-header"><a href="#structfield.time_panel" class="anchor field">§</a><code>time_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="speed/struct.TimePanel.html" title="struct game::sandbox::speed::TimePanel">TimePanel</a>&gt;</code></span><span id="structfield.minimap" class="structfield small-section-header"><a href="#structfield.minimap" class="anchor field">§</a><code>minimap: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../map_gui/tools/minimap/struct.Minimap.html" title="struct map_gui::tools::minimap::Minimap">Minimap</a>&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, <a class="struct" href="minimap/struct.MinimapController.html" title="struct game::sandbox::minimap::MinimapController">MinimapController</a>&gt;&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SandboxControls" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#694-740">source</a><a href="#impl-SandboxControls" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.SandboxControls.html" title="struct game::sandbox::SandboxControls">SandboxControls</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#695-727">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
minimap: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Minimap&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, <a class="struct" href="minimap/struct.MinimapController.html" title="struct game::sandbox::minimap::MinimapController">MinimapController</a>&gt;&gt;,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.common" class="structfield small-section-header"><a href="#structfield.common" class="anchor field">§</a><code>common: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../common/struct.CommonState.html" title="struct game::common::CommonState">CommonState</a>&gt;</code></span><span id="structfield.route_preview" class="structfield small-section-header"><a href="#structfield.route_preview" class="anchor field">§</a><code>route_preview: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="misc_tools/struct.RoutePreview.html" title="struct game::sandbox::misc_tools::RoutePreview">RoutePreview</a>&gt;</code></span><span id="structfield.tool_panel" class="structfield small-section-header"><a href="#structfield.tool_panel" class="anchor field">§</a><code>tool_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Panel&gt;</code></span><span id="structfield.time_panel" class="structfield small-section-header"><a href="#structfield.time_panel" class="anchor field">§</a><code>time_panel: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="speed/struct.TimePanel.html" title="struct game::sandbox::speed::TimePanel">TimePanel</a>&gt;</code></span><span id="structfield.minimap" class="structfield small-section-header"><a href="#structfield.minimap" class="anchor field">§</a><code>minimap: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Minimap&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, <a class="struct" href="minimap/struct.MinimapController.html" title="struct game::sandbox::minimap::MinimapController">MinimapController</a>&gt;&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SandboxControls" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#694-740">source</a><a href="#impl-SandboxControls" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.SandboxControls.html" title="struct game::sandbox::SandboxControls">SandboxControls</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#695-727">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>,
gameplay: &amp;dyn <a class="trait" href="gameplay/trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>

View File

@ -3,8 +3,8 @@
pub gameplay_mode: <a class="enum" href="gameplay/enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a>,
pub controls: <a class="struct" href="struct.SandboxControls.html" title="struct game::sandbox::SandboxControls">SandboxControls</a>,
recalc_unzoomed_agent: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Time&gt;,
last_cs: <a class="enum" href="../../map_gui/colors/enum.ColorSchemeChoice.html" title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a>,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.gameplay" class="structfield small-section-header"><a href="#structfield.gameplay" class="anchor field">§</a><code>gameplay: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="gameplay/trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</code></span><span id="structfield.gameplay_mode" class="structfield small-section-header"><a href="#structfield.gameplay_mode" class="anchor field">§</a><code>gameplay_mode: <a class="enum" href="gameplay/enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a></code></span><span id="structfield.controls" class="structfield small-section-header"><a href="#structfield.controls" class="anchor field">§</a><code>controls: <a class="struct" href="struct.SandboxControls.html" title="struct game::sandbox::SandboxControls">SandboxControls</a></code></span><span id="structfield.recalc_unzoomed_agent" class="structfield small-section-header"><a href="#structfield.recalc_unzoomed_agent" class="anchor field">§</a><code>recalc_unzoomed_agent: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Time&gt;</code></span><span id="structfield.last_cs" class="structfield small-section-header"><a href="#structfield.last_cs" class="anchor field">§</a><code>last_cs: <a class="enum" href="../../map_gui/colors/enum.ColorSchemeChoice.html" title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SandboxMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#59-113">source</a><a href="#impl-SandboxMode" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.SandboxMode.html" title="struct game::sandbox::SandboxMode">SandboxMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.simple_new" class="method"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#62-64">source</a><h4 class="code-header">pub fn <a href="#method.simple_new" class="fn">simple_new</a>(app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, mode: <a class="enum" href="gameplay/enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If you dont need to chain any transitions after the SandboxMode that rely on its resources
last_cs: ColorSchemeChoice,
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.gameplay" class="structfield small-section-header"><a href="#structfield.gameplay" class="anchor field">§</a><code>gameplay: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="gameplay/trait.GameplayState.html" title="trait game::sandbox::gameplay::GameplayState">GameplayState</a>&gt;</code></span><span id="structfield.gameplay_mode" class="structfield small-section-header"><a href="#structfield.gameplay_mode" class="anchor field">§</a><code>gameplay_mode: <a class="enum" href="gameplay/enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a></code></span><span id="structfield.controls" class="structfield small-section-header"><a href="#structfield.controls" class="anchor field">§</a><code>controls: <a class="struct" href="struct.SandboxControls.html" title="struct game::sandbox::SandboxControls">SandboxControls</a></code></span><span id="structfield.recalc_unzoomed_agent" class="structfield small-section-header"><a href="#structfield.recalc_unzoomed_agent" class="anchor field">§</a><code>recalc_unzoomed_agent: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Time&gt;</code></span><span id="structfield.last_cs" class="structfield small-section-header"><a href="#structfield.last_cs" class="anchor field">§</a><code>last_cs: ColorSchemeChoice</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SandboxMode" class="impl"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#59-113">source</a><a href="#impl-SandboxMode" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.SandboxMode.html" title="struct game::sandbox::SandboxMode">SandboxMode</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.simple_new" class="method"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#62-64">source</a><h4 class="code-header">pub fn <a href="#method.simple_new" class="fn">simple_new</a>(app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>, mode: <a class="enum" href="gameplay/enum.GameplayMode.html" title="enum game::sandbox::gameplay::GameplayMode">GameplayMode</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn State&lt;<a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>If you dont need to chain any transitions after the SandboxMode that rely on its resources
being loaded, use this. Otherwise, see <code>async_new</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.async_new" class="method"><a class="src rightside" href="../../src/game/sandbox/mod.rs.html#69-83">source</a><h4 class="code-header">pub fn <a href="#method.async_new" class="fn">async_new</a>(
app: &amp;mut <a class="struct" href="../app/struct.App.html" title="struct game::app::App">App</a>,

View File

@ -7,7 +7,7 @@
pub(crate) dump_raw_events: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
pub(crate) scale_factor: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f64.html">f64</a>&gt;,
pub(crate) dev: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
pub(crate) color_scheme: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../map_gui/colors/enum.ColorSchemeChoice.html" title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a>&gt;,
pub(crate) color_scheme: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ColorSchemeChoice&gt;,
pub(crate) minimal_controls: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
pub(crate) prebake: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
pub(crate) tutorial_intro: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
@ -31,7 +31,7 @@
</div><span id="structfield.scale_factor" class="structfield small-section-header"><a href="#structfield.scale_factor" class="anchor field">§</a><code>scale_factor: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f64.html">f64</a>&gt;</code></span><div class="docblock"><p>Override the monitors auto-detected scale factor</p>
</div><span id="structfield.dev" class="structfield small-section-header"><a href="#structfield.dev" class="anchor field">§</a><code>dev: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Dev mode exposes experimental tools useful for debugging, but thatd likely confuse most
players.</p>
</div><span id="structfield.color_scheme" class="structfield small-section-header"><a href="#structfield.color_scheme" class="anchor field">§</a><code>color_scheme: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../map_gui/colors/enum.ColorSchemeChoice.html" title="enum map_gui::colors::ColorSchemeChoice">ColorSchemeChoice</a>&gt;</code></span><div class="docblock"><p>The color scheme for map elements, agents, and the UI.</p>
</div><span id="structfield.color_scheme" class="structfield small-section-header"><a href="#structfield.color_scheme" class="anchor field">§</a><code>color_scheme: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ColorSchemeChoice&gt;</code></span><div class="docblock"><p>The color scheme for map elements, agents, and the UI.</p>
</div><span id="structfield.minimal_controls" class="structfield small-section-header"><a href="#structfield.minimal_controls" class="anchor field">§</a><code>minimal_controls: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>When making a screen recording, enable this option to hide some UI elements</p>
</div><span id="structfield.prebake" class="structfield small-section-header"><a href="#structfield.prebake" class="anchor field">§</a><code>prebake: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Run a configured set of simulations and record prebaked data.</p>
</div><span id="structfield.tutorial_intro" class="structfield small-section-header"><a href="#structfield.tutorial_intro" class="anchor field">§</a><code>tutorial_intro: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Start at the tutorial intro screen</p>

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
panel: Panel,
minimized: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
bike_network: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../bike_network/struct.DrawNetworkLayer.html" title="struct game::ungap::bike_network::DrawNetworkLayer">DrawNetworkLayer</a>&gt;,
labels: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../map_gui/tools/labels/struct.DrawRoadLabels.html" title="struct map_gui::tools::labels::DrawRoadLabels">DrawRoadLabels</a>&gt;,
labels: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DrawRoadLabels&gt;,
elevation: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>,
steep_streets: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Drawable&gt;,
road_types: <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Drawable&gt;,
@ -10,7 +10,7 @@
zoom_enabled_cache_key: (<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>),
map_edit_key: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A bottom-right panel for managing a bunch of toggleable layers in the “ungap the map” tool.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.panel" class="structfield small-section-header"><a href="#structfield.panel" class="anchor field">§</a><code>panel: Panel</code></span><span id="structfield.minimized" class="structfield small-section-header"><a href="#structfield.minimized" class="anchor field">§</a><code>minimized: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.bike_network" class="structfield small-section-header"><a href="#structfield.bike_network" class="anchor field">§</a><code>bike_network: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../bike_network/struct.DrawNetworkLayer.html" title="struct game::ungap::bike_network::DrawNetworkLayer">DrawNetworkLayer</a>&gt;</code></span><span id="structfield.labels" class="structfield small-section-header"><a href="#structfield.labels" class="anchor field">§</a><code>labels: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../map_gui/tools/labels/struct.DrawRoadLabels.html" title="struct map_gui::tools::labels::DrawRoadLabels">DrawRoadLabels</a>&gt;</code></span><span id="structfield.elevation" class="structfield small-section-header"><a href="#structfield.elevation" class="anchor field">§</a><code>elevation: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.steep_streets" class="structfield small-section-header"><a href="#structfield.steep_streets" class="anchor field">§</a><code>steep_streets: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Drawable&gt;</code></span><span id="structfield.road_types" class="structfield small-section-header"><a href="#structfield.road_types" class="anchor field">§</a><code>road_types: <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Drawable&gt;</code></span><span id="structfield.fade_map" class="structfield small-section-header"><a href="#structfield.fade_map" class="anchor field">§</a><code>fade_map: Drawable</code></span><span id="structfield.zoom_enabled_cache_key" class="structfield small-section-header"><a href="#structfield.zoom_enabled_cache_key" class="anchor field">§</a><code>zoom_enabled_cache_key: (<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>)</code></span><span id="structfield.map_edit_key" class="structfield small-section-header"><a href="#structfield.map_edit_key" class="anchor field">§</a><code>map_edit_key: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Layers" class="impl"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#34-408">source</a><a href="#impl-Layers" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Layers.html" title="struct game::ungap::layers::Layers">Layers</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#35-55">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="struct" href="struct.Layers.html" title="struct game::ungap::layers::Layers">Layers</a></h4></section><section id="method.event" class="method"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#57-192">source</a><h4 class="code-header">pub fn <a href="#method.event" class="fn">event</a>(
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.panel" class="structfield small-section-header"><a href="#structfield.panel" class="anchor field">§</a><code>panel: Panel</code></span><span id="structfield.minimized" class="structfield small-section-header"><a href="#structfield.minimized" class="anchor field">§</a><code>minimized: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.bike_network" class="structfield small-section-header"><a href="#structfield.bike_network" class="anchor field">§</a><code>bike_network: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../bike_network/struct.DrawNetworkLayer.html" title="struct game::ungap::bike_network::DrawNetworkLayer">DrawNetworkLayer</a>&gt;</code></span><span id="structfield.labels" class="structfield small-section-header"><a href="#structfield.labels" class="anchor field">§</a><code>labels: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DrawRoadLabels&gt;</code></span><span id="structfield.elevation" class="structfield small-section-header"><a href="#structfield.elevation" class="anchor field">§</a><code>elevation: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></code></span><span id="structfield.steep_streets" class="structfield small-section-header"><a href="#structfield.steep_streets" class="anchor field">§</a><code>steep_streets: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Drawable&gt;</code></span><span id="structfield.road_types" class="structfield small-section-header"><a href="#structfield.road_types" class="anchor field">§</a><code>road_types: <a class="struct" href="https://doc.rust-lang.org/1.75.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Drawable&gt;</code></span><span id="structfield.fade_map" class="structfield small-section-header"><a href="#structfield.fade_map" class="anchor field">§</a><code>fade_map: Drawable</code></span><span id="structfield.zoom_enabled_cache_key" class="structfield small-section-header"><a href="#structfield.zoom_enabled_cache_key" class="anchor field">§</a><code>zoom_enabled_cache_key: (<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>, <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a>)</code></span><span id="structfield.map_edit_key" class="structfield small-section-header"><a href="#structfield.map_edit_key" class="anchor field">§</a><code>map_edit_key: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Layers" class="impl"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#34-408">source</a><a href="#impl-Layers" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Layers.html" title="struct game::ungap::layers::Layers">Layers</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#35-55">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(ctx: &amp;mut EventCtx&lt;'_&gt;, app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>) -&gt; <a class="struct" href="struct.Layers.html" title="struct game::ungap::layers::Layers">Layers</a></h4></section><section id="method.event" class="method"><a class="src rightside" href="../../../src/game/ungap/layers.rs.html#57-192">source</a><h4 class="code-header">pub fn <a href="#method.event" class="fn">event</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;mut <a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>

View File

@ -7,7 +7,7 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.all_candidate_trips" class="structfield small-section-header"><a href="#structfield.all_candidate_trips" class="anchor field">§</a><code>all_candidate_trips: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.CandidateTrip.html" title="struct game::ungap::predict::CandidateTrip">CandidateTrip</a>&gt;</code></span><span id="structfield.filters" class="structfield small-section-header"><a href="#structfield.filters" class="anchor field">§</a><code>filters: <a class="struct" href="struct.Filters.html" title="struct game::ungap::predict::Filters">Filters</a></code></span><span id="structfield.gaps" class="structfield small-section-header"><a href="#structfield.gaps" class="anchor field">§</a><code>gaps: <a class="struct" href="struct.NetworkGaps.html" title="struct game::ungap::predict::NetworkGaps">NetworkGaps</a></code></span><span id="structfield.filtered_trips" class="structfield small-section-header"><a href="#structfield.filtered_trips" class="anchor field">§</a><code>filtered_trips: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>&gt;</code></span><span id="structfield.results" class="structfield small-section-header"><a href="#structfield.results" class="anchor field">§</a><code>results: <a class="struct" href="struct.Results.html" title="struct game::ungap::predict::Results">Results</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-ModeShiftData" class="impl"><a class="src rightside" href="../../../src/game/ungap/predict.rs.html#324-479">source</a><a href="#impl-ModeShiftData" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.ModeShiftData.html" title="struct game::ungap::predict::ModeShiftData">ModeShiftData</a></h3></section></summary><div class="impl-items"><section id="method.empty" class="method"><a class="src rightside" href="../../../src/game/ungap/predict.rs.html#325-336">source</a><h4 class="code-header">fn <a href="#method.empty" class="fn">empty</a>(ctx: &amp;mut EventCtx&lt;'_&gt;) -&gt; Self</h4></section><section id="method.from_scenario" class="method"><a class="src rightside" href="../../../src/game/ungap/predict.rs.html#338-399">source</a><h4 class="code-header">fn <a href="#method.from_scenario" class="fn">from_scenario</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../app/struct.App.html" title="struct game::app::App">App</a>,
scenario: <a class="struct" href="../../../synthpop/scenario/struct.Scenario.html" title="struct synthpop::scenario::Scenario">Scenario</a>,
scenario: Scenario,
timer: &amp;mut Timer&lt;'_&gt;
) -&gt; <a class="struct" href="struct.ModeShiftData.html" title="struct game::ungap::predict::ModeShiftData">ModeShiftData</a></h4></section><section id="method.recalculate_gaps" class="method"><a class="src rightside" href="../../../src/game/ungap/predict.rs.html#401-478">source</a><h4 class="code-header">fn <a href="#method.recalculate_gaps" class="fn">recalculate_gaps</a>(
&amp;mut self,

File diff suppressed because one or more lines are too long

View File

@ -11,18 +11,18 @@
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.preferences" class="structfield small-section-header"><a href="#structfield.preferences" class="anchor field">§</a><code>preferences: <a class="struct" href="../struct.RoutingPreferences.html" title="struct game::ungap::trip::RoutingPreferences">RoutingPreferences</a></code></span><span id="structfield.stats" class="structfield small-section-header"><a href="#structfield.stats" class="anchor field">§</a><code>stats: <a class="struct" href="struct.RouteStats.html" title="struct game::ungap::trip::results::RouteStats">RouteStats</a></code></span><span id="structfield.paths" class="structfield small-section-header"><a href="#structfield.paths" class="anchor field">§</a><code>paths: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Path, <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PolyLine&gt;)&gt;</code></span><span id="structfield.closest_path_segment" class="structfield small-section-header"><a href="#structfield.closest_path_segment" class="anchor field">§</a><code>closest_path_segment: FindClosest&lt;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>&gt;</code></span><span id="structfield.hover_on_line_plot" class="structfield small-section-header"><a href="#structfield.hover_on_line_plot" class="anchor field">§</a><code>hover_on_line_plot: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(Distance, Drawable)&gt;</code></span><span id="structfield.hover_on_route_tooltip" class="structfield small-section-header"><a href="#structfield.hover_on_route_tooltip" class="anchor field">§</a><code>hover_on_route_tooltip: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Text&gt;</code></span><span id="structfield.draw_high_stress" class="structfield small-section-header"><a href="#structfield.draw_high_stress" class="anchor field">§</a><code>draw_high_stress: Drawable</code></span><span id="structfield.draw_traffic_signals" class="structfield small-section-header"><a href="#structfield.draw_traffic_signals" class="anchor field">§</a><code>draw_traffic_signals: Drawable</code></span><span id="structfield.draw_unprotected_turns" class="structfield small-section-header"><a href="#structfield.draw_unprotected_turns" class="anchor field">§</a><code>draw_unprotected_turns: Drawable</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RouteDetails" class="impl"><a class="src rightside" href="../../../../src/game/ungap/trip/results.rs.html#55-361">source</a><a href="#impl-RouteDetails" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RouteDetails.html" title="struct game::ungap::trip::results::RouteDetails">RouteDetails</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.main_route" class="method"><a class="src rightside" href="../../../../src/game/ungap/trip/results.rs.html#57-66">source</a><h4 class="code-header">pub fn <a href="#method.main_route" class="fn">main_route</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>&gt;
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;TripEndpoint&gt;
) -&gt; <a class="struct" href="struct.BuiltRoute.html" title="struct game::ungap::trip::results::BuiltRoute">BuiltRoute</a></h4></section></summary><div class="docblock"><p>“main” is determined by <code>app.session.routing_preferences</code></p>
</div></details><section id="method.alt_route" class="method"><a class="src rightside" href="../../../../src/game/ungap/trip/results.rs.html#68-90">source</a><h4 class="code-header">pub fn <a href="#method.alt_route" class="fn">alt_route</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>&gt;,
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;TripEndpoint&gt;,
main: &amp;<a class="struct" href="struct.RouteDetails.html" title="struct game::ungap::trip::results::RouteDetails">RouteDetails</a>,
preferences: <a class="struct" href="../struct.RoutingPreferences.html" title="struct game::ungap::trip::RoutingPreferences">RoutingPreferences</a>
) -&gt; <a class="struct" href="struct.BuiltRoute.html" title="struct game::ungap::trip::results::BuiltRoute">BuiltRoute</a></h4></section><section id="method.new_route" class="method"><a class="src rightside" href="../../../../src/game/ungap/trip/results.rs.html#92-235">source</a><h4 class="code-header">fn <a href="#method.new_route" class="fn">new_route</a>(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;<a class="struct" href="../../../app/struct.App.html" title="struct game::app::App">App</a>,
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>&gt;,
waypoints: <a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;TripEndpoint&gt;,
route_color: Color,
outline_color: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Color&gt;,
preferences: <a class="struct" href="../struct.RoutingPreferences.html" title="struct game::ungap::trip::RoutingPreferences">RoutingPreferences</a>

File diff suppressed because one or more lines are too long

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 `calculate_heatmap` fn in crate `map_gui`."><title>calculate_heatmap in map_gui::tools::compare_counts - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::compare_counts</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_gui</a>::<wbr><a href="../index.html">tools</a>::<wbr><a href="index.html">compare_counts</a>::<wbr><a class="fn" href="#">calculate_heatmap</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_gui/tools/compare_counts.rs.html#217-223">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn calculate_heatmap(
ctx: &amp;EventCtx&lt;'_&gt;,
app: &amp;dyn <a class="trait" href="../../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>,
counts: TrafficCounts
counts: <a class="struct" href="../../../synthpop/counts/struct.TrafficCounts.html" title="struct synthpop::counts::TrafficCounts">TrafficCounts</a>
) -&gt; ToggleZoomed</code></pre></section></div></main></body></html>

View File

@ -1,6 +1,6 @@
<!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 `calculate_relative_heatmap` fn in crate `map_gui`."><title>calculate_relative_heatmap in map_gui::tools::compare_counts - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::compare_counts</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">map_gui</a>::<wbr><a href="../index.html">tools</a>::<wbr><a href="index.html">compare_counts</a>::<wbr><a class="fn" href="#">calculate_relative_heatmap</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/map_gui/tools/compare_counts.rs.html#225-279">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>fn calculate_relative_heatmap(
ctx: &amp;EventCtx&lt;'_&gt;,
app: &amp;dyn <a class="trait" href="../../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>,
counts_a: &amp;TrafficCounts,
counts_b: &amp;TrafficCounts
counts_a: &amp;<a class="struct" href="../../../synthpop/counts/struct.TrafficCounts.html" title="struct synthpop::counts::TrafficCounts">TrafficCounts</a>,
counts_b: &amp;<a class="struct" href="../../../synthpop/counts/struct.TrafficCounts.html" title="struct synthpop::counts::TrafficCounts">TrafficCounts</a>
) -&gt; ToggleZoomed</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

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 `checkbox_per_mode` fn in crate `map_gui`."><title>checkbox_per_mode in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">checkbox_per_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/ui.rs.html#265-283">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn checkbox_per_mode(
ctx: &amp;mut EventCtx&lt;'_&gt;,
app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>,
current_state: &amp;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;TripMode&gt;
current_state: &amp;<a class="struct" href="https://doc.rust-lang.org/1.75.0/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>&gt;
) -&gt; Widget</code></pre></section></div></main></body></html>

View File

@ -1 +1 @@
<!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 `color_for_mode` fn in crate `map_gui`."><title>color_for_mode in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">color_for_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/ui.rs.html#256-263">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn color_for_mode(app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, m: TripMode) -&gt; Color</code></pre></section></div></main></body></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 `color_for_mode` fn in crate `map_gui`."><title>color_for_mode in map_gui::tools - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">map_gui</a>::<wbr><a href="index.html">tools</a>::<wbr><a class="fn" href="#">color_for_mode</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/map_gui/tools/ui.rs.html#256-263">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn color_for_mode(app: &amp;dyn <a class="trait" href="../trait.AppLike.html" title="trait map_gui::AppLike">AppLike</a>, m: <a class="enum" href="../../synthpop/enum.TripMode.html" title="enum synthpop::TripMode">TripMode</a>) -&gt; Color</code></pre></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View File

@ -10,8 +10,8 @@ results.</p>
</div></details><section id="method.set_current" class="method"><a class="src rightside" href="../../src/map_gui/tools/trip_files.rs.html#196-200">source</a><h4 class="code-header">pub fn <a href="#method.set_current" class="fn">set_current</a>(&amp;mut self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a>)</h4></section><section id="method.add_new_trip" class="method"><a class="src rightside" href="../../src/map_gui/tools/trip_files.rs.html#202-212">source</a><h4 class="code-header">pub fn <a href="#method.add_new_trip" class="fn">add_new_trip</a>(
&amp;mut self,
app: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&amp;mut A</a>,
from: TripEndpoint,
to: TripEndpoint
from: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>,
to: <a class="enum" href="../../synthpop/endpoint/enum.TripEndpoint.html" title="enum synthpop::endpoint::TripEndpoint">TripEndpoint</a>
)</h4></section><section id="method.on_click" class="method"><a class="src rightside" href="../../src/map_gui/tools/trip_files.rs.html#214-281">source</a><h4 class="code-header">pub fn <a href="#method.on_click" class="fn">on_click</a>(
&amp;mut self,
ctx: &amp;mut EventCtx&lt;'_&gt;,

View File

@ -1,2 +1,2 @@
<!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="The build time in RFC2822, UTC."><title>BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>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" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-25ee87e30a98432c/out/built.rs.html#102">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a> = r&quot;Sun, 21 Jan 2024 16:47:56 +0000&quot;;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The build time in RFC2822, UTC.</p>
<!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="The build time in RFC2822, UTC."><title>BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="map_gui" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../map_gui/index.html">map_gui</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In map_gui::tools::title_screen::built_info</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>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" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-25ee87e30a98432c/out/built.rs.html#102">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub const BUILT_TIME_UTC: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a> = r&quot;Thu, 25 Jan 2024 11:08:59 +0000&quot;;</code></pre><details class="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></body></html>

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More