From 08a2b85912a2b879631902f446e873fbb08ac364 Mon Sep 17 00:00:00 2001
From: dabreegster
This has some background/logistics about the project.
__T
. Returns the original Rc
-ed trait if it isn't
pub fn downcast_mut<__T: State>(&mut self) -> Option<&mut __T>
Returns a mutable reference to the object within the trait object if it is of type
__T
, or None
if it isn't.
impl State for ChallengesPicker
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for CityPicker
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for IsochroneViewer
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for CrossStreet
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for Navigator
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for SearchBuildings
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for DebugWarp
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for Warping
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw(&self, _: &mut GfxCtx, _: &App)
[src]impl State for CutscenePlayer
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for FYI
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for Floodfiller
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for PolygonDebugger
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for DebugMode
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ScreenshotTest
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, _: &mut GfxCtx, _: &App)
[src]impl State for PopularDestinations
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ViewKML
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ChangeWay
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for ParkingMapper
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for PolygonEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ScenarioManager
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for StoryMapEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for DevToolsMode
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for BulkEdit
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for BulkSelect
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ClusterTrafficSignalEditor
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for LaneEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for RouteEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for StopSignEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for EditMode
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for LoadEdits
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for SaveEdits
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ChangeDuration
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for SignalPicker
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for PreviewTrafficSignal
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for TrafficSignalEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ZoneEditor
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for PopupMsg
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for PromptInput
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for PickLayer
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for OptionsPanel
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for About
[src]fn event(&mut self, ctx: &mut EventCtx, _: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for MainMenu
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for Proposals
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TitleScreen
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, _: &App)
[src]impl State for CommuterPatterns
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ActiveTraffic
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TransitRoutes
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ParkingOverhead
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TripSummaries
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TrafficSignalDemand
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TripTable
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for AgentSpawner
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for ChangeMode
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for EditScenarioModifiers
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for FinalScore
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TurnExplorer
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for JumpToTime
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for TimeWarpScreen
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]fn on_destroy(&mut self, _: &mut EventCtx, app: &mut App)
[src]impl State for BackToMainMenu
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, _: &mut GfxCtx, _: &App)
[src]impl State for SandboxMode
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]fn on_destroy(&mut self, _: &mut EventCtx, app: &mut App)
[src]impl State for UberTurnPicker
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl State for UberTurnViewer
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]impl<T: 'static> State for ChooseSomething<T>
[src]fn event(&mut self, ctx: &mut EventCtx, app: &mut App) -> Transition
[src]fn draw_baselayer(&self) -> DrawBaselayer
[src]fn draw(&self, g: &mut GfxCtx, app: &App)
[src]