abstreet/rustdoc/widgetry/app_state/sidebar-items.js
2020-12-17 20:57:50 +00:00

1 line
728 B
JavaScript

initSidebarItems({"enum":[["DrawBaselayer","Before `State::draw` is called, draw something else."],["Transition","When a state responds to an event, it can specify some way to manipulate the stack of states."]],"struct":[["App",""],["SimpleStateWrapper",""]],"trait":[["SharedAppState","Any data that should last the entire lifetime of the application should be stored in the struct implementing this trait."],["SimpleState","Many states fit a pattern of managing a single panel, handling mouseover events, and other interactions on the map. Implementing this instead of `State` reduces some boilerplate."],["State","A temporary state of an application. There's a stack of these, with the most recent being the active one."]]});