From 5b6afddd4a30a08d69fb3a63cfa23b94fb2297f8 Mon Sep 17 00:00:00 2001 From: dabreegster Date: Sat, 18 Sep 2021 01:41:14 +0000 Subject: [PATCH] deploy: 2fc9010b1e6e6b9c61d1e7b007216beab170dff9 --- rustdoc/game/app/struct.App.html | 6 +++--- .../built_info/constant.BUILT_TIME_UTC.html | 2 +- rustdoc/game/ungap/route/index.html | 2 +- rustdoc/game/ungap/route/struct.NamedRoute.html | 14 +++++++------- rustdoc/game/ungap/route/struct.RenameEdits.html | 8 ++++---- .../game/ungap/route/struct.RouteManagement.html | 4 ++-- rustdoc/game/ungap/route/struct.RouteResults.html | 2 +- rustdoc/game/ungap/route/struct.SavedRoutes.html | 6 +++--- .../build/game-0716a03cc01a18cb/out/built.rs.html | 2 +- rustdoc/src/game/ungap/route.rs.html | 8 +++----- rustdoc/src/map_editor/app.rs.html | 4 ++-- 11 files changed, 28 insertions(+), 30 deletions(-) diff --git a/rustdoc/game/app/struct.App.html b/rustdoc/game/app/struct.App.html index cb597100ab..e79e3e847e 100644 --- a/rustdoc/game/app/struct.App.html +++ b/rustdoc/game/app/struct.App.html @@ -47,11 +47,11 @@ the event and immediately apply the transition. call this to handle all other events. Read more

Called when something on the panel has been clicked.

Called when the mouse has moved.

-

Called when something on the panel has been clicked. Since the action is just a string, +

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

-

Called when something on the panel has changed. If a transition is returned, stop handling +

Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more

-

Called when something on the panel has been clicked.

+

Called when something on the panel has been clicked.

Called when the mouse has moved.

If a panel on_click event didn’t occur and panel_changed didn’t return transition, then call this to handle all other events. Read more

diff --git a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html index 5b7a06a775..ed4a5813b5 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,4 +1,4 @@ -BUILT_TIME_UTC in game::pregame::built_info - Rust

Constant game::pregame::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Sat, 18 Sep 2021 01:38:25 +0000";
Expand description

The build time in RFC2822, UTC.

+BUILT_TIME_UTC in game::pregame::built_info - Rust

Constant game::pregame::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Sat, 18 Sep 2021 01:40:15 +0000";
Expand description

The build time in RFC2822, UTC.

\ No newline at end of file diff --git a/rustdoc/game/ungap/route/index.html b/rustdoc/game/ungap/route/index.html index 7f065af0d5..fb8e16a107 100644 --- a/rustdoc/game/ungap/route/index.html +++ b/rustdoc/game/ungap/route/index.html @@ -1,4 +1,4 @@ -game::ungap::route - Rust

Module game::ungap::route[][src]

Structs

+game::ungap::route - Rust

Module game::ungap::route[][src]

Structs

Save sequences of waypoints as named routes. Basic file management – save, load, browse. This is useful to define “test cases,” then edit the bike network and “run the tests” to compare results.

diff --git a/rustdoc/game/ungap/route/struct.NamedRoute.html b/rustdoc/game/ungap/route/struct.NamedRoute.html index 005f900110..b0a5b6fc8e 100644 --- a/rustdoc/game/ungap/route/struct.NamedRoute.html +++ b/rustdoc/game/ungap/route/struct.NamedRoute.html @@ -1,14 +1,14 @@ -NamedRoute in game::ungap::route - Rust

Struct game::ungap::route::NamedRoute[][src]

struct NamedRoute {
+NamedRoute in game::ungap::route - Rust

Struct game::ungap::route::NamedRoute[][src]

struct NamedRoute {
     name: String,
     waypoints: Vec<TripEndpoint>,
-}

Fields

name: Stringwaypoints: Vec<TripEndpoint>

Trait Implementations

Returns a copy of the value. Read more

+}

Fields

name: Stringwaypoints: Vec<TripEndpoint>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can diff --git a/rustdoc/game/ungap/route/struct.RenameEdits.html b/rustdoc/game/ungap/route/struct.RenameEdits.html index fecde1d295..93d41dc6c0 100644 --- a/rustdoc/game/ungap/route/struct.RenameEdits.html +++ b/rustdoc/game/ungap/route/struct.RenameEdits.html @@ -1,11 +1,11 @@ -RenameEdits in game::ungap::route - Rust

Struct game::ungap::route::RenameEdits[][src]

struct RenameEdits {
+RenameEdits in game::ungap::route - Rust

Struct game::ungap::route::RenameEdits[][src]

struct RenameEdits {
     current_name: String,
     all_names: HashSet<String>,
-}

Fields

current_name: Stringall_names: HashSet<String>

Implementations

Trait Implementations

Called when something on the panel has been clicked. Since the action is just a string, +}

Fields

current_name: Stringall_names: HashSet<String>

Implementations

Trait Implementations

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

-

Called when something on the panel has changed. If a transition is returned, stop handling +

Called when something on the panel has changed. If a transition is returned, stop handling the event and immediately apply the transition. Read more

-

Called when something on the panel has been clicked.

+

Called when something on the panel has been clicked.

Called when the mouse has moved.

If a panel on_click event didn’t occur and panel_changed didn’t return transition, then call this to handle all other events. Read more

diff --git a/rustdoc/game/ungap/route/struct.RouteManagement.html b/rustdoc/game/ungap/route/struct.RouteManagement.html index 4cfb61db1f..f0312398a7 100644 --- a/rustdoc/game/ungap/route/struct.RouteManagement.html +++ b/rustdoc/game/ungap/route/struct.RouteManagement.html @@ -1,10 +1,10 @@ -RouteManagement in game::ungap::route - Rust

Struct game::ungap::route::RouteManagement[][src]

struct RouteManagement {
+RouteManagement in game::ungap::route - Rust

Struct game::ungap::route::RouteManagement[][src]

struct RouteManagement {
     current: NamedRoute,
     all: SavedRoutes,
 }
Expand description

Save sequences of waypoints as named routes. Basic file management – save, load, browse. This is useful to define “test cases,” then edit the bike network and “run the tests” to compare results.

-

Fields

current: NamedRouteall: SavedRoutes

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Fields

current: NamedRouteall: SavedRoutes

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can diff --git a/rustdoc/game/ungap/route/struct.RouteResults.html b/rustdoc/game/ungap/route/struct.RouteResults.html index ccfc670212..a3ed383b75 100644 --- a/rustdoc/game/ungap/route/struct.RouteResults.html +++ b/rustdoc/game/ungap/route/struct.RouteResults.html @@ -9,7 +9,7 @@ draw_traffic_signals: Drawable, draw_unprotected_turns: Drawable, panel: Panel, -}

Fields

paths: Vec<(Path, Option<PolyLine>)>closest_path_segment: FindClosest<usize>hover_on_line_plot: Option<(Distance, Drawable)>hover_on_route_tooltip: Option<Text>draw_route_unzoomed: Drawabledraw_route_zoomed: Drawabledraw_high_stress: Drawabledraw_traffic_signals: Drawabledraw_unprotected_turns: Drawablepanel: Panel

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+}

Fields

paths: Vec<(Path, Option<PolyLine>)>closest_path_segment: FindClosest<usize>hover_on_line_plot: Option<(Distance, Drawable)>hover_on_route_tooltip: Option<Text>draw_route_unzoomed: Drawabledraw_route_zoomed: Drawabledraw_high_stress: Drawabledraw_traffic_signals: Drawabledraw_unprotected_turns: Drawablepanel: Panel

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can diff --git a/rustdoc/game/ungap/route/struct.SavedRoutes.html b/rustdoc/game/ungap/route/struct.SavedRoutes.html index 31a59a2f14..5272dab1b2 100644 --- a/rustdoc/game/ungap/route/struct.SavedRoutes.html +++ b/rustdoc/game/ungap/route/struct.SavedRoutes.html @@ -1,7 +1,7 @@ -SavedRoutes in game::ungap::route - Rust

Struct game::ungap::route::SavedRoutes[][src]

struct SavedRoutes {
+SavedRoutes in game::ungap::route - Rust

Struct game::ungap::route::SavedRoutes[][src]

struct SavedRoutes {
     routes: BTreeMap<String, NamedRoute>,
-}

Fields

routes: BTreeMap<String, NamedRoute>

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

+}

Fields

routes: BTreeMap<String, NamedRoute>

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html index 1a68650dd1..4dabc1e73b 100644 --- a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html +++ b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-0716a03cc01a18cb/out/built.rs.html @@ -175,7 +175,7 @@ pub const RUSTDOC_VERSION: &str = r"rustdoc 1.55.0 (c8dfcfe04 2021-09-06)"; #[doc=r#"The build time in RFC2822, UTC."#] #[allow(dead_code)] -pub const BUILT_TIME_UTC: &str = r"Sat, 18 Sep 2021 01:38:25 +0000"; +pub const BUILT_TIME_UTC: &str = r"Sat, 18 Sep 2021 01:40:15 +0000"; #[doc=r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#] #[allow(dead_code)] pub const CFG_TARGET_ARCH: &str = r"x86_64"; diff --git a/rustdoc/src/game/ungap/route.rs.html b/rustdoc/src/game/ungap/route.rs.html index 4945b8302a..71018ced35 100644 --- a/rustdoc/src/game/ungap/route.rs.html +++ b/rustdoc/src/game/ungap/route.rs.html @@ -777,7 +777,6 @@ 777 778 779 -780
 use std::collections::{BTreeMap, HashSet};
 
@@ -1148,8 +1147,8 @@
     }
 
     fn event(&mut self, ctx: &mut EventCtx, app: &App) -> Option<Transition> {
-        match self.panel.event(ctx) {
-            Outcome::Clicked(x) => match x.as_ref() {
+        if let Outcome::Clicked(x) = self.panel.event(ctx) {
+            match x.as_ref() {
                 "high-stress roads" => {
                     return Some(Transition::Push(PopupMsg::new_state(
                         ctx,
@@ -1166,8 +1165,7 @@
                 "traffic signals" => {}
                 "unprotected turns" => {}
                 _ => unreachable!(),
-            },
-            _ => {}
+            }
         }
 
         let current_dist_along = self
diff --git a/rustdoc/src/map_editor/app.rs.html b/rustdoc/src/map_editor/app.rs.html
index aaea40b440..d64f298908 100644
--- a/rustdoc/src/map_editor/app.rs.html
+++ b/rustdoc/src/map_editor/app.rs.html
@@ -1006,7 +1006,7 @@
                                     app.model.map.save();
                                 }
                                 "reload" => {
-                                    CameraState::save(&ctx.canvas, &app.model.map.name);
+                                    CameraState::save(ctx.canvas, &app.model.map.name);
                                     return Transition::Push(crate::load::load_map(
                                         ctx,
                                         abstio::path_raw_map(&app.model.map.name),
@@ -1015,7 +1015,7 @@
                                     ));
                                 }
                                 "open another RawMap" => {
-                                    CameraState::save(&ctx.canvas, &app.model.map.name);
+                                    CameraState::save(ctx.canvas, &app.model.map.name);
                                     return Transition::Push(crate::load::PickMap::new_state(ctx));
                                 }
                                 _ => unreachable!(),