<linkrel="alternate icon"type="image/png"href="../favicon-32x32.png"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../traffic_signal_data/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass="location">Crate traffic_signal_data</p><divclass="block version"><p>Version 0.1.0</p></div><divclass="sidebar-elems"><aid="all-types"href="all.html"><p>See all traffic_signal_data's items</p></a><divclass="block items"><ul><li><ahref="#structs">Structs</a></li><li><ahref="#enums">Enums</a></li><li><ahref="#statics">Statics</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass="location"></p><script>window.sidebarCurrent={name:"traffic_signal_data",ty:"mod",relpath:"../"};</script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"role="menu"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"disabledautocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><buttontype="button"class="help-button">?</button>
<aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class="fqn"><spanclass="out-of-band"><spanid="render-detail"><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]</a></span><aclass="srclink"href="../src/traffic_signal_data/lib.rs.html#1-110"title="goto source code">[src]</a></span><spanclass="in-band">Crate <aclass="mod"href="">traffic_signal_data</a></span></h1><divclass="docblock"><p>A representation of traffic signal configuration that references OpenStreetMap IDs and is
<table><trclass="module-item"><td><aclass="struct"href="struct.DirectedRoad.html"title="traffic_signal_data::DirectedRoad struct">DirectedRoad</a></td><tdclass="docblock-short"><p>A road segment connecting two intersections, and a direction along the segment.</p>
</td></tr><trclass="module-item"><td><aclass="struct"href="struct.Plan.html"title="traffic_signal_data::Plan struct">Plan</a></td><tdclass="docblock-short"><p>A plan describes how a traffic signal is configured during some period of time. Multiple plans
allow a single intersection to behave differently in the middle of the night with low traffic,
</td></tr><trclass="module-item"><td><aclass="struct"href="struct.Stage.html"title="traffic_signal_data::Stage struct">Stage</a></td><tdclass="docblock-short"><p>A traffic signal is in one stage at any time. The stage describes what movements are possible.</p>
</td></tr><trclass="module-item"><td><aclass="struct"href="struct.TrafficSignal.html"title="traffic_signal_data::TrafficSignal struct">TrafficSignal</a></td><tdclass="docblock-short"></td></tr><trclass="module-item"><td><aclass="struct"href="struct.Turn.html"title="traffic_signal_data::Turn struct">Turn</a></td><tdclass="docblock-short"><p>A movement through an intersection.</p>
<table><trclass="module-item"><td><aclass="enum"href="enum.StageType.html"title="traffic_signal_data::StageType enum">StageType</a></td><tdclass="docblock-short"><p>How long a stage lasts before moving to the next one.</p>
<table><trclass="module-item"><td><aclass="fn"href="fn.load_all_data.html"title="traffic_signal_data::load_all_data fn">load_all_data</a></td><tdclass="docblock-short"><p>Returns all traffic signal data compiled into this build, keyed by OSM node ID. If any single
file is broken, returns an error for the entire load.</p>