Function fifteen_min::viewer::draw_unwalkable_roads [−][src]
pub fn draw_unwalkable_roads(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
opts: &Options
) -> Drawable
diff --git a/rustdoc/fifteen_min/viewer/fn.draw_unwalkable_roads.html b/rustdoc/fifteen_min/viewer/fn.draw_unwalkable_roads.html index d17add5c92..f95a935745 100644 --- a/rustdoc/fifteen_min/viewer/fn.draw_unwalkable_roads.html +++ b/rustdoc/fifteen_min/viewer/fn.draw_unwalkable_roads.html @@ -1,3 +1,3 @@ -
pub fn draw_unwalkable_roads(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
opts: &Options
) -> Drawable
pub fn draw_unwalkable_roads(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
opts: &Options
) -> Drawable
This is a tool to experiment with the concept of 15-minute neighborhoods. Can you access your +
This is a tool to experiment with the concept of 15-minute neighborhoods. Can you access your daily needs (like groceries, a cafe, a library) within a 15-minute walk, bike ride, or public transit ride of your home?
See https://github.com/a-b-street/abstreet/issues/393 for more context.
diff --git a/rustdoc/fifteen_min/viewer/struct.Entry.html b/rustdoc/fifteen_min/viewer/struct.Entry.html index 14753da8bd..224555902a 100644 --- a/rustdoc/fifteen_min/viewer/struct.Entry.html +++ b/rustdoc/fifteen_min/viewer/struct.Entry.html @@ -1,4 +1,4 @@ -struct Entry { +Entry in fifteen_min::viewer - Rust Struct fifteen_min::
viewer:: [−][src]Entry struct Entry { bldg: BuildingID, amenity_idx: usize, name: String, diff --git a/rustdoc/fifteen_min/viewer/struct.ExploreAmenities.html b/rustdoc/fifteen_min/viewer/struct.ExploreAmenities.html index 1de21321c0..e3d5d9fcbb 100644 --- a/rustdoc/fifteen_min/viewer/struct.ExploreAmenities.html +++ b/rustdoc/fifteen_min/viewer/struct.ExploreAmenities.html @@ -1,9 +1,9 @@ -ExploreAmenities in fifteen_min::viewer - Rust Struct fifteen_min::
viewer:: [−][src]ExploreAmenities struct ExploreAmenities { +ExploreAmenities in fifteen_min::viewer - Rust Struct fifteen_min::
viewer:: [−][src]ExploreAmenities Fields
table: Table<SimpleApp<()>, Entry, ()>
panel: Panel
draw: Drawable
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Draw
+}Fields
table: Table<SimpleApp<()>, Entry, ()>
panel: Panel
draw: Drawable
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for ExploreAmenities
impl !Send for ExploreAmenities
impl !Sync for ExploreAmenities
impl Unpin for ExploreAmenities
impl !UnwindSafe for ExploreAmenities
Blanket Implementations
Gets the
diff --git a/rustdoc/fifteen_min/viewer/struct.HoverOnBuilding.html b/rustdoc/fifteen_min/viewer/struct.HoverOnBuilding.html index b648f42734..0489b9bd82 100644 --- a/rustdoc/fifteen_min/viewer/struct.HoverOnBuilding.html +++ b/rustdoc/fifteen_min/viewer/struct.HoverOnBuilding.html @@ -1,7 +1,7 @@TypeId
ofself
. Read moreHoverOnBuilding in fifteen_min::viewer - Rust Struct fifteen_min::
viewer:: [−][src]HoverOnBuilding pub struct HoverOnBuilding { pub tooltip: Text, pub drawn_route: Drawable, -}Fields
tooltip: Text
drawn_route: Drawable
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HoverOnBuilding
impl !Send for HoverOnBuilding
impl !Sync for HoverOnBuilding
impl Unpin for HoverOnBuilding
impl UnwindSafe for HoverOnBuilding
Blanket Implementations
Gets the
+}TypeId
ofself
. Read moreFields
tooltip: Text
drawn_route: Drawable
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HoverOnBuilding
impl !Send for HoverOnBuilding
impl !Sync for HoverOnBuilding
impl Unpin for HoverOnBuilding
impl UnwindSafe for HoverOnBuilding
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/all.html b/rustdoc/game/all.html index f378eb2071..eac12e3012 100644 --- a/rustdoc/game/all.html +++ b/rustdoc/game/all.html @@ -1,5 +1,5 @@List of all items in this crate + List of all items[−] -
Structs
- Setup
- app::App
- app::FindDelayedIntersections
- app::Flags
- app::PerMap
- app::PerObjectActions
- app::SessionState
- app::ShowEverything
- app::ShowLayers
- challenges::Challenge
- challenges::ChallengesPicker
- challenges::HighScore
- challenges::cutscene::CutsceneBuilder
- challenges::cutscene::CutscenePlayer
- challenges::cutscene::Scene
- challenges::cutscene::ShowMessage
- challenges::prebake::PrebakeSummary
- common::CommonState
- common::route_sketcher::Route
- common::route_sketcher::RouteSketcher
- common::select::RoadSelector
- common::warp::DebugWarp
- common::warp::Warping
- common::waypoints::InputWaypoints
- common::waypoints::Waypoint
- debug::Actions
- debug::DebugMode
- debug::ScreenshotTest
- debug::SearchResults
- debug::blocked_by::Viewer
- debug::floodfill::Floodfiller
- debug::objects::ObjectDebugger
- debug::path_counter::PathCounter
- debug::polygons::PolygonDebugger
- debug::routes::AllRoutesExplorer
- debug::routes::PathCostDebugger
- debug::routes::RouteExplorer
- debug::select_roads::BulkSelect
- debug::uber_turns::UberTurnPicker
- debug::uber_turns::UberTurnViewer
- devtools::DevToolsMode
- devtools::collisions::CollisionsViewer
- devtools::collisions::Filters
- devtools::collisions::MapspaceTooltips
- devtools::destinations::PopularDestinations
- devtools::kml::Object
- devtools::kml::ViewKML
- devtools::polygon::PolygonEditor
- devtools::scenario::ScenarioManager
- devtools::story::Lasso
- devtools::story::Marker
- devtools::story::RecordedStoryMap
- devtools::story::StoryMap
- devtools::story::StoryMapEditor
- edit::ConfirmDiscard
- edit::EditMode
- edit::LoadEdits
- edit::SaveEdits
- edit::multiple_roads::SelectSegments
- edit::roads::RoadEditor
- edit::routes::RouteEditor
- edit::stop_signs::StopSignEditor
- edit::traffic_signals::BundleEdits
- edit::traffic_signals::TrafficSignalEditor
- edit::traffic_signals::edits::ChangeDuration
- edit::traffic_signals::gmns::Record
- edit::traffic_signals::gmns::Snapper
- edit::traffic_signals::offsets::ShowAbsolute
- edit::traffic_signals::offsets::ShowRelative
- edit::traffic_signals::offsets::TuneRelative
- edit::traffic_signals::picker::SignalPicker
- edit::traffic_signals::preview::PreviewTrafficSignal
- edit::zones::ZoneEditor
- info::DataOptions
- info::Details
- info::InfoPanel
- info::trip::OpenTrip
- layer::PickLayer
- layer::elevation::ElevationContours
- layer::elevation::SteepStreets
- layer::favorites::Favorites
- layer::favorites::ShowFavorites
- layer::map::BikeActivity
- layer::map::Static
- layer::pandemic::Options
- layer::pandemic::Pandemic
- layer::parking::Efficiency
- layer::parking::Occupancy
- layer::population::Options
- layer::population::PopulationMap
- layer::problems::Options
- layer::problems::ProblemMap
- layer::traffic::Backpressure
- layer::traffic::CompareThroughput
- layer::traffic::Delay
- layer::traffic::Jam
- layer::traffic::Throughput
- layer::traffic::TrafficJams
- layer::transit::TransitNetwork
- ltn::Neighborhood
- ltn::RatRun
- ltn::Viewer
- ltn::browse::BrowseNeighborhoods
- pregame::About
- pregame::MainMenu
- pregame::Screensaver
- pregame::TitleScreen
- pregame::proposals::Proposals
- sandbox::Actions
- sandbox::BackToMainMenu
- sandbox::SandboxControls
- sandbox::SandboxLoader
- sandbox::SandboxMode
- sandbox::dashboards::commuter::Block
- sandbox::dashboards::commuter::CommuterPatterns
- sandbox::dashboards::commuter::Filter
- sandbox::dashboards::commuter::Loop
- sandbox::dashboards::commuter::PanelState
- sandbox::dashboards::misc::ActiveTraffic
- sandbox::dashboards::misc::TransitRoutes
- sandbox::dashboards::mode_shift::Entry
- sandbox::dashboards::mode_shift::Filters
- sandbox::dashboards::mode_shift::ModeShift
- sandbox::dashboards::parking_overhead::Entry
- sandbox::dashboards::parking_overhead::Filters
- sandbox::dashboards::parking_overhead::ParkingOverhead
- sandbox::dashboards::risks::Filter
- sandbox::dashboards::risks::RiskSummaries
- sandbox::dashboards::selector::RectangularSelector
- sandbox::dashboards::traffic_signals::Demand
- sandbox::dashboards::traffic_signals::TrafficSignalDemand
- sandbox::dashboards::travel_times::Filter
- sandbox::dashboards::travel_times::TravelTimes
- sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE
- sandbox::dashboards::trip_problems::Matrix
- sandbox::dashboards::trip_problems::MatrixOptions
- sandbox::dashboards::trip_table::CancelledTrip
- sandbox::dashboards::trip_table::Filters
- sandbox::dashboards::trip_table::FinishedTrip
- sandbox::dashboards::trip_table::TripTable
- sandbox::dashboards::trip_table::UnfinishedTrip
- sandbox::gameplay::FinalScore
- sandbox::gameplay::actdev::About
- sandbox::gameplay::actdev::Actdev
- sandbox::gameplay::commute::OptimizeCommute
- sandbox::gameplay::fix_traffic_signals::FixTrafficSignals
- sandbox::gameplay::freeform::ChangeScenario
- sandbox::gameplay::freeform::Freeform
- sandbox::gameplay::freeform::importers::Input
- sandbox::gameplay::freeform::spawner::AgentSpawner
- sandbox::gameplay::play_scenario::ChangeMode
- sandbox::gameplay::play_scenario::CountTrips
- sandbox::gameplay::play_scenario::DepartureSummary
- sandbox::gameplay::play_scenario::EditScenarioModifiers
- sandbox::gameplay::play_scenario::PlayScenario
- sandbox::gameplay::tutorial::Message
- sandbox::gameplay::tutorial::Stage
- sandbox::gameplay::tutorial::Tutorial
- sandbox::gameplay::tutorial::TutorialPointer
- sandbox::gameplay::tutorial::TutorialState
- sandbox::minimap::MinimapController
- sandbox::misc_tools::RoutePreview
- sandbox::misc_tools::TrafficRecorder
- sandbox::speed::TimePanel
- sandbox::time_warp::JumpToTime
- sandbox::time_warp::TimeWarpScreen
- ungap::About
- ungap::bike_network::DEDICATED_TRAIL
- ungap::bike_network::DrawNetworkLayer
- ungap::bike_network::GREENWAY
- ungap::bike_network::PAINTED_BIKE_LANE
- ungap::bike_network::PROTECTED_BIKE_LANE
- ungap::explore::ExploreMap
- ungap::labels::DrawRoadLabels
- ungap::layers::Layers
- ungap::predict::CandidateTrip
- ungap::predict::Filters
- ungap::predict::ModeShiftData
- ungap::predict::NetworkGaps
- ungap::predict::Results
- ungap::predict::ShowGaps
- ungap::quick_sketch::QuickSketch
- ungap::route::RoutePlanner
- ungap::route::RoutingPreferences
- ungap::route::files::NamedRoute
- ungap::route::files::RenameRoute
- ungap::route::files::RouteManagement
- ungap::route::files::SavedRoutes
- ungap::route::results::AltRouteResults
- ungap::route::results::RouteResults
- ungap::route::results::RouteStats
- ungap::share::UploadedProposals
Enums
- challenges::cutscene::Layout
- common::route_sketcher::Mode
- common::select::Mode
- debug::floodfill::Source
- debug::polygons::Item
- devtools::collisions::Dataviz
- devtools::story::Mode
- info::Tab
- layer::LayerOutcome
- layer::pandemic::Seir
- layer::parking::Loc
- sandbox::LoadStage
- sandbox::dashboards::DashTab
- sandbox::dashboards::commuter::BlockSelection
- sandbox::dashboards::commuter::BorderType
- sandbox::dashboards::trip_problems::ProblemType
- sandbox::gameplay::GameplayMode
- sandbox::gameplay::LoadScenario
- sandbox::gameplay::tutorial::Task
- sandbox::speed::SpeedSetting
- ungap::Tab
- ungap::route::Preference
Traits
- app::ShowObject
- info::ContextualActions
- layer::Layer
- sandbox::dashboards::trip_problems::TripProblemFilter
- sandbox::gameplay::GameplayState
- ungap::TakeLayers
Functions
- app::add_study_area
- challenges::cutscene::make_panel
- challenges::prebake::prebake
- challenges::prebake::prebake_all
- common::checkbox_per_mode
- common::cmp_duration_shorter
- common::color_for_agent_type
- common::color_for_mode
- common::color_for_trip_phase
- common::intersections_from_roads
- common::jump_to_time_upon_startup
- common::list_names
- common::tool_panel
- common::warp::inner_warp_to_id
- common::warp::warp_to_id
- common::waypoints::get_waypoint_text
- continue_app_setup
- debug::calc_all_routes
- debug::diff_tags
- debug::draw_arterial_crosswalks
- debug::draw_banned_turns
- debug::export_for_leaflet
- debug::find_bad_signals
- debug::find_degenerate_roads
- debug::find_large_intersections
- debug::reimport_map
- debug::routes::calculate_demand
- debug::routes::cmp_count
- debug::routes::controls_to_params
- debug::routes::params_to_controls
- debug::search_osm
- debug::select_roads::make_select_panel
- debug::shared_row::export
- debug::shared_row::intersection
- debug::shared_row::lane
- debug::shared_row::road
- debug::streetmix::export
- debug::streetmix::lane
- debug::streetmix::road
- devtools::kml::load_objects
- devtools::kml::make_object
- devtools::kml::make_query
- devtools::kml::pick_file
- devtools::story::make_panel
- devtools::story::simplify
- edit::apply_map_edits
- edit::can_edit_lane
- edit::cmd_to_id
- edit::heuristics::add_new_lane
- edit::heuristics::default_outside_lane_placement
- edit::heuristics::determine_lane_dir
- edit::make_changelist
- edit::make_topcenter
- edit::maybe_edit_intersection
- edit::roads::build_lane_highlights
- edit::roads::can_reverse
- edit::roads::draw_drop_position
- edit::roads::fade_irrelevant
- edit::roads::lane_type_to_icon
- edit::roads::make_main_panel
- edit::roads::make_top_panel
- edit::roads::selected_lane_bg
- edit::roads::width_choices
- edit::speed_limit_choices
- edit::traffic_signals::check_for_missing_turns
- edit::traffic_signals::draw_multiple_signals
- edit::traffic_signals::edits::edit_entire_signal
- edit::traffic_signals::fade_irrelevant
- edit::traffic_signals::gmns::add_crosswalks
- edit::traffic_signals::gmns::cardinal_direction
- edit::traffic_signals::gmns::import
- edit::traffic_signals::gmns::import_all
- edit::traffic_signals::gmns::parse_linestring
- edit::traffic_signals::gmns::parse_osm_ids
- edit::traffic_signals::make_side_panel
- edit::traffic_signals::make_top_panel
- edit::traffic_signals::picker::make_btn
- edit::traffic_signals::preview::make_previewer
- edit::traffic_signals::squish_polygons_together
- edit::validate::check_blackholes
- edit::validate::check_sidewalk_connectivity
- edit::zones::draw_zone
- edit::zones::make_instructions
- finish_app_setup
- info::building::draw_occupants
- info::building::header
- info::building::info
- info::building::info_body
- info::building::people
- info::building::people_body
- info::bus::bus_header
- info::bus::bus_status
- info::bus::bus_status_body
- info::bus::describe_schedule
- info::bus::route
- info::bus::route_body
- info::bus::stop
- info::bus::stop_body
- info::debug::area
- info::debug::area_body
- info::header_btns
- info::intersection::arrivals
- info::intersection::current_demand
- info::intersection::current_demand_body
- info::intersection::delay
- info::intersection::delay_body
- info::intersection::delay_plot
- info::intersection::header
- info::intersection::info
- info::intersection::info_body
- info::intersection::traffic
- info::intersection::traffic_body
- info::intersection::traffic_signal
- info::intersection::traffic_signal_body
- info::lane::debug
- info::lane::debug_body
- info::lane::header
- info::lane::info
- info::lane::info_body
- info::lane::traffic
- info::lane::traffic_body
- info::make_table
- info::make_tabs
- info::parking_lot::header
- info::parking_lot::info
- info::parking_lot::info_body
- info::person::bio
- info::person::bio_body
- info::person::cmp_duration_shorter
- info::person::crowd
- info::person::crowd_body
- info::person::current_status
- info::person::header
- info::person::parked_car
- info::person::parked_car_body
- info::person::schedule
- info::person::schedule_body
- info::person::trips
- info::person::trips_body
- info::throughput
- info::trip::cancelled
- info::trip::describe_problems
- info::trip::draw_problems
- info::trip::endpoint
- info::trip::finished
- info::trip::future
- info::trip::make_elevation
- info::trip::make_timeline
- info::trip::make_trip_details
- info::trip::ongoing
- layer::header
- layer::pandemic::make_controls
- layer::population::make_controls
- layer::problems::make_controls
- layer::traffic::cluster_jams
- ltn::browse::calculate_neighborhoods
- main
- pregame::built_info::maybe_update
- pregame::default_scenario_for_map
- pregame::proposals::launch
- run
- sandbox::dashboards::commuter::build_shape_for_border
- sandbox::dashboards::commuter::group_bldgs
- sandbox::dashboards::commuter::make_panel
- sandbox::dashboards::commuter::partition_sidewalk_loops
- sandbox::dashboards::generic_trip_table::open_trip_transition
- sandbox::dashboards::generic_trip_table::preview_route
- sandbox::dashboards::generic_trip_table::preview_trip
- sandbox::dashboards::misc::downsample
- sandbox::dashboards::mode_shift::make_table
- sandbox::dashboards::mode_shift::produce_raw_data
- sandbox::dashboards::mode_shift::show_route_gaps
- sandbox::dashboards::parking_overhead::make_table
- sandbox::dashboards::parking_overhead::produce_raw_data
- sandbox::dashboards::risks::export_problems
- sandbox::dashboards::travel_times::contingency_table
- sandbox::dashboards::travel_times::export_times
- sandbox::dashboards::travel_times::pct_diff
- sandbox::dashboards::travel_times::scatter_plot
- sandbox::dashboards::travel_times::summary_boxes
- sandbox::dashboards::trip_problems::bucketize_isizes
- sandbox::dashboards::trip_problems::problem_matrix
- sandbox::dashboards::trip_table::make_table_cancelled_trips
- sandbox::dashboards::trip_table::make_table_finished_trips
- sandbox::dashboards::trip_table::make_table_unfinished_trips
- sandbox::dashboards::trip_table::produce_raw_data
- sandbox::gameplay::actdev::find_active_trip
- sandbox::gameplay::challenge_header
- sandbox::gameplay::commute::cutscene_task
- sandbox::gameplay::commute::final_score
- sandbox::gameplay::commute::get_score
- sandbox::gameplay::fix_traffic_signals::cutscene_pt1_task
- sandbox::gameplay::fix_traffic_signals::final_score
- sandbox::gameplay::freeform::actions
- sandbox::gameplay::freeform::execute
- sandbox::gameplay::freeform::importers::import_grid2demand
- sandbox::gameplay::freeform::importers::import_json
- sandbox::gameplay::freeform::importers::import_json_scenario
- sandbox::gameplay::freeform::spawn_agents_around
- sandbox::gameplay::tutorial::actions
- sandbox::gameplay::tutorial::bldg
- sandbox::gameplay::tutorial::execute
- sandbox::gameplay::tutorial::intro_story
- sandbox::gameplay::tutorial::make_bike_lane_scenario
- sandbox::gameplay::tutorial::transition
- sandbox::is_daytime
- sandbox::maybe_exit_sandbox
- sandbox::minimap::make_agent_toggles
- sandbox::minimap::make_tool_panel
- sandbox::misc_tools::make_btn
- sandbox::mouseover_unzoomed_agent_circle
- sandbox::time_warp::area_under_curve
- sandbox::time_warp::build_jump_to_delay_button
- sandbox::time_warp::build_jump_to_time_btn
- sandbox::time_warp::compare_count
- setup_app
- ungap::bike_network::is_greenway
- ungap::explore::make_top_panel
- ungap::labels::simplify_name
- ungap::labels::simplify_patterns
- ungap::layers::legend_btn
- ungap::layers::make_zoom_controls
- ungap::layers::zoom_enabled_cache_key
- ungap::predict::make_top_panel
- ungap::predict::pct
- ungap::predict::percentage_bar
- ungap::quick_sketch::make_quick_changes
- ungap::quick_sketch::maybe_add_bike_lanes
- ungap::route::results::cmp_dist
- ungap::route::results::cmp_duration
- ungap::route::results::compare_routes
- ungap::share::upload_proposal
Typedefs
Constants
- common::warp::WARP_TO_CAM_ZOOM
- devtools::kml::RADIUS
- devtools::kml::THICKNESS
- devtools::polygon::LAST_PLACED_POINT
- devtools::polygon::POINT_COLOR
- devtools::polygon::POINT_RADIUS
- devtools::polygon::POINT_TO_MOVE
- devtools::polygon::POLYGON_COLOR
- layer::PANEL_PLACEMENT
- layer::elevation::CONTOUR_STEP_SIZE
- layer::elevation::INTERSECTION_SEARCH_RADIUS
- pregame::built_info::BUILT_TIME_UTC
- pregame::built_info::CFG_ENDIAN
- pregame::built_info::CFG_ENV
- pregame::built_info::CFG_FAMILY
- pregame::built_info::CFG_OS
- pregame::built_info::CFG_POINTER_WIDTH
- pregame::built_info::CFG_TARGET_ARCH
- pregame::built_info::CI_PLATFORM
- pregame::built_info::DEBUG
- pregame::built_info::FEATURES
- pregame::built_info::FEATURES_STR
- pregame::built_info::HOST
- pregame::built_info::NUM_JOBS
- pregame::built_info::OPT_LEVEL
- pregame::built_info::PKG_AUTHORS
- pregame::built_info::PKG_DESCRIPTION
- pregame::built_info::PKG_HOMEPAGE
- pregame::built_info::PKG_LICENSE
- pregame::built_info::PKG_NAME
- pregame::built_info::PKG_REPOSITORY
- pregame::built_info::PKG_VERSION
- pregame::built_info::PKG_VERSION_MAJOR
- pregame::built_info::PKG_VERSION_MINOR
- pregame::built_info::PKG_VERSION_PATCH
- pregame::built_info::PKG_VERSION_PRE
- pregame::built_info::PROFILE
- pregame::built_info::RUSTC
- pregame::built_info::RUSTC_VERSION
- pregame::built_info::RUSTDOC
- pregame::built_info::RUSTDOC_VERSION
- pregame::built_info::TARGET
- sandbox::gameplay::fix_traffic_signals::THRESHOLD
- sandbox::gameplay::tutorial::CAR_BIKE_CONTENTION_GOAL
- sandbox::gameplay::tutorial::ESCORT
- ungap::share::PROPOSAL_HOST_URL
Structs
- Setup
- app::App
- app::FindDelayedIntersections
- app::Flags
- app::PerMap
- app::PerObjectActions
- app::SessionState
- app::ShowEverything
- app::ShowLayers
- challenges::Challenge
- challenges::ChallengesPicker
- challenges::HighScore
- challenges::cutscene::CutsceneBuilder
- challenges::cutscene::CutscenePlayer
- challenges::cutscene::Scene
- challenges::cutscene::ShowMessage
- challenges::prebake::PrebakeSummary
- common::CommonState
- common::route_sketcher::Route
- common::route_sketcher::RouteSketcher
- common::select::RoadSelector
- common::warp::DebugWarp
- common::warp::Warping
- common::waypoints::InputWaypoints
- common::waypoints::Waypoint
- common::waypoints::WaypointID
- debug::Actions
- debug::DebugMode
- debug::ScreenshotTest
- debug::SearchResults
- debug::blocked_by::Viewer
- debug::floodfill::Floodfiller
- debug::objects::ObjectDebugger
- debug::path_counter::PathCounter
- debug::polygons::PolygonDebugger
- debug::routes::AllRoutesExplorer
- debug::routes::PathCostDebugger
- debug::routes::RouteExplorer
- debug::select_roads::BulkSelect
- debug::uber_turns::UberTurnPicker
- debug::uber_turns::UberTurnViewer
- devtools::DevToolsMode
- devtools::collisions::CollisionsViewer
- devtools::collisions::Filters
- devtools::collisions::MapspaceTooltips
- devtools::destinations::PopularDestinations
- devtools::kml::Object
- devtools::kml::ViewKML
- devtools::polygon::PolygonEditor
- devtools::scenario::ScenarioManager
- devtools::story::DrawFreehand
- devtools::story::EditingMarker
- devtools::story::Lasso
- devtools::story::Marker
- devtools::story::MarkerID
- devtools::story::RecordedStoryMap
- devtools::story::StoryMap
- devtools::story::StoryMapEditor
- edit::ConfirmDiscard
- edit::EditMode
- edit::LoadEdits
- edit::SaveEdits
- edit::multiple_roads::SelectSegments
- edit::roads::RoadEditor
- edit::routes::RouteEditor
- edit::stop_signs::StopSignEditor
- edit::traffic_signals::BundleEdits
- edit::traffic_signals::TrafficSignalEditor
- edit::traffic_signals::edits::ChangeDuration
- edit::traffic_signals::gmns::Record
- edit::traffic_signals::gmns::Snapper
- edit::traffic_signals::offsets::ShowAbsolute
- edit::traffic_signals::offsets::ShowRelative
- edit::traffic_signals::offsets::TuneRelative
- edit::traffic_signals::picker::SignalPicker
- edit::traffic_signals::preview::PreviewTrafficSignal
- edit::zones::ZoneEditor
- info::DataOptions
- info::Details
- info::InfoPanel
- info::trip::OpenTrip
- layer::PickLayer
- layer::elevation::ElevationContours
- layer::elevation::SteepStreets
- layer::favorites::Favorites
- layer::favorites::ShowFavorites
- layer::map::BikeActivity
- layer::map::Static
- layer::pandemic::Options
- layer::pandemic::Pandemic
- layer::parking::Efficiency
- layer::parking::Occupancy
- layer::population::Options
- layer::population::PopulationMap
- layer::problems::Options
- layer::problems::ProblemMap
- layer::traffic::Backpressure
- layer::traffic::CompareThroughput
- layer::traffic::Delay
- layer::traffic::Jam
- layer::traffic::Throughput
- layer::traffic::TrafficJams
- layer::transit::TransitNetwork
- ltn::Neighborhood
- ltn::RatRun
- ltn::Viewer
- ltn::browse::BrowseNeighborhoods
- pregame::About
- pregame::MainMenu
- pregame::Screensaver
- pregame::TitleScreen
- pregame::proposals::Proposals
- sandbox::Actions
- sandbox::BackToMainMenu
- sandbox::SandboxControls
- sandbox::SandboxLoader
- sandbox::SandboxMode
- sandbox::dashboards::commuter::Block
- sandbox::dashboards::commuter::CommuterPatterns
- sandbox::dashboards::commuter::Filter
- sandbox::dashboards::commuter::Loop
- sandbox::dashboards::commuter::PanelState
- sandbox::dashboards::misc::ActiveTraffic
- sandbox::dashboards::misc::TransitRoutes
- sandbox::dashboards::mode_shift::Entry
- sandbox::dashboards::mode_shift::Filters
- sandbox::dashboards::mode_shift::ModeShift
- sandbox::dashboards::parking_overhead::Entry
- sandbox::dashboards::parking_overhead::Filters
- sandbox::dashboards::parking_overhead::ParkingOverhead
- sandbox::dashboards::risks::Filter
- sandbox::dashboards::risks::RiskSummaries
- sandbox::dashboards::selector::RectangularSelector
- sandbox::dashboards::traffic_signals::Demand
- sandbox::dashboards::traffic_signals::TrafficSignalDemand
- sandbox::dashboards::travel_times::Filter
- sandbox::dashboards::travel_times::TravelTimes
- sandbox::dashboards::trip_problems::CLEAR_COLOR_SCALE
- sandbox::dashboards::trip_problems::Matrix
- sandbox::dashboards::trip_problems::MatrixOptions
- sandbox::dashboards::trip_table::CancelledTrip
- sandbox::dashboards::trip_table::Filters
- sandbox::dashboards::trip_table::FinishedTrip
- sandbox::dashboards::trip_table::TripTable
- sandbox::dashboards::trip_table::UnfinishedTrip
- sandbox::gameplay::FinalScore
- sandbox::gameplay::actdev::About
- sandbox::gameplay::actdev::Actdev
- sandbox::gameplay::commute::OptimizeCommute
- sandbox::gameplay::fix_traffic_signals::FixTrafficSignals
- sandbox::gameplay::freeform::ChangeScenario
- sandbox::gameplay::freeform::Freeform
- sandbox::gameplay::freeform::importers::Input
- sandbox::gameplay::freeform::spawner::AgentSpawner
- sandbox::gameplay::play_scenario::ChangeMode
- sandbox::gameplay::play_scenario::CountTrips
- sandbox::gameplay::play_scenario::DepartureSummary
- sandbox::gameplay::play_scenario::EditScenarioModifiers
- sandbox::gameplay::play_scenario::PlayScenario
- sandbox::gameplay::tutorial::Message
- sandbox::gameplay::tutorial::Stage
- sandbox::gameplay::tutorial::Tutorial
- sandbox::gameplay::tutorial::TutorialPointer
- sandbox::gameplay::tutorial::TutorialState
- sandbox::minimap::MinimapController
- sandbox::misc_tools::RoutePreview
- sandbox::misc_tools::TrafficRecorder
- sandbox::speed::TimePanel
- sandbox::time_warp::JumpToTime
- sandbox::time_warp::TimeWarpScreen
- ungap::About
- ungap::bike_network::DEDICATED_TRAIL
- ungap::bike_network::DrawNetworkLayer
- ungap::bike_network::GREENWAY
- ungap::bike_network::PAINTED_BIKE_LANE
- ungap::bike_network::PROTECTED_BIKE_LANE
- ungap::explore::ExploreMap
- ungap::labels::DrawRoadLabels
- ungap::layers::Layers
- ungap::predict::CandidateTrip
- ungap::predict::Filters
- ungap::predict::ModeShiftData
- ungap::predict::NetworkGaps
- ungap::predict::Results
- ungap::predict::ShowGaps
- ungap::quick_sketch::QuickSketch
- ungap::route::RoutePlanner
- ungap::route::RoutingPreferences
- ungap::route::files::NamedRoute
- ungap::route::files::RenameRoute
- ungap::route::files::RouteManagement
- ungap::route::files::SavedRoutes
- ungap::route::results::BuiltRoute
- ungap::route::results::RouteDetails
- ungap::route::results::RouteStats
- ungap::share::UploadedProposals
Enums
- challenges::cutscene::Layout
- common::route_sketcher::Mode
- common::select::Mode
- debug::floodfill::Source
- debug::polygons::Item
- devtools::collisions::Dataviz
- devtools::polygon::Obj
- info::Tab
- layer::LayerOutcome
- layer::pandemic::Seir
- layer::parking::Loc
- sandbox::LoadStage
- sandbox::dashboards::DashTab
- sandbox::dashboards::commuter::BlockSelection
- sandbox::dashboards::commuter::BorderType
- sandbox::dashboards::trip_problems::ProblemType
- sandbox::gameplay::GameplayMode
- sandbox::gameplay::LoadScenario
- sandbox::gameplay::tutorial::Task
- sandbox::speed::SpeedSetting
- ungap::Tab
- ungap::route::ID
- ungap::route::Preference
Traits
- app::ShowObject
- info::ContextualActions
- layer::Layer
- sandbox::dashboards::trip_problems::TripProblemFilter
- sandbox::gameplay::GameplayState
- ungap::TakeLayers
Functions
- app::add_study_area
- challenges::cutscene::make_panel
- challenges::prebake::prebake
- challenges::prebake::prebake_all
- common::checkbox_per_mode
- common::cmp_duration_shorter
- common::color_for_agent_type
- common::color_for_mode
- common::color_for_trip_phase
- common::intersections_from_roads
- common::jump_to_time_upon_startup
- common::list_names
- common::tool_panel
- common::warp::inner_warp_to_id
- common::warp::warp_to_id
- common::waypoints::get_waypoint_text
- continue_app_setup
- debug::calc_all_routes
- debug::diff_tags
- debug::draw_arterial_crosswalks
- debug::draw_banned_turns
- debug::export_for_leaflet
- debug::find_bad_signals
- debug::find_degenerate_roads
- debug::find_large_intersections
- debug::reimport_map
- debug::routes::calculate_demand
- debug::routes::cmp_count
- debug::routes::controls_to_params
- debug::routes::params_to_controls
- debug::search_osm
- debug::select_roads::make_select_panel
- debug::shared_row::export
- debug::shared_row::intersection
- debug::shared_row::lane
- debug::shared_row::road
- debug::streetmix::export
- debug::streetmix::lane
- debug::streetmix::road
- devtools::kml::load_objects
- devtools::kml::make_object
- devtools::kml::make_query
- devtools::kml::pick_file
- devtools::story::simplify
- edit::apply_map_edits
- edit::can_edit_lane
- edit::cmd_to_id
- edit::heuristics::add_new_lane
- edit::heuristics::default_outside_lane_placement
- edit::heuristics::determine_lane_dir
- edit::make_changelist
- edit::make_topcenter
- edit::maybe_edit_intersection
- edit::roads::build_lane_highlights
- edit::roads::can_reverse
- edit::roads::draw_drop_position
- edit::roads::fade_irrelevant
- edit::roads::lane_type_to_icon
- edit::roads::make_main_panel
- edit::roads::make_top_panel
- edit::roads::selected_lane_bg
- edit::roads::width_choices
- edit::speed_limit_choices
- edit::traffic_signals::check_for_missing_turns
- edit::traffic_signals::draw_multiple_signals
- edit::traffic_signals::edits::edit_entire_signal
- edit::traffic_signals::fade_irrelevant
- edit::traffic_signals::gmns::add_crosswalks
- edit::traffic_signals::gmns::cardinal_direction
- edit::traffic_signals::gmns::import
- edit::traffic_signals::gmns::import_all
- edit::traffic_signals::gmns::parse_linestring
- edit::traffic_signals::gmns::parse_osm_ids
- edit::traffic_signals::make_side_panel
- edit::traffic_signals::make_top_panel
- edit::traffic_signals::picker::make_btn
- edit::traffic_signals::preview::make_previewer
- edit::traffic_signals::squish_polygons_together
- edit::validate::check_blackholes
- edit::validate::check_sidewalk_connectivity
- edit::zones::draw_zone
- edit::zones::make_instructions
- finish_app_setup
- info::building::draw_occupants
- info::building::header
- info::building::info
- info::building::info_body
- info::building::people
- info::building::people_body
- info::bus::bus_header
- info::bus::bus_status
- info::bus::bus_status_body
- info::bus::describe_schedule
- info::bus::route
- info::bus::route_body
- info::bus::stop
- info::bus::stop_body
- info::debug::area
- info::debug::area_body
- info::header_btns
- info::intersection::arrivals
- info::intersection::current_demand
- info::intersection::current_demand_body
- info::intersection::delay
- info::intersection::delay_body
- info::intersection::delay_plot
- info::intersection::header
- info::intersection::info
- info::intersection::info_body
- info::intersection::traffic
- info::intersection::traffic_body
- info::intersection::traffic_signal
- info::intersection::traffic_signal_body
- info::lane::debug
- info::lane::debug_body
- info::lane::header
- info::lane::info
- info::lane::info_body
- info::lane::traffic
- info::lane::traffic_body
- info::make_table
- info::make_tabs
- info::parking_lot::header
- info::parking_lot::info
- info::parking_lot::info_body
- info::person::bio
- info::person::bio_body
- info::person::cmp_duration_shorter
- info::person::crowd
- info::person::crowd_body
- info::person::current_status
- info::person::header
- info::person::parked_car
- info::person::parked_car_body
- info::person::schedule
- info::person::schedule_body
- info::person::trips
- info::person::trips_body
- info::throughput
- info::trip::cancelled
- info::trip::describe_problems
- info::trip::draw_problems
- info::trip::endpoint
- info::trip::finished
- info::trip::future
- info::trip::make_elevation
- info::trip::make_timeline
- info::trip::make_trip_details
- info::trip::ongoing
- layer::header
- layer::pandemic::make_controls
- layer::population::make_controls
- layer::problems::make_controls
- layer::traffic::cluster_jams
- ltn::browse::calculate_neighborhoods
- main
- pregame::built_info::maybe_update
- pregame::default_scenario_for_map
- pregame::proposals::launch
- run
- sandbox::dashboards::commuter::build_shape_for_border
- sandbox::dashboards::commuter::group_bldgs
- sandbox::dashboards::commuter::make_panel
- sandbox::dashboards::commuter::partition_sidewalk_loops
- sandbox::dashboards::generic_trip_table::open_trip_transition
- sandbox::dashboards::generic_trip_table::preview_route
- sandbox::dashboards::generic_trip_table::preview_trip
- sandbox::dashboards::misc::downsample
- sandbox::dashboards::mode_shift::make_table
- sandbox::dashboards::mode_shift::produce_raw_data
- sandbox::dashboards::mode_shift::show_route_gaps
- sandbox::dashboards::parking_overhead::make_table
- sandbox::dashboards::parking_overhead::produce_raw_data
- sandbox::dashboards::risks::export_problems
- sandbox::dashboards::travel_times::contingency_table
- sandbox::dashboards::travel_times::export_times
- sandbox::dashboards::travel_times::pct_diff
- sandbox::dashboards::travel_times::scatter_plot
- sandbox::dashboards::travel_times::summary_boxes
- sandbox::dashboards::trip_problems::bucketize_isizes
- sandbox::dashboards::trip_problems::problem_matrix
- sandbox::dashboards::trip_table::make_table_cancelled_trips
- sandbox::dashboards::trip_table::make_table_finished_trips
- sandbox::dashboards::trip_table::make_table_unfinished_trips
- sandbox::dashboards::trip_table::produce_raw_data
- sandbox::gameplay::actdev::find_active_trip
- sandbox::gameplay::challenge_header
- sandbox::gameplay::commute::cutscene_task
- sandbox::gameplay::commute::final_score
- sandbox::gameplay::commute::get_score
- sandbox::gameplay::fix_traffic_signals::cutscene_pt1_task
- sandbox::gameplay::fix_traffic_signals::final_score
- sandbox::gameplay::freeform::actions
- sandbox::gameplay::freeform::execute
- sandbox::gameplay::freeform::importers::import_grid2demand
- sandbox::gameplay::freeform::importers::import_json
- sandbox::gameplay::freeform::importers::import_json_scenario
- sandbox::gameplay::freeform::spawn_agents_around
- sandbox::gameplay::tutorial::actions
- sandbox::gameplay::tutorial::bldg
- sandbox::gameplay::tutorial::execute
- sandbox::gameplay::tutorial::intro_story
- sandbox::gameplay::tutorial::make_bike_lane_scenario
- sandbox::gameplay::tutorial::transition
- sandbox::is_daytime
- sandbox::maybe_exit_sandbox
- sandbox::minimap::make_agent_toggles
- sandbox::minimap::make_tool_panel
- sandbox::misc_tools::make_btn
- sandbox::mouseover_unzoomed_agent_circle
- sandbox::time_warp::area_under_curve
- sandbox::time_warp::build_jump_to_delay_button
- sandbox::time_warp::build_jump_to_time_btn
- sandbox::time_warp::compare_count
- setup_app
- ungap::bike_network::is_greenway
- ungap::explore::make_top_panel
- ungap::labels::simplify_name
- ungap::labels::simplify_patterns
- ungap::layers::legend_btn
- ungap::layers::make_zoom_controls
- ungap::layers::zoom_enabled_cache_key
- ungap::predict::make_top_panel
- ungap::predict::pct
- ungap::predict::percentage_bar
- ungap::quick_sketch::make_quick_changes
- ungap::quick_sketch::maybe_add_bike_lanes
- ungap::route::results::cmp_dist
- ungap::route::results::cmp_duration
- ungap::route::results::compare_routes
- ungap::route::results::make_detail_widget
- ungap::share::upload_proposal
Typedefs
Constants
\ No newline at end of file diff --git a/rustdoc/game/app/struct.App.html b/rustdoc/game/app/struct.App.html index 96208ef1e9..4b4a964ed8 100644 --- a/rustdoc/game/app/struct.App.html +++ b/rustdoc/game/app/struct.App.html @@ -1,4 +1,4 @@ -
- common::warp::WARP_TO_CAM_ZOOM
- devtools::kml::RADIUS
- devtools::kml::THICKNESS
- layer::PANEL_PLACEMENT
- layer::elevation::CONTOUR_STEP_SIZE
- layer::elevation::INTERSECTION_SEARCH_RADIUS
- pregame::built_info::BUILT_TIME_UTC
- pregame::built_info::CFG_ENDIAN
- pregame::built_info::CFG_ENV
- pregame::built_info::CFG_FAMILY
- pregame::built_info::CFG_OS
- pregame::built_info::CFG_POINTER_WIDTH
- pregame::built_info::CFG_TARGET_ARCH
- pregame::built_info::CI_PLATFORM
- pregame::built_info::DEBUG
- pregame::built_info::FEATURES
- pregame::built_info::FEATURES_STR
- pregame::built_info::HOST
- pregame::built_info::NUM_JOBS
- pregame::built_info::OPT_LEVEL
- pregame::built_info::PKG_AUTHORS
- pregame::built_info::PKG_DESCRIPTION
- pregame::built_info::PKG_HOMEPAGE
- pregame::built_info::PKG_LICENSE
- pregame::built_info::PKG_NAME
- pregame::built_info::PKG_REPOSITORY
- pregame::built_info::PKG_VERSION
- pregame::built_info::PKG_VERSION_MAJOR
- pregame::built_info::PKG_VERSION_MINOR
- pregame::built_info::PKG_VERSION_PATCH
- pregame::built_info::PKG_VERSION_PRE
- pregame::built_info::PROFILE
- pregame::built_info::RUSTC
- pregame::built_info::RUSTC_VERSION
- pregame::built_info::RUSTDOC
- pregame::built_info::RUSTDOC_VERSION
- pregame::built_info::TARGET
- sandbox::gameplay::fix_traffic_signals::THRESHOLD
- sandbox::gameplay::tutorial::CAR_BIKE_CONTENTION_GOAL
- sandbox::gameplay::tutorial::ESCORT
- ungap::share::PROPOSAL_HOST_URL
App in game::app - Rust Struct game::
app:: [−][src]App pub struct App { +App in game::app - Rust Struct game::
app:: [−][src]App pub struct App { pub primary: PerMap, pub secondary: Option<PerMap>, pub cs: ColorScheme, @@ -9,7 +9,7 @@Fields
primary: PerMap
secondary: Option<PerMap>
This is only used right now for a debug mode to compare two versions of the same map. In the future, it might be used for some kind of live “side-by-side” comparison.
cs: ColorScheme
opts: Options
per_obj: PerObjectActions
session: SessionState
Static data that lasts the entire session. Use sparingly.
-Implementations
Assumes some defaults.
+Implementations
Assumes some defaults.
pub fn mouseover_debug_mode(
&self,
ctx: &EventCtx<'_>,
show_objs: &dyn ShowObject
) -> Option<ID>fn calculate_current_selection(
&self,
ctx: &EventCtx<'_>,
show_objs: &dyn ShowObject,
debug_mode: bool,
unzoomed_roads_and_intersections: bool,
unzoomed_buildings: bool
) -> Option<ID>fn get_renderables_back_to_front<'a>(
&'a self,
bounds: Bounds,
prerender: &Prerender,
agents: &'a mut AgentCache,
show_objs: &dyn ShowObject
) -> Vec<&'a (dyn Renderable + 'a)>Ensure the map edits are blank, reset the simulation, and blank out prebaked results.
pub fn click_on_intersection<S: Into<String>>(
&mut self,
ctx: &mut EventCtx<'_>,
label: S
) -> Option<IntersectionID>If an intersection was clicked, return its ID.
Trait Implementations
Create a
@@ -36,98 +36,106 @@ the fallback case can just usewidgetry::State
that warps to the given point.unreachable!()
.Called when the mouse has moved.
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
unreachable!()
. Read more
fn panel_changed(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut App,
panel: &mut Panel
) -> Option<Transition<App>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
-Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn panel_changed(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App,
panel: &mut Panel
) -> Option<Transition<App>>Called when something on the panel has changed. If a transition is returned, stop handling +
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read morefn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
-
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling +
fn panel_changed(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App,
panel: &mut Panel
) -> Option<Transition<App>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read morefn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read moreCalled when the mouse has moved.
-If a panel
on_click
event didn’t occur andpanel_changed
didn’t return transition, then +
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling +the event and immediately apply the transition. Read more
+
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
+
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, +the fallback case can just use
+unreachable!()
. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, +
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
+
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
+on_click
event didn’t occur andpanel_changed
didn’t return transition, then +call this to handle all other events. Read moreCalled when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn panel_changed(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App,
panel: &mut Panel
) -> Option<Transition<App>>Called when something on the panel has changed. If a transition is returned, stop handling +
Called when the mouse has moved.
+If a panel
+on_click
event didn’t occur andpanel_changed
didn’t return transition, then +call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then -call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
-
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
-Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read moreCalled when the mouse has moved.
-If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then -call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
-
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling +
fn panel_changed(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut App,
panel: &mut Panel
) -> Option<Transition<App>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, -the fallback case can just use
-unreachable!()
. Read moreCalled when the mouse has moved.
-If a panel
on_click
event didn’t occur andpanel_changed
didn’t return transition, then +If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
+Called when something on the panel has been clicked. Since the action is just a string, +the fallback case can just use
+unreachable!()
. Read moreCalled when the mouse has moved.
+If a panel
+on_click
event didn’t occur andpanel_changed
didn’t return transition, then +call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read moreIf a panel
on_click
event didn’t occur andpanel_changed
didn’t return transition, then +Called when the mouse has moved.
+If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
-
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
-fn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+If a panel
+on_click
event didn’t occur andpanel_changed
didn’t return transition, then +call this to handle all other events. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
-
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then -call this to handle all other events. Read morefn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read morefn draw_baselayer(&self) -> DrawBaselayer
Called when something on the panel has been clicked. Since the action is just a string, the fallback case can just use
-unreachable!()
. Read more
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
+
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>Called when something on the panel has been clicked.
fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
fn other_event(&mut self, &mut EventCtx<'_>, &mut A) -> Transition<A>
If a panel
-on_click
event didn’t occur andpanel_changed
didn’t return transition, then call this to handle all other events. Read morefn draw_baselayer(&self) -> DrawBaselayer
Respond to a UI event, such as input or time passing.
+fn draw_baselayer(&self) -> DrawBaselayer
Respond to a UI event, such as input or time passing.
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
@@ -135,12 +143,12 @@ call this to handle all other events. Read more
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
@@ -155,8 +163,8 @@ call this to handle all other events. Read more
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
@@ -167,220 +175,224 @@ call this to handle all other events. Read more
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
-Before this state is popped or replaced, call this.
-
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
+Respond to a UI event, such as input or time passing.
+Before this state is popped or replaced, call this.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
-
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
-Specifies what to draw before draw()
-Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
-Before this state is popped or replaced, call this.
-
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
+Respond to a UI event, such as input or time passing.
+Specifies what to draw before draw()
+Before this state is popped or replaced, call this.
+Respond to a UI event, such as input or time passing.
+Before this state is popped or replaced, call this.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
-
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
+
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
+Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Respond to a UI event, such as input or time passing.
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
-Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for App
impl !UnwindSafe for App
Blanket Implementations
Gets the
diff --git a/rustdoc/game/app/struct.SessionState.html b/rustdoc/game/app/struct.SessionState.html index 44c38a8391..7ede065fff 100644 --- a/rustdoc/game/app/struct.SessionState.html +++ b/rustdoc/game/app/struct.SessionState.html @@ -5,10 +5,10 @@ pub last_gmns_timing_csv: Option<String>, pub dash_tab: DashTab, pub buffer_lane_type: LaneType, - pub elevation_contours: Cached<MapName, (FindClosest<Distance>, ToggleZoomed)>, + pub elevation_contours: Cached<MapName, (FindClosest<Distance>, ToggleZoomed)>, pub routing_preferences: RoutingPreferences, pub mode_shift: Cached<(MapName, usize), ModeShiftData>, -}TypeId
ofself
. Read moreFields
tutorial: Option<TutorialState>
high_scores: BTreeMap<GameplayMode, Vec<HighScore>>
info_panel_tab: BTreeMap<&'static str, &'static str>
last_gmns_timing_csv: Option<String>
dash_tab: DashTab
buffer_lane_type: LaneType
elevation_contours: Cached<MapName, (FindClosest<Distance>, ToggleZoomed)>
routing_preferences: RoutingPreferences
mode_shift: Cached<(MapName, usize), ModeShiftData>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SessionState
impl !Send for SessionState
impl !Sync for SessionState
impl Unpin for SessionState
impl !UnwindSafe for SessionState
Blanket Implementations
Gets the
+}TypeId
ofself
. Read moreFields
tutorial: Option<TutorialState>
high_scores: BTreeMap<GameplayMode, Vec<HighScore>>
info_panel_tab: BTreeMap<&'static str, &'static str>
last_gmns_timing_csv: Option<String>
dash_tab: DashTab
buffer_lane_type: LaneType
elevation_contours: Cached<MapName, (FindClosest<Distance>, ToggleZoomed)>
routing_preferences: RoutingPreferences
mode_shift: Cached<(MapName, usize), ModeShiftData>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SessionState
impl !Send for SessionState
impl !Sync for SessionState
impl Unpin for SessionState
impl !UnwindSafe for SessionState
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/app/type.Transition.html b/rustdoc/game/app/type.Transition.html index e9ec4a6d11..f0cb27ce5c 100644 --- a/rustdoc/game/app/type.Transition.html +++ b/rustdoc/game/app/type.Transition.html @@ -1,3 +1,3 @@ -Transition in game::app - Rust + Type Definition game::
app:: [−][src]Transition pub type Transition = Transition<App>;Transition in game::app - Rust \ No newline at end of file diff --git a/rustdoc/game/common/index.html b/rustdoc/game/common/index.html index 6338bad88d..7678989caf 100644 --- a/rustdoc/game/common/index.html +++ b/rustdoc/game/common/index.html @@ -1,5 +1,5 @@ Type Definition game::
app:: [−][src]Transition pub type Transition = Transition<App>;game::common - Rust \ No newline at end of file diff --git a/rustdoc/game/common/waypoints/sidebar-items.js b/rustdoc/game/common/waypoints/sidebar-items.js index 435b20d6f6..7db4109b32 100644 --- a/rustdoc/game/common/waypoints/sidebar-items.js +++ b/rustdoc/game/common/waypoints/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_waypoint_text",""]],"struct":[["InputWaypoints","Click to add waypoints, drag them, see the list on a panel and delete them. The caller owns the Panel, since there’s probably more stuff there too."],["Waypoint",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["get_waypoint_text",""]],"struct":[["InputWaypoints","Click to add waypoints, drag them, see the list on a panel and delete them. The caller owns the Panel and the World, since there’s probably more stuff there too."],["Waypoint",""],["WaypointID",""]]}); \ No newline at end of file diff --git a/rustdoc/game/common/waypoints/struct.InputWaypoints.html b/rustdoc/game/common/waypoints/struct.InputWaypoints.html index c7ba066dd1..6379382d70 100644 --- a/rustdoc/game/common/waypoints/struct.InputWaypoints.html +++ b/rustdoc/game/common/waypoints/struct.InputWaypoints.html @@ -1,17 +1,14 @@ - Module game::
common [−][src]Re-exports
-pub use self::route_sketcher::RouteSketcher;
pub use self::select::RoadSelector;
pub use self::warp::warp_to_id;
pub use self::warp::Warping;
pub use self::waypoints::InputWaypoints;
Modules
+pub use self::route_sketcher::RouteSketcher;
pub use self::select::RoadSelector;
pub use self::warp::warp_to_id;
pub use self::warp::Warping;
pub use self::waypoints::InputWaypoints;
pub use self::waypoints::WaypointID;
Modules
Structs
Functions
If you want a simulation to start after midnight, pass the result of this to diff --git a/rustdoc/game/common/waypoints/fn.get_waypoint_text.html b/rustdoc/game/common/waypoints/fn.get_waypoint_text.html index 730032426d..3972c6d87d 100644 --- a/rustdoc/game/common/waypoints/fn.get_waypoint_text.html +++ b/rustdoc/game/common/waypoints/fn.get_waypoint_text.html @@ -1,3 +1,3 @@ -
get_waypoint_text in game::common::waypoints - Rust + Function game::
common:: [−][src]waypoints:: get_waypoint_text fn get_waypoint_text(idx: usize) -> charget_waypoint_text in game::common::waypoints - Rust \ No newline at end of file diff --git a/rustdoc/game/common/waypoints/index.html b/rustdoc/game/common/waypoints/index.html index 0f9170d8ad..e8e252c12f 100644 --- a/rustdoc/game/common/waypoints/index.html +++ b/rustdoc/game/common/waypoints/index.html @@ -1,7 +1,7 @@ - Function game::
common:: [−][src]waypoints:: get_waypoint_text fn get_waypoint_text(idx: usize) -> chargame::common::waypoints - Rust Module game::
common:: [−][src]waypoints Structs
+game::common::waypoints - Rust Module game::
common:: [−][src]waypoints Structs
Click to add waypoints, drag them, see the list on a panel and delete them. The caller owns the -Panel, since there’s probably more stuff there too.
-Functions
+Panel and the World, since there’s probably more stuff there too. +Functions
InputWaypoints in game::common::waypoints - Rust Struct game::
common:: [−][src]waypoints:: InputWaypoints pub struct InputWaypoints { +InputWaypoints in game::common::waypoints - Rust Struct game::
common:: [−][src]waypoints:: InputWaypoints pub struct InputWaypoints { waypoints: Vec<Waypoint>, - draw_waypoints: Drawable, - hovering_on_waypt: Option<usize>, - draw_hover: Drawable, - dragging: bool, snap_to_endpts: FindClosest<TripEndpoint>, }Expand description
Click to add waypoints, drag them, see the list on a panel and delete them. The caller owns the -Panel, since there’s probably more stuff there too.
-Fields
waypoints: Vec<Waypoint>
draw_waypoints: Drawable
hovering_on_waypt: Option<usize>
draw_hover: Drawable
dragging: bool
snap_to_endpts: FindClosest<TripEndpoint>
Implementations
If the outcome from the panel isn’t used by the caller, pass it along here. This handles -calling
-ctx.canvas_movement
when appropriate. When this returns true, something has -changed, so the caller may want to update their view of the route and call -get_panel_widget
again.Auto Trait Implementations
impl !RefUnwindSafe for InputWaypoints
impl !Send for InputWaypoints
impl !Sync for InputWaypoints
impl Unpin for InputWaypoints
impl UnwindSafe for InputWaypoints
Blanket Implementations
Gets the
+Panel and the World, since there’s probably more stuff there too. +TypeId
ofself
. Read moreFields
waypoints: Vec<Waypoint>
snap_to_endpts: FindClosest<TripEndpoint>
Implementations
The caller should call
+rebuild_world
after this
pub fn event(
&mut self,
app: &mut App,
panel_outcome: Outcome,
world_outcome: WorldOutcome<WaypointID>
) -> boolIf the outcome from the panel or world isn’t used by the caller, pass it along here. When this +returns true, something has changed, so the caller may want to update their view of the +route and call
+get_panel_widget
andrebuild_world
again.
pub fn rebuild_world<T: ObjectID, F: Fn(WaypointID) -> T>(
&self,
ctx: &mut EventCtx<'_>,
world: &mut World<T>,
wrap_id: F,
zorder: usize
)The caller is responsible for calling
+initialize_hover
andrebuilt_during_drag
.Auto Trait Implementations
impl RefUnwindSafe for InputWaypoints
impl Send for InputWaypoints
impl Sync for InputWaypoints
impl Unpin for InputWaypoints
impl UnwindSafe for InputWaypoints
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/common/waypoints/struct.Waypoint.html b/rustdoc/game/common/waypoints/struct.Waypoint.html index c55561ba11..93bfa2dc3d 100644 --- a/rustdoc/game/common/waypoints/struct.Waypoint.html +++ b/rustdoc/game/common/waypoints/struct.Waypoint.html @@ -1,8 +1,8 @@ -Waypoint in game::common::waypoints - Rust Struct game::
common:: [−][src]waypoints:: Waypoint struct Waypoint { +Waypoint in game::common::waypoints - Rust Struct game::
common:: [−][src]waypoints:: Waypoint struct Waypoint { at: TripEndpoint, label: String, - hitbox: Polygon, -}Fields
at: TripEndpoint
label: String
hitbox: Polygon
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Waypoint
impl UnwindSafe for Waypoint
Blanket Implementations
Fields
at: TripEndpoint
label: String
center: Pt2D
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Waypoint
impl UnwindSafe for Waypoint
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/common/waypoints/struct.WaypointID.html b/rustdoc/game/common/waypoints/struct.WaypointID.html new file mode 100644 index 0000000000..b8ab85b006 --- /dev/null +++ b/rustdoc/game/common/waypoints/struct.WaypointID.html @@ -0,0 +1,40 @@ +WaypointID in game::common::waypoints - Rust + + \ No newline at end of file diff --git a/rustdoc/game/debug/floodfill/enum.Source.html b/rustdoc/game/debug/floodfill/enum.Source.html index 1e109911e9..0ecf221abc 100644 --- a/rustdoc/game/debug/floodfill/enum.Source.html +++ b/rustdoc/game/debug/floodfill/enum.Source.html @@ -1,7 +1,7 @@ - Struct game::
common:: [−][src]waypoints:: WaypointID pub struct WaypointID(usize);Trait Implementations
This method tests for
+self
andother
values to be equal, and is used +by==
. Read moreThis method tests for
+!=
.Auto Trait Implementations
impl RefUnwindSafe for WaypointID
impl Send for WaypointID
impl Sync for WaypointID
impl Unpin for WaypointID
impl UnwindSafe for WaypointID
Blanket Implementations
Mutably borrows from an owned value. Read more
+
impl<T> CallHasher for T where
T: Hash,
impl<T> Downcast for T where
T: Any,Convert
+Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can +then be furtherdowncast
intoBox<ConcreteType>
whereConcreteType
implementsTrait
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
+Rc<Trait>
(whereTrait: Downcast
) toRc<Any>
.Rc<Any>
can then be +furtherdowncast
intoRc<ConcreteType>
whereConcreteType
implementsTrait
. Read moreConvert
+&Trait
(whereTrait: Downcast
) to&Any
. This is needed since Rust cannot +generate&Any
’s vtable from&Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
+&mut Trait
(whereTrait: Downcast
) to&Any
. This is needed since Rust cannot +generate&mut Any
’s vtable from&mut Trait
’s. Read moreCompare self to
+key
and returntrue
if they are equal.Instruments this type with the provided
+Span
, returning an +Instrumented
wrapper. Read more
type Output = T
Should always be
+Self
pub fn vzip(self) -> V
Source in game::debug::floodfill - Rust Enum game::
debug:: [−][src]floodfill:: Source enum Source { +Source in game::debug::floodfill - Rust Enum game::
debug:: [−][src]floodfill:: Source enum Source { Floodfill(LaneID), Scc, -}Variants
Floodfill(LaneID)
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Variants
Floodfill(LaneID)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Source
impl UnwindSafe for Source
Blanket Implementations
Immutably borrows from an owned value. Read more
diff --git a/rustdoc/game/debug/floodfill/index.html b/rustdoc/game/debug/floodfill/index.html index 194ed62782..06d14e9521 100644 --- a/rustdoc/game/debug/floodfill/index.html +++ b/rustdoc/game/debug/floodfill/index.html @@ -1,4 +1,4 @@ -game::debug::floodfill - Rust Module game::
debug:: [−][src]floodfill Structs
+game::debug::floodfill - Rust diff --git a/rustdoc/game/debug/floodfill/struct.Floodfiller.html b/rustdoc/game/debug/floodfill/struct.Floodfiller.html index 398498ee61..2681f2560d 100644 --- a/rustdoc/game/debug/floodfill/struct.Floodfiller.html +++ b/rustdoc/game/debug/floodfill/struct.Floodfiller.html @@ -1,9 +1,9 @@ - Module game::
debug:: [−][src]floodfill Structs
Enums
Floodfiller in game::debug::floodfill - Rust Struct game::
debug:: [−][src]floodfill:: Floodfiller pub struct Floodfiller { +Floodfiller in game::debug::floodfill - Rust Struct game::
debug:: [−][src]floodfill:: Floodfiller pub struct Floodfiller { panel: Panel, - draw: ToggleZoomed, + draw: ToggleZoomed, source: Source, -}Fields
panel: Panel
draw: ToggleZoomed
source: Source
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Draw
+}Fields
panel: Panel
draw: ToggleZoomed
source: Source
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for Floodfiller
impl !Send for Floodfiller
impl !Sync for Floodfiller
impl Unpin for Floodfiller
impl !UnwindSafe for Floodfiller
Blanket Implementations
Gets the
diff --git a/rustdoc/game/debug/path_counter/index.html b/rustdoc/game/debug/path_counter/index.html index 7ccfd663cb..b1dc94d9c5 100644 --- a/rustdoc/game/debug/path_counter/index.html +++ b/rustdoc/game/debug/path_counter/index.html @@ -1,4 +1,4 @@ -TypeId
ofself
. Read moregame::debug::path_counter - Rust Module game::
debug:: [−][src]path_counter Structs
+game::debug::path_counter - Rust diff --git a/rustdoc/game/debug/path_counter/struct.PathCounter.html b/rustdoc/game/debug/path_counter/struct.PathCounter.html index ef31545de9..51dda48b10 100644 --- a/rustdoc/game/debug/path_counter/struct.PathCounter.html +++ b/rustdoc/game/debug/path_counter/struct.PathCounter.html @@ -1,11 +1,11 @@ - Module game::
debug:: [−][src]path_counter Structs
A state to count the number of trips that will cross different roads.
PathCounter in game::debug::path_counter - Rust Struct game::
debug:: [−][src]path_counter:: PathCounter pub struct PathCounter { +PathCounter in game::debug::path_counter - Rust Struct game::
debug:: [−][src]path_counter:: PathCounter pub struct PathCounter { panel: Panel, - draw: ToggleZoomed, + draw: ToggleZoomed, cnt: Counter<RoadID>, tooltip: Option<Text>, }Expand description
A state to count the number of trips that will cross different roads.
-Fields
panel: Panel
draw: ToggleZoomed
cnt: Counter<RoadID>
tooltip: Option<Text>
Implementations
pub fn demand_across_intersection(
ctx: &mut EventCtx<'_>,
app: &App,
i: IntersectionID
) -> Box<dyn State<App>>Trait Implementations
Respond to a UI event, such as input or time passing.
-Fields
panel: Panel
draw: ToggleZoomed
cnt: Counter<RoadID>
tooltip: Option<Text>
Implementations
pub fn demand_across_intersection(
ctx: &mut EventCtx<'_>,
app: &App,
i: IntersectionID
) -> Box<dyn State<App>>Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for PathCounter
impl !Send for PathCounter
impl !Sync for PathCounter
impl Unpin for PathCounter
impl !UnwindSafe for PathCounter
Blanket Implementations
Gets the
diff --git a/rustdoc/game/debug/routes/fn.calculate_demand.html b/rustdoc/game/debug/routes/fn.calculate_demand.html index 06fa15d7de..cb7ff36961 100644 --- a/rustdoc/game/debug/routes/fn.calculate_demand.html +++ b/rustdoc/game/debug/routes/fn.calculate_demand.html @@ -1,3 +1,3 @@ -TypeId
ofself
. Read morecalculate_demand in game::debug::routes - Rust + Function game::
debug:: [−][src]routes:: calculate_demand fn calculate_demand(
app: &App,
requests: &[PathRequest],
timer: &mut Timer<'_>
) -> Counter<RoadID>calculate_demand in game::debug::routes - Rust \ No newline at end of file diff --git a/rustdoc/game/debug/routes/fn.cmp_count.html b/rustdoc/game/debug/routes/fn.cmp_count.html index d68ed5290e..c9467d7c34 100644 --- a/rustdoc/game/debug/routes/fn.cmp_count.html +++ b/rustdoc/game/debug/routes/fn.cmp_count.html @@ -1,3 +1,3 @@ - Function game::
debug:: [−][src]routes:: calculate_demand fn calculate_demand(
app: &App,
requests: &[PathRequest],
timer: &mut Timer<'_>
) -> Counter<RoadID>cmp_count in game::debug::routes - Rust + Function game::
debug:: [−][src]routes:: cmp_count fn cmp_count(after: usize, before: usize) -> Vec<TextSpan>cmp_count in game::debug::routes - Rust \ No newline at end of file diff --git a/rustdoc/game/debug/routes/fn.controls_to_params.html b/rustdoc/game/debug/routes/fn.controls_to_params.html index 33d82f2b3e..7a95a626fc 100644 --- a/rustdoc/game/debug/routes/fn.controls_to_params.html +++ b/rustdoc/game/debug/routes/fn.controls_to_params.html @@ -1,3 +1,3 @@ - Function game::
debug:: [−][src]routes:: cmp_count fn cmp_count(after: usize, before: usize) -> Vec<TextSpan>controls_to_params in game::debug::routes - Rust + Function game::
debug:: [−][src]routes:: controls_to_params fn controls_to_params(panel: &Panel) -> (TripMode, RoutingParams)controls_to_params in game::debug::routes - Rust \ No newline at end of file diff --git a/rustdoc/game/debug/routes/fn.params_to_controls.html b/rustdoc/game/debug/routes/fn.params_to_controls.html index 829a09d3b9..3ccf4f5e93 100644 --- a/rustdoc/game/debug/routes/fn.params_to_controls.html +++ b/rustdoc/game/debug/routes/fn.params_to_controls.html @@ -1,3 +1,3 @@ - Function game::
debug:: [−][src]routes:: controls_to_params fn controls_to_params(panel: &Panel) -> (TripMode, RoutingParams)params_to_controls in game::debug::routes - Rust + Function game::
debug:: [−][src]routes:: params_to_controls fn params_to_controls(
ctx: &mut EventCtx<'_>,
mode: TripMode,
params: &RoutingParams
) -> Widgetparams_to_controls in game::debug::routes - Rust \ No newline at end of file diff --git a/rustdoc/game/debug/routes/index.html b/rustdoc/game/debug/routes/index.html index da90f50868..8c30761d0a 100644 --- a/rustdoc/game/debug/routes/index.html +++ b/rustdoc/game/debug/routes/index.html @@ -1,4 +1,4 @@ - Function game::
debug:: [−][src]routes:: params_to_controls fn params_to_controls(
ctx: &mut EventCtx<'_>,
mode: TripMode,
params: &RoutingParams
) -> Widgetgame::debug::routes - Rust Module game::
debug:: [−][src]routes Structs
+game::debug::routes - Rust Module game::
debug:: [−][src]routes Structs
See how live-tuned routing parameters affect all requests for the current scenario.
Evaluate why an alternative path wasn’t chosen, by showing the cost to reach every road from one start.
diff --git a/rustdoc/game/debug/routes/struct.AllRoutesExplorer.html b/rustdoc/game/debug/routes/struct.AllRoutesExplorer.html index d047c9b9da..8a246802be 100644 --- a/rustdoc/game/debug/routes/struct.AllRoutesExplorer.html +++ b/rustdoc/game/debug/routes/struct.AllRoutesExplorer.html @@ -1,13 +1,13 @@ -AllRoutesExplorer in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: AllRoutesExplorer struct AllRoutesExplorer { +AllRoutesExplorer in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: AllRoutesExplorer struct AllRoutesExplorer { panel: Panel, requests: Vec<PathRequest>, baseline_counts: Counter<RoadID>, current_counts: Counter<RoadID>, - draw: ToggleZoomed, + draw: ToggleZoomed, tooltip: Option<Text>, }Expand description
See how live-tuned routing parameters affect all requests for the current scenario.
-Fields
panel: Panel
requests: Vec<PathRequest>
baseline_counts: Counter<RoadID>
current_counts: Counter<RoadID>
draw: ToggleZoomed
tooltip: Option<Text>
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Fields
panel: Panel
requests: Vec<PathRequest>
baseline_counts: Counter<RoadID>
current_counts: Counter<RoadID>
draw: ToggleZoomed
tooltip: Option<Text>
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for AllRoutesExplorer
impl !Send for AllRoutesExplorer
impl !Sync for AllRoutesExplorer
impl Unpin for AllRoutesExplorer
impl !UnwindSafe for AllRoutesExplorer
Blanket Implementations
Gets the
diff --git a/rustdoc/game/debug/routes/struct.PathCostDebugger.html b/rustdoc/game/debug/routes/struct.PathCostDebugger.html index 43bebd9a2a..a110386f3d 100644 --- a/rustdoc/game/debug/routes/struct.PathCostDebugger.html +++ b/rustdoc/game/debug/routes/struct.PathCostDebugger.html @@ -1,12 +1,12 @@ -TypeId
ofself
. Read morePathCostDebugger in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: PathCostDebugger pub struct PathCostDebugger { +PathCostDebugger in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: PathCostDebugger pub struct PathCostDebugger { draw_path: Drawable, costs: HashMap<DirectedRoadID, Duration>, tooltip: Option<Text>, panel: Panel, }Expand description
Evaluate why an alternative path wasn’t chosen, by showing the cost to reach every road from one start.
-Fields
draw_path: Drawable
costs: HashMap<DirectedRoadID, Duration>
tooltip: Option<Text>
panel: Panel
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Fields
draw_path: Drawable
costs: HashMap<DirectedRoadID, Duration>
tooltip: Option<Text>
panel: Panel
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for PathCostDebugger
impl !Send for PathCostDebugger
impl !Sync for PathCostDebugger
impl Unpin for PathCostDebugger
impl !UnwindSafe for PathCostDebugger
Blanket Implementations
Gets the
diff --git a/rustdoc/game/debug/routes/struct.RouteExplorer.html b/rustdoc/game/debug/routes/struct.RouteExplorer.html index a45ef5937c..a25137ca2c 100644 --- a/rustdoc/game/debug/routes/struct.RouteExplorer.html +++ b/rustdoc/game/debug/routes/struct.RouteExplorer.html @@ -1,10 +1,10 @@ -TypeId
ofself
. Read moreRouteExplorer in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: RouteExplorer pub struct RouteExplorer { +RouteExplorer in game::debug::routes - Rust Struct game::
debug:: [−][src]routes:: RouteExplorer pub struct RouteExplorer { panel: Panel, start: TripEndpoint, goal: Option<(TripEndpoint, bool, Drawable)>, }Expand description
See how live-tuned routing parameters affect a single request.
-Fields
panel: Panel
start: TripEndpoint
goal: Option<(TripEndpoint, bool, Drawable)>
Implementations
pub fn new_state(
ctx: &mut EventCtx<'_>,
app: &App,
start: TripEndpoint
) -> Box<dyn State<App>>Trait Implementations
Respond to a UI event, such as input or time passing.
-Fields
panel: Panel
start: TripEndpoint
goal: Option<(TripEndpoint, bool, Drawable)>
Implementations
pub fn new_state(
ctx: &mut EventCtx<'_>,
app: &App,
start: TripEndpoint
) -> Box<dyn State<App>>Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for RouteExplorer
impl !Send for RouteExplorer
impl !Sync for RouteExplorer
impl Unpin for RouteExplorer
impl !UnwindSafe for RouteExplorer
Blanket Implementations
Gets the
diff --git a/rustdoc/game/devtools/collisions/enum.Dataviz.html b/rustdoc/game/devtools/collisions/enum.Dataviz.html index 104074b9e7..a1ef6ea7e8 100644 --- a/rustdoc/game/devtools/collisions/enum.Dataviz.html +++ b/rustdoc/game/devtools/collisions/enum.Dataviz.html @@ -1,11 +1,11 @@ -TypeId
ofself
. Read moreDataviz in game::devtools::collisions - Rust Enum game::
devtools:: [−][src]collisions:: Dataviz enum Dataviz { +Dataviz in game::devtools::collisions - Rust Enum game::
devtools:: [−][src]collisions:: Dataviz enum Dataviz { Individual { draw_all_circles: Drawable, }, Aggregated { - draw: ToggleZoomed, + draw: ToggleZoomed, }, -}Variants
Fields of Aggregated
draw: ToggleZoomed
Implementations
fn aggregated(
ctx: &mut EventCtx<'_>,
app: &App,
data: &CollisionDataset,
indices: Vec<usize>
) -> (Dataviz, MapspaceTooltips)fn individual(
ctx: &mut EventCtx<'_>,
app: &App,
data: &CollisionDataset,
indices: Vec<usize>
) -> (Dataviz, MapspaceTooltips)Auto Trait Implementations
impl !RefUnwindSafe for Dataviz
impl UnwindSafe for Dataviz
Blanket Implementations
Gets the
+}TypeId
ofself
. Read moreVariants
Implementations
fn aggregated(
ctx: &mut EventCtx<'_>,
app: &App,
data: &CollisionDataset,
indices: Vec<usize>
) -> (Dataviz, MapspaceTooltips)fn individual(
ctx: &mut EventCtx<'_>,
app: &App,
data: &CollisionDataset,
indices: Vec<usize>
) -> (Dataviz, MapspaceTooltips)Auto Trait Implementations
impl !RefUnwindSafe for Dataviz
impl UnwindSafe for Dataviz
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/devtools/collisions/index.html b/rustdoc/game/devtools/collisions/index.html index a356c2b942..d8b4abd618 100644 --- a/rustdoc/game/devtools/collisions/index.html +++ b/rustdoc/game/devtools/collisions/index.html @@ -1,4 +1,4 @@ -game::devtools::collisions - Rust Module game::
devtools:: [−][src]collisions Structs
+game::devtools::collisions - Rust diff --git a/rustdoc/game/devtools/collisions/struct.CollisionsViewer.html b/rustdoc/game/devtools/collisions/struct.CollisionsViewer.html index 2ff8b47a10..898a6ac7d5 100644 --- a/rustdoc/game/devtools/collisions/struct.CollisionsViewer.html +++ b/rustdoc/game/devtools/collisions/struct.CollisionsViewer.html @@ -1,10 +1,10 @@ - Module game::
devtools:: [−][src]collisions Structs
Enums
CollisionsViewer in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: CollisionsViewer pub struct CollisionsViewer { +CollisionsViewer in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: CollisionsViewer pub struct CollisionsViewer { data: CollisionDataset, dataviz: Dataviz, tooltips: MapspaceTooltips, panel: Panel, -}Fields
data: CollisionDataset
dataviz: Dataviz
tooltips: MapspaceTooltips
panel: Panel
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Draw
+}Fields
data: CollisionDataset
dataviz: Dataviz
tooltips: MapspaceTooltips
panel: Panel
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for CollisionsViewer
impl !Send for CollisionsViewer
impl !Sync for CollisionsViewer
impl Unpin for CollisionsViewer
impl !UnwindSafe for CollisionsViewer
Blanket Implementations
Gets the
diff --git a/rustdoc/game/devtools/collisions/struct.Filters.html b/rustdoc/game/devtools/collisions/struct.Filters.html index 869480ab69..9f2e6ea328 100644 --- a/rustdoc/game/devtools/collisions/struct.Filters.html +++ b/rustdoc/game/devtools/collisions/struct.Filters.html @@ -1,12 +1,12 @@ -TypeId
ofself
. Read moreFilters in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: Filters struct Filters { +Filters in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: Filters struct Filters { show_individual: bool, time_range: (Duration, Duration), severity: Option<Severity>, -}Fields
show_individual: bool
time_range: (Duration, Duration)
severity: Option<Severity>
Implementations
Returns the indices of all matching collisions
-Trait Implementations
This method tests for
self
andother
values to be equal, and is used +}Fields
show_individual: bool
time_range: (Duration, Duration)
severity: Option<Severity>
Implementations
Returns the indices of all matching collisions
+Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Filters
impl UnwindSafe for Filters
Blanket Implementations
Auto Trait Implementations
impl RefUnwindSafe for Filters
impl UnwindSafe for Filters
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/devtools/collisions/struct.MapspaceTooltips.html b/rustdoc/game/devtools/collisions/struct.MapspaceTooltips.html index 061efcbd6d..c70f5f5ef3 100644 --- a/rustdoc/game/devtools/collisions/struct.MapspaceTooltips.html +++ b/rustdoc/game/devtools/collisions/struct.MapspaceTooltips.html @@ -1,8 +1,8 @@ -MapspaceTooltips in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: MapspaceTooltips struct MapspaceTooltips { +MapspaceTooltips in game::devtools::collisions - Rust Struct game::
devtools:: [−][src]collisions:: MapspaceTooltips struct MapspaceTooltips { tooltips: Vec<(Polygon, Text)>, hover: Box<dyn Fn(&Polygon) -> GeomBatch>, selected: Option<usize>, -}Fields
tooltips: Vec<(Polygon, Text)>
hover: Box<dyn Fn(&Polygon) -> GeomBatch>
selected: Option<usize>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MapspaceTooltips
impl !Send for MapspaceTooltips
impl !Sync for MapspaceTooltips
impl Unpin for MapspaceTooltips
impl !UnwindSafe for MapspaceTooltips
Blanket Implementations
Gets the
+}TypeId
ofself
. Read moreFields
tooltips: Vec<(Polygon, Text)>
hover: Box<dyn Fn(&Polygon) -> GeomBatch>
selected: Option<usize>
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MapspaceTooltips
impl !Send for MapspaceTooltips
impl !Sync for MapspaceTooltips
impl Unpin for MapspaceTooltips
impl !UnwindSafe for MapspaceTooltips
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,Convert
Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can diff --git a/rustdoc/game/devtools/index.html b/rustdoc/game/devtools/index.html index bc5c953e9e..ee801cf12d 100644 --- a/rustdoc/game/devtools/index.html +++ b/rustdoc/game/devtools/index.html @@ -1,4 +1,4 @@ -game::devtools - Rust Module game::
devtools [−][src]Expand description
This directory contains extra/experimental tools not directly related to A/B Street the game. +
game::devtools - Rust Module game::
devtools [−][src]Expand description
This directory contains extra/experimental tools not directly related to A/B Street the game. Eventually some might be split into separate crates.
Modules
Structs
diff --git a/rustdoc/game/devtools/polygon/constant.LAST_PLACED_POINT.html b/rustdoc/game/devtools/polygon/constant.LAST_PLACED_POINT.html deleted file mode 100644 index 8fdc1498be..0000000000 --- a/rustdoc/game/devtools/polygon/constant.LAST_PLACED_POINT.html +++ /dev/null @@ -1,3 +0,0 @@ -LAST_PLACED_POINT in game::devtools::polygon - Rust - - \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/constant.POINT_COLOR.html b/rustdoc/game/devtools/polygon/constant.POINT_COLOR.html deleted file mode 100644 index c977bd14cd..0000000000 --- a/rustdoc/game/devtools/polygon/constant.POINT_COLOR.html +++ /dev/null @@ -1,3 +0,0 @@ - Constant game::
devtools:: [−][src]polygon:: LAST_PLACED_POINT const LAST_PLACED_POINT: Color;POINT_COLOR in game::devtools::polygon - Rust - - \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/constant.POINT_RADIUS.html b/rustdoc/game/devtools/polygon/constant.POINT_RADIUS.html deleted file mode 100644 index ba8f3d0fd6..0000000000 --- a/rustdoc/game/devtools/polygon/constant.POINT_RADIUS.html +++ /dev/null @@ -1,3 +0,0 @@ - Constant game::
devtools:: [−][src]polygon:: POINT_COLOR const POINT_COLOR: Color;POINT_RADIUS in game::devtools::polygon - Rust - - \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/constant.POINT_TO_MOVE.html b/rustdoc/game/devtools/polygon/constant.POINT_TO_MOVE.html deleted file mode 100644 index e81728b1af..0000000000 --- a/rustdoc/game/devtools/polygon/constant.POINT_TO_MOVE.html +++ /dev/null @@ -1,3 +0,0 @@ - Constant game::
devtools:: [−][src]polygon:: POINT_RADIUS const POINT_RADIUS: Distance;POINT_TO_MOVE in game::devtools::polygon - Rust - - \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/constant.POLYGON_COLOR.html b/rustdoc/game/devtools/polygon/constant.POLYGON_COLOR.html deleted file mode 100644 index 3d08b3bd1a..0000000000 --- a/rustdoc/game/devtools/polygon/constant.POLYGON_COLOR.html +++ /dev/null @@ -1,3 +0,0 @@ - Constant game::
devtools:: [−][src]polygon:: POINT_TO_MOVE const POINT_TO_MOVE: Color;POLYGON_COLOR in game::devtools::polygon - Rust - - \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/enum.Obj.html b/rustdoc/game/devtools/polygon/enum.Obj.html new file mode 100644 index 0000000000..8dc0e71390 --- /dev/null +++ b/rustdoc/game/devtools/polygon/enum.Obj.html @@ -0,0 +1,43 @@ + Constant game::
devtools:: [−][src]polygon:: POLYGON_COLOR const POLYGON_COLOR: Color;Obj in game::devtools::polygon - Rust + + \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/index.html b/rustdoc/game/devtools/polygon/index.html index 7a174f668c..6c417468a8 100644 --- a/rustdoc/game/devtools/polygon/index.html +++ b/rustdoc/game/devtools/polygon/index.html @@ -1,5 +1,5 @@ - Enum game::
devtools:: [−][src]polygon:: Obj enum Obj { + Polygon, + Point(usize), +}Variants
Point(usize)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Obj
impl UnwindSafe for Obj
Blanket Implementations
Mutably borrows from an owned value. Read more
+
impl<T> CallHasher for T where
T: Hash,
impl<T> Downcast for T where
T: Any,Convert
+Box<dyn Trait>
(whereTrait: Downcast
) toBox<dyn Any>
.Box<dyn Any>
can +then be furtherdowncast
intoBox<ConcreteType>
whereConcreteType
implementsTrait
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
+Rc<Trait>
(whereTrait: Downcast
) toRc<Any>
.Rc<Any>
can then be +furtherdowncast
intoRc<ConcreteType>
whereConcreteType
implementsTrait
. Read moreConvert
+&Trait
(whereTrait: Downcast
) to&Any
. This is needed since Rust cannot +generate&Any
’s vtable from&Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
+&mut Trait
(whereTrait: Downcast
) to&Any
. This is needed since Rust cannot +generate&mut Any
’s vtable from&mut Trait
’s. Read moreCompare self to
+key
and returntrue
if they are equal.Instruments this type with the provided
+Span
, returning an +Instrumented
wrapper. Read more
type Output = T
Should always be
+Self
pub fn vzip(self) -> V
game::devtools::polygon - Rust + Module game::
devtools:: [−][src]polygon Structs
-Constants
-game::devtools::polygon - Rust \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/sidebar-items.js b/rustdoc/game/devtools/polygon/sidebar-items.js index 466476b200..47100e54f5 100644 --- a/rustdoc/game/devtools/polygon/sidebar-items.js +++ b/rustdoc/game/devtools/polygon/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"constant":[["LAST_PLACED_POINT",""],["POINT_COLOR",""],["POINT_RADIUS",""],["POINT_TO_MOVE",""],["POLYGON_COLOR",""]],"struct":[["PolygonEditor",""]]}); \ No newline at end of file +initSidebarItems({"enum":[["Obj",""]],"struct":[["PolygonEditor",""]]}); \ No newline at end of file diff --git a/rustdoc/game/devtools/polygon/struct.PolygonEditor.html b/rustdoc/game/devtools/polygon/struct.PolygonEditor.html index 97e6d276a6..6a1f7f7f51 100644 --- a/rustdoc/game/devtools/polygon/struct.PolygonEditor.html +++ b/rustdoc/game/devtools/polygon/struct.PolygonEditor.html @@ -1,11 +1,10 @@ - Module game::
devtools:: [−][src]polygon Structs
+Enums
+PolygonEditor in game::devtools::polygon - Rust Struct game::
devtools:: [−][src]polygon:: PolygonEditor pub struct PolygonEditor { +PolygonEditor in game::devtools::polygon - Rust Struct game::
devtools:: [−][src]polygon:: PolygonEditor pub struct PolygonEditor { panel: Panel, name: String, - points: Vec<LonLat>, - mouseover_pt: Option<usize>, - moving_pt: bool, -}Fields
panel: Panel
name: String
points: Vec<LonLat>
mouseover_pt: Option<usize>
moving_pt: bool
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Fields
panel: Panel
name: String
points: Vec<Pt2D>
world: Cached<f64, World<Obj>>
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for PolygonEditor
impl !Send for PolygonEditor
impl !Sync for PolygonEditor
impl Unpin for PolygonEditor
impl !UnwindSafe for PolygonEditor
Blanket Implementations
Gets the
diff --git a/rustdoc/game/devtools/scenario/index.html b/rustdoc/game/devtools/scenario/index.html index db2d8f2c5e..81c9da9c8f 100644 --- a/rustdoc/game/devtools/scenario/index.html +++ b/rustdoc/game/devtools/scenario/index.html @@ -1,4 +1,4 @@ -TypeId
ofself
. Read moregame::devtools::scenario - Rust Module game::
devtools:: [−][src]scenario Structs
+game::devtools::scenario - Rust \ No newline at end of file diff --git a/rustdoc/game/devtools/scenario/struct.ScenarioManager.html b/rustdoc/game/devtools/scenario/struct.ScenarioManager.html index 323abd6059..6c1cacdee6 100644 --- a/rustdoc/game/devtools/scenario/struct.ScenarioManager.html +++ b/rustdoc/game/devtools/scenario/struct.ScenarioManager.html @@ -1,9 +1,9 @@ - Module game::
devtools:: [−][src]scenario Structs
ScenarioManager in game::devtools::scenario - Rust Struct game::
devtools:: [−][src]scenario:: ScenarioManager pub struct ScenarioManager { +ScenarioManager in game::devtools::scenario - Rust Struct game::
devtools:: [−][src]scenario:: ScenarioManager pub struct ScenarioManager { panel: Panel, scenario: Scenario, - draw: ToggleZoomed, -}Fields
panel: Panel
scenario: Scenario
draw: ToggleZoomed
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
-Draw
+ draw: ToggleZoomed, +}Fields
panel: Panel
scenario: Scenario
draw: ToggleZoomed
Implementations
Trait Implementations
Respond to a UI event, such as input or time passing.
+
fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for ScenarioManager
impl !Send for ScenarioManager
impl !Sync for ScenarioManager
impl Unpin for ScenarioManager
impl !UnwindSafe for ScenarioManager
Blanket Implementations
Gets the
diff --git a/rustdoc/game/devtools/story/fn.make_panel.html b/rustdoc/game/devtools/story/fn.make_panel.html deleted file mode 100644 index e6e01f9d69..0000000000 --- a/rustdoc/game/devtools/story/fn.make_panel.html +++ /dev/null @@ -1,3 +0,0 @@ -TypeId
ofself
. Read moremake_panel in game::devtools::story - Rust