abstreet/rustdoc/map_gui/sidebar-items.js
2020-11-25 20:37:48 +00:00

1 line
1.0 KiB
JavaScript

initSidebarItems({"enum":[["ID",""]],"mod":[["colors","A color scheme groups colors used for different map, dynamic, and UI elements in one place, to encourage deduplication. The player can also switch between different color schemes."],["load","Loading large resources (like maps, scenarios, and prebaked data) requires different strategies on native and web. Both cases are wrapped up as a State that runs a callback when done."],["options",""],["render","Render static and dynamic map elements."],["simple_app",""],["tools","Assorted tools and UI states that're useful for applications built to display maps."]],"struct":[["Cached","Store a cached key/value pair, only recalculating when the key changes."],["SimpleApp","Simple app state that just renders a static map, without any dynamic agents on the map."]],"trait":[["AppLike","An application wishing to use the tools in this crate has to implement this on the struct that implements `widgetry::SharedAppState`, so that the tools here can access the map. See `SimpleApp` for an example implementation."]]});