Constant game::pregame::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Mon, 02 Aug 2021 19:14:51 +0000";
Expand description
The build time in RFC2822, UTC.
+Constant game::pregame::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Tue, 03 Aug 2021 07:36:10 +0000";
Expand description
The build time in RFC2822, UTC.
Module map_editor::edit [−][src]
Structs
+Module map_editor::edit [−][src]
Structs
EditRoad |
- Fields
r: OriginalRoad
show_direction: Drawable
Implementations
Trait Implementations
Called when something on the panel has been clicked. Since the action is just a string,
+ Fieldsr: OriginalRoad
show_direction: Drawable
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
If a panel on_click
event didn’t occur and panel_changed
didn’t return transition, then
+
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
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>
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>
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>>
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)
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
diff --git a/rustdoc/map_editor/struct.App.html b/rustdoc/map_editor/struct.App.html index 3ce3dde85a..0f39e12be2 100644 --- a/rustdoc/map_editor/struct.App.html +++ b/rustdoc/map_editor/struct.App.html @@ -9,11 +9,11 @@fn draw_default(&self, &mut GfxCtx<'_>)
fn draw_default(&self, &mut GfxCtx<'_>)
When DrawBaselayer::DefaultDraw is called, run this.
fn free_memory(&mut self)
fn free_memory(&mut self)
If widgetry determines the video card is low on memory, this may be called. The application should make its best effort to delete any unused Drawables. Read more
-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
If a panel on_click
event didn’t occur and panel_changed
didn’t return transition, then
+
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
fn on_click_custom(
&mut self,
_ctx: &mut EventCtx<'_>,
_app: &mut A,
_action: Box<dyn CloneableAny + 'static, Global>,
_panel: &Panel
) -> Transition<A>
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>
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>>
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)
fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
diff --git a/rustdoc/map_model/make/collapse_intersections/constant.SHORT_THRESHOLD.html b/rustdoc/map_model/make/collapse_intersections/constant.SHORT_THRESHOLD.html index 5f7325e70a..52595f6fa6 100644 --- a/rustdoc/map_model/make/collapse_intersections/constant.SHORT_THRESHOLD.html +++ b/rustdoc/map_model/make/collapse_intersections/constant.SHORT_THRESHOLD.html @@ -1,3 +1,3 @@Constant map_model::make::collapse_intersections::SHORT_THRESHOLD [−][src]
const SHORT_THRESHOLD: Distance;
Constant map_model::make::collapse_intersections::SHORT_THRESHOLD [−][src]
const SHORT_THRESHOLD: Distance;