<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `abstutil` crate."><metaname="keywords"content="rust, rustlang, rust-lang, abstutil"><title>abstutil - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../ayu.css"disabled><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><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='../abstutil/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Crate abstutil</p><divclass='block version'><p>Version 0.1.0</p></div><divclass="sidebar-elems"><aid='all-types'href='all.html'><p>See all abstutil's items</p></a><divclass="block items"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#structs">Structs</a></li><li><ahref="#enums">Enums</a></li><li><ahref="#constants">Constants</a></li><li><ahref="#traits">Traits</a></li><li><ahref="#functions">Functions</a></li></ul></div><pclass='location'></p><script>window.sidebarCurrent={name:'abstutil',ty:'mod',relpath:'../'};</script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></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><spanclass="help-button">?</span>
<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/abstutil/lib.rs.html#1-38'title='goto source code'>[src]</a></span><spanclass='in-band'>Crate <aclass="mod"href=''>abstutil</a></span></h1><divclass='docblock'><p>The contents of this crate need to be organized better:</p>
<ul>
<li>Timer (a mix of logging, profiling, and even parallel execution)</li>
<li>IO utilities, some of which have web equivalents using include_dir</li>
<li>Utilities to find A/B Street-specific data</li>
<table><trclass='module-item'><td><aclass="mod"href="abst_data/index.html"title='abstutil::abst_data mod'>abst_data</a></td><tdclass='docblock-short'><p>A list of all data files that're part of A/B Street. The updater crate manages this file, either
downloading updates or, for developers, uploading them.</p>
</td></tr><trclass='module-item'><td><aclass="mod"href="abst_paths/index.html"title='abstutil::abst_paths mod'>abst_paths</a></td><tdclass='docblock-short'><p>Generate paths for different A/B Street files</p>
</td></tr><trclass='module-item'><td><aclass="mod"href="cli/index.html"title='abstutil::cli mod'>cli</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="mod"href="collections/index.html"title='abstutil::collections mod'>collections</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="mod"href="io/index.html"title='abstutil::io mod'>io</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="mod"href="io_native/index.html"title='abstutil::io_native mod'>io_native</a></td><tdclass='docblock-short'><p>Normal file IO using the filesystem</p>
<table><trclass='module-item'><td><aclass="struct"href="struct.CmdArgs.html"title='abstutil::CmdArgs struct'>CmdArgs</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.Counter.html"title='abstutil::Counter struct'>Counter</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.Entry.html"title='abstutil::Entry struct'>Entry</a></td><tdclass='docblock-short'><p>A single file</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.FileWithProgress.html"title='abstutil::FileWithProgress struct'>FileWithProgress</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.Manifest.html"title='abstutil::Manifest struct'>Manifest</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.MultiMap.html"title='abstutil::MultiMap struct'>MultiMap</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="struct"href="struct.Tags.html"title='abstutil::Tags struct'>Tags</a></td><tdclass='docblock-short'><p>Convenience functions around a string->string map</p>
</td></tr><trclass='module-item'><td><aclass="struct"href="struct.VecMap.html"title='abstutil::VecMap struct'>VecMap</a></td><tdclass='docblock-short'><p>Use when your key is just PartialEq, not Ord or Hash.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.from_binary.html"title='abstutil::from_binary fn'>from_binary</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="fn"href="fn.from_json.html"title='abstutil::from_json fn'>from_json</a></td><tdclass='docblock-short'></td></tr><trclass='module-item'><td><aclass="fn"href="fn.list_all_objects.html"title='abstutil::list_all_objects fn'>list_all_objects</a></td><tdclass='docblock-short'><p>Just list all things from a directory, return sorted by name, with file extension removed.</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.list_dir.html"title='abstutil::list_dir fn'>list_dir</a></td><tdclass='docblock-short'><p>Returns full paths</p>
</td></tr><trclass='module-item'><td><aclass="fn"href="fn.load_all_objects.html"title='abstutil::load_all_objects fn'>load_all_objects</a></td><tdclass='docblock-short'><p>Load all serialized things from a directory, return sorted by name, with file extension removed.
Detects JSON or binary. Filters out broken files.</p>