abstreet/rustdoc/sim/trait.GetDrawAgents.html
2020-10-09 04:29:45 +00:00

15 lines
27 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 `GetDrawAgents` trait in crate `sim`."><meta name="keywords" content="rust, rustlang, rust-lang, GetDrawAgents"><title>sim::GetDrawAgents - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../sim/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Trait GetDrawAgents</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get_all_draw_cars">get_all_draw_cars</a><a href="#tymethod.get_all_draw_peds">get_all_draw_peds</a><a href="#tymethod.get_draw_car">get_draw_car</a><a href="#tymethod.get_draw_cars">get_draw_cars</a><a href="#tymethod.get_draw_ped">get_draw_ped</a><a href="#tymethod.get_draw_peds">get_draw_peds</a><a href="#tymethod.get_unzoomed_agents">get_unzoomed_agents</a><a href="#tymethod.step_count">step_count</a><a href="#tymethod.time">time</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='index.html'>sim</a></p><script>window.sidebarCurrent = {name: 'GetDrawAgents', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/sim/render.rs.html#70-85' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='index.html'>sim</a>::<wbr><a class="trait" href=''>GetDrawAgents</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait GetDrawAgents {
fn <a href='#tymethod.time' class='fnname'>time</a>(&amp;self) -&gt; <a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a>;
<div class='item-spacer'></div> fn <a href='#tymethod.step_count' class='fnname'>step_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_draw_car' class='fnname'>get_draw_car</a>(&amp;self, id: <a class="struct" href="../sim/struct.CarID.html" title="struct sim::CarID">CarID</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_draw_ped' class='fnname'>get_draw_ped</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="struct" href="../sim/struct.PedestrianID.html" title="struct sim::PedestrianID">PedestrianID</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_draw_cars' class='fnname'>get_draw_cars</a>(&amp;self, on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_draw_peds' class='fnname'>get_draw_peds</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedCrowdInput.html" title="struct sim::DrawPedCrowdInput">DrawPedCrowdInput</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
<div class='item-spacer'></div> fn <a href='#tymethod.get_all_draw_cars' class='fnname'>get_all_draw_cars</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_all_draw_peds' class='fnname'>get_all_draw_peds</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.get_unzoomed_agents' class='fnname'>get_unzoomed_agents</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.UnzoomedAgent.html" title="struct sim::UnzoomedAgent">UnzoomedAgent</a>&gt;;
}</pre></div>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.time' class='method'><code>fn <a href='#tymethod.time' class='fnname'>time</a>(&amp;self) -&gt; <a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a></code></h3><h3 id='tymethod.step_count' class='method'><code>fn <a href='#tymethod.step_count' class='fnname'>step_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h3><div class='docblock'><p>Every time the time changes, this should increase. For smoothly animating stuff.</p>
</div><h3 id='tymethod.get_draw_car' class='method'><code>fn <a href='#tymethod.get_draw_car' class='fnname'>get_draw_car</a>(&amp;self, id: <a class="struct" href="../sim/struct.CarID.html" title="struct sim::CarID">CarID</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code></h3><h3 id='tymethod.get_draw_ped' class='method'><code>fn <a href='#tymethod.get_draw_ped' class='fnname'>get_draw_ped</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="struct" href="../sim/struct.PedestrianID.html" title="struct sim::PedestrianID">PedestrianID</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code></h3><h3 id='tymethod.get_draw_cars' class='method'><code>fn <a href='#tymethod.get_draw_cars' class='fnname'>get_draw_cars</a>(&amp;self, on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code></h3><h3 id='tymethod.get_draw_peds' class='method'><code>fn <a href='#tymethod.get_draw_peds' class='fnname'>get_draw_peds</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedCrowdInput.html" title="struct sim::DrawPedCrowdInput">DrawPedCrowdInput</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h3><h3 id='tymethod.get_all_draw_cars' class='method'><code>fn <a href='#tymethod.get_all_draw_cars' class='fnname'>get_all_draw_cars</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code></h3><h3 id='tymethod.get_all_draw_peds' class='method'><code>fn <a href='#tymethod.get_all_draw_peds' class='fnname'>get_all_draw_peds</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code></h3><h3 id='tymethod.get_unzoomed_agents' class='method'><code>fn <a href='#tymethod.get_unzoomed_agents' class='fnname'>get_unzoomed_agents</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.UnzoomedAgent.html" title="struct sim::UnzoomedAgent">UnzoomedAgent</a>&gt;</code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-GetDrawAgents' class='impl'><code class='in-band'>impl GetDrawAgents for <a class="struct" href="../sim/struct.DontDrawAgents.html" title="struct sim::DontDrawAgents">DontDrawAgents</a></code><a href='#impl-GetDrawAgents' class='anchor'></a><a class='srclink' href='../src/sim/render.rs.html#89-121' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.time' class="method hidden"><code>fn <a href='#method.time' class='fnname'>time</a>(&amp;self) -&gt; <a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a></code><a class='srclink' href='../src/sim/render.rs.html#90-92' title='goto source code'>[src]</a></h4><h4 id='method.step_count' class="method hidden"><code>fn <a href='#method.step_count' class='fnname'>step_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../src/sim/render.rs.html#93-95' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_car' class="method hidden"><code>fn <a href='#method.get_draw_car' class='fnname'>get_draw_car</a>(&amp;self, _: <a class="struct" href="../sim/struct.CarID.html" title="struct sim::CarID">CarID</a>, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#96-98' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_ped' class="method hidden"><code>fn <a href='#method.get_draw_ped' class='fnname'>get_draw_ped</a>(&amp;self, _: <a class="struct" href="../sim/struct.PedestrianID.html" title="struct sim::PedestrianID">PedestrianID</a>, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#99-101' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_cars' class="method hidden"><code>fn <a href='#method.get_draw_cars' class='fnname'>get_draw_cars</a>(&amp;self, _: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#102-104' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_peds' class="method hidden"><code>fn <a href='#method.get_draw_peds' class='fnname'>get_draw_peds</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;_: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedCrowdInput.html" title="struct sim::DrawPedCrowdInput">DrawPedCrowdInput</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../src/sim/render.rs.html#105-111' title='goto source code'>[src]</a></h4><h4 id='method.get_all_draw_cars' class="method hidden"><code>fn <a href='#method.get_all_draw_cars' class='fnname'>get_all_draw_cars</a>(&amp;self, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#112-114' title='goto source code'>[src]</a></h4><h4 id='method.get_all_draw_peds' class="method hidden"><code>fn <a href='#method.get_all_draw_peds' class='fnname'>get_all_draw_peds</a>(&amp;self, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#115-117' title='goto source code'>[src]</a></h4><h4 id='method.get_unzoomed_agents' class="method hidden"><code>fn <a href='#method.get_unzoomed_agents' class='fnname'>get_unzoomed_agents</a>(&amp;self, _: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.UnzoomedAgent.html" title="struct sim::UnzoomedAgent">UnzoomedAgent</a>&gt;</code><a class='srclink' href='../src/sim/render.rs.html#118-120' title='goto source code'>[src]</a></h4></div><h3 id='impl-GetDrawAgents-1' class='impl'><code class='in-band'>impl GetDrawAgents for <a class="struct" href="../sim/struct.Sim.html" title="struct sim::Sim">Sim</a></code><a href='#impl-GetDrawAgents-1' class='anchor'></a><a class='srclink' href='../src/sim/sim/mod.rs.html#350-410' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.time-1' class="method hidden"><code>fn <a href='#method.time-1' class='fnname'>time</a>(&amp;self) -&gt; <a class="struct" href="../geom/time/struct.Time.html" title="struct geom::time::Time">Time</a></code><a class='srclink' href='../src/sim/sim/mod.rs.html#351-353' title='goto source code'>[src]</a></h4><h4 id='method.step_count-1' class="method hidden"><code>fn <a href='#method.step_count-1' class='fnname'>step_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class='srclink' href='../src/sim/sim/mod.rs.html#355-357' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_car-1' class="method hidden"><code>fn <a href='#method.get_draw_car-1' class='fnname'>get_draw_car</a>(&amp;self, id: <a class="struct" href="../sim/struct.CarID.html" title="struct sim::CarID">CarID</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#359-364' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_ped-1' class="method hidden"><code>fn <a href='#method.get_draw_ped-1' class='fnname'>get_draw_ped</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;id: <a class="struct" href="../sim/struct.PedestrianID.html" title="struct sim::PedestrianID">PedestrianID</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#366-368' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_cars-1' class="method hidden"><code>fn <a href='#method.get_draw_cars-1' class='fnname'>get_draw_cars</a>(&amp;self, on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#370-383' title='goto source code'>[src]</a></h4><h4 id='method.get_draw_peds-1' class="method hidden"><code>fn <a href='#method.get_draw_peds-1' class='fnname'>get_draw_peds</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;on: <a class="enum" href="../map_model/traversable/enum.Traversable.html" title="enum map_model::traversable::Traversable">Traversable</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a><br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedCrowdInput.html" title="struct sim::DrawPedCrowdInput">DrawPedCrowdInput</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../src/sim/sim/mod.rs.html#385-391' title='goto source code'>[src]</a></h4><h4 id='method.get_all_draw_cars-1' class="method hidden"><code>fn <a href='#method.get_all_draw_cars-1' class='fnname'>get_all_draw_cars</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawCarInput.html" title="struct sim::DrawCarInput">DrawCarInput</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#393-399' title='goto source code'>[src]</a></h4><h4 id='method.get_all_draw_peds-1' class="method hidden"><code>fn <a href='#method.get_all_draw_peds-1' class='fnname'>get_all_draw_peds</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.DrawPedestrianInput.html" title="struct sim::DrawPedestrianInput">DrawPedestrianInput</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#401-403' title='goto source code'>[src]</a></h4><h4 id='method.get_unzoomed_agents-1' class="method hidden"><code>fn <a href='#method.get_unzoomed_agents-1' class='fnname'>get_unzoomed_agents</a>(&amp;self, map: &amp;<a class="struct" href="../map_model/struct.Map.html" title="struct map_model::Map">Map</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../sim/struct.UnzoomedAgent.html" title="struct sim::UnzoomedAgent">UnzoomedAgent</a>&gt;</code><a class='srclink' href='../src/sim/sim/mod.rs.html#405-409' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript" src="../implementors/sim/trait.GetDrawAgents.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "sim";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>