Function fifteen_min::find_amenities::create_border_isochrone [−][src]
fn create_border_isochrone(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
options: Options
) -> BorderIsochrone
Function fifteen_min::find_amenities::create_border_isochrone [−][src]
fn create_border_isochrone(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
options: Options
) -> BorderIsochrone
Draw an isochrone from every intersection border
Function fifteen_min::find_amenities::create_multi_isochrone [−][src]
fn create_multi_isochrone(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
category: AmenityType,
options: Options
) -> Isochrone
Function fifteen_min::find_amenities::create_multi_isochrone [−][src]
fn create_multi_isochrone(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
category: AmenityType,
options: Options
) -> Isochrone
For every one of the requested amenity on the map, draw an isochrone
Struct fifteen_min::find_amenities::FindAmenity [−][src]
pub struct FindAmenity;
Calculate isochrones around each amenity on a map and merge them together using the min value
-Implementations
impl FindAmenity
[src]
impl FindAmenity
[src]Auto Trait Implementations
impl RefUnwindSafe for FindAmenity
impl Send for FindAmenity
impl Sync for FindAmenity
impl Unpin for FindAmenity
impl UnwindSafe for FindAmenity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Implementations
impl FindAmenity
[src]
impl FindAmenity
[src]Auto Trait Implementations
impl RefUnwindSafe for FindAmenity
impl Send for FindAmenity
impl Sync for FindAmenity
impl Unpin for FindAmenity
impl UnwindSafe for FindAmenity
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
diff --git a/rustdoc/fifteen_min/find_amenities/struct.Results.html b/rustdoc/fifteen_min/find_amenities/struct.Results.html
index 819683d80e..8697b4014a 100644
--- a/rustdoc/fifteen_min/find_amenities/struct.Results.html
+++ b/rustdoc/fifteen_min/find_amenities/struct.Results.html
@@ -6,11 +6,11 @@
isochrone: Isochrone,
hovering_on_bldg: Cached<(BuildingID, f64), HoverOnBuilding>,
}
- Fields
draw: Drawable
isochrone: Isochrone
hovering_on_bldg: Cached<(BuildingID, f64), HoverOnBuilding>
Implementations
impl Results
[src]
impl Results
[src]fn new_state(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
isochrone: Isochrone,
border_isochrone: BorderIsochrone,
category: AmenityType
) -> Box<dyn State<SimpleApp<()>>>
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
isochrone: Isochrone,
border_isochrone: BorderIsochrone,
category: AmenityType
) -> Box<dyn State<SimpleApp<()>>>
Trait Implementations
impl SimpleState<SimpleApp<()>> for Results
[src]
impl SimpleState<SimpleApp<()>> for Results
[src]fn on_click(
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
Called when something on the panel has been clicked. Since the action is just a string,
+ Fieldsdraw: Drawable
isochrone: Isochrone
hovering_on_bldg: Cached<(BuildingID, f64), HoverOnBuilding>
Implementations
impl Results
[src]
impl Results
[src]fn new_state(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
isochrone: Isochrone,
border_isochrone: BorderIsochrone,
category: AmenityType
) -> Box<dyn State<SimpleApp<()>>>
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
isochrone: Isochrone,
border_isochrone: BorderIsochrone,
category: AmenityType
) -> Box<dyn State<SimpleApp<()>>>
Trait Implementations
impl SimpleState<SimpleApp<()>> for Results
[src]
impl SimpleState<SimpleApp<()>> for Results
[src]fn on_click(
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
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 other_event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
If a panel on_click
event didn’t occur and panel_changed
didn’t return transition, then
+
fn other_event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
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 draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&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 draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&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
pub fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
pub fn draw_baselayer(&self) -> DrawBaselayer
Auto Trait Implementations
impl !RefUnwindSafe for Results
impl !Send for Results
impl !Sync for Results
impl Unpin for Results
impl UnwindSafe for Results
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Function fifteen_min::find_home::score_houses [−][src]
fn score_houses(
app: &SimpleApp<()>,
amenities: Vec<AmenityType>,
options: Options,
timer: &mut Timer<'_>
) -> HashMap<BuildingID, Percent>
Function fifteen_min::find_home::score_houses [−][src]
fn score_houses(
app: &SimpleApp<()>,
amenities: Vec<AmenityType>,
options: Options,
timer: &mut Timer<'_>
) -> HashMap<BuildingID, Percent>
For every house in the map, return the percent of amenities located within a 15min walkshed. A single matching business per category is enough to count as satisfied.
Ask what types of amenities are necessary to be within a walkshed, then rank every house with how many of those needs are satisfied.
- Fields
options: Options
Implementations
Trait Implementations
impl SimpleState<SimpleApp<()>> for FindHome
[src]
impl SimpleState<SimpleApp<()>> for FindHome
[src]fn on_click(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>,
x: &str,
panel: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>,
x: &str,
panel: &Panel
) -> Transition<SimpleApp<()>>
Called when something on the panel has been clicked. Since the action is just a string,
+ Fieldsoptions: Options
Implementations
Trait Implementations
impl SimpleState<SimpleApp<()>> for FindHome
[src]
impl SimpleState<SimpleApp<()>> for FindHome
[src]fn on_click(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>,
x: &str,
panel: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>,
x: &str,
panel: &Panel
) -> Transition<SimpleApp<()>>
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
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&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
diff --git a/rustdoc/fifteen_min/find_home/struct.Results.html b/rustdoc/fifteen_min/find_home/struct.Results.html index 2e095c9c04..b3f05e2ecf 100644 --- a/rustdoc/fifteen_min/find_home/struct.Results.html +++ b/rustdoc/fifteen_min/find_home/struct.Results.html @@ -4,11 +4,11 @@Struct fifteen_min::find_home::Results [−][src]
struct Results { draw_houses: Drawable, }
- Fields
draw_houses: Drawable
Implementations
Trait Implementations
impl SimpleState<SimpleApp<()>> for Results
[src]
impl SimpleState<SimpleApp<()>> for Results
[src]fn on_click(
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
Called when something on the panel has been clicked. Since the action is just a string,
+ Fieldsdraw_houses: Drawable
Implementations
impl Results
[src]
impl Results
[src]fn new_state(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
scores: HashMap<BuildingID, Percent>,
amenities: Vec<AmenityType>
) -> Box<dyn State<SimpleApp<()>>>
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
scores: HashMap<BuildingID, Percent>,
amenities: Vec<AmenityType>
) -> Box<dyn State<SimpleApp<()>>>
Trait Implementations
impl SimpleState<SimpleApp<()>> for Results
[src]
impl SimpleState<SimpleApp<()>> for Results
[src]fn on_click(
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
[src]
&mut self,
_: &mut EventCtx<'_>,
_: &mut SimpleApp<()>,
x: &str,
_: &Panel
) -> Transition<SimpleApp<()>>
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 other_event(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
If a panel on_click
event didn’t occur and panel_changed
didn’t return transition, then
+
fn other_event(
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
_: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
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 draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&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 draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
pub fn panel_changed(
&mut self,
&mut EventCtx<'_>,
&mut A,
&mut Panel
) -> Option<Transition<A>>
&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
pub fn on_mouseover(&mut self, &mut EventCtx<'_>, &mut A)
Called when the mouse has moved.
pub fn draw_baselayer(&self) -> DrawBaselayer
Auto Trait Implementations
impl !RefUnwindSafe for Results
impl !Send for Results
impl !Sync for Results
impl Unpin for Results
impl UnwindSafe for Results
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Function fifteen_min::isochrone::draw_isochrone [−][src]
pub fn draw_isochrone(
app: &SimpleApp<()>,
time_to_reach_building: &HashMap<BuildingID, Duration>,
thresholds: &[f64],
colors: &[Color]
) -> GeomBatch
Function fifteen_min::isochrone::draw_isochrone [−][src]
pub fn draw_isochrone(
app: &SimpleApp<()>,
time_to_reach_building: &HashMap<BuildingID, Duration>,
thresholds: &[f64],
colors: &[Color]
) -> GeomBatch
thresholds: Vec<f64>
Thresholds used to draw the isochrone
colors: Vec<Color>
Colors used to draw the isochrone
time_to_reach_building: HashMap<BuildingID, Duration>
How far away is each building from the start?
-Implementations
impl BorderIsochrone
[src]
impl BorderIsochrone
[src]pub fn new(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
Auto Trait Implementations
impl !RefUnwindSafe for BorderIsochrone
impl !Send for BorderIsochrone
impl !Sync for BorderIsochrone
impl Unpin for BorderIsochrone
impl UnwindSafe for BorderIsochrone
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Implementations
impl BorderIsochrone
[src]
impl BorderIsochrone
[src]pub fn new(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
Auto Trait Implementations
impl !RefUnwindSafe for BorderIsochrone
impl !Send for BorderIsochrone
impl !Sync for BorderIsochrone
impl Unpin for BorderIsochrone
impl UnwindSafe for BorderIsochrone
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
diff --git a/rustdoc/fifteen_min/isochrone/struct.Isochrone.html b/rustdoc/fifteen_min/isochrone/struct.Isochrone.html
index cc500264cb..3668ecf89e 100644
--- a/rustdoc/fifteen_min/isochrone/struct.Isochrone.html
+++ b/rustdoc/fifteen_min/isochrone/struct.Isochrone.html
@@ -23,7 +23,7 @@
population: usize
How many people live in the returned area, according to estimates included in the map (from city-specific parcel data, guesses from census, or a guess based on OSM tags)
onstreet_parking_spots: usize
How many sreet parking spots are on the same road as any buildings returned.
-Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Isochrone
impl !Send for Isochrone
impl !Sync for Isochrone
impl Unpin for Isochrone
impl UnwindSafe for Isochrone
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Isochrone
impl !Send for Isochrone
impl !Sync for Isochrone
impl Unpin for Isochrone
impl UnwindSafe for Isochrone
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
diff --git a/rustdoc/fifteen_min/type.App.html b/rustdoc/fifteen_min/type.App.html
index b966f6d976..3582d50397 100644
--- a/rustdoc/fifteen_min/type.App.html
+++ b/rustdoc/fifteen_min/type.App.html
@@ -1,5 +1,5 @@
Type Definition fifteen_min::App [−][src]
type App = SimpleApp<()>;
Type Definition fifteen_min::App [−][src]
type App = SimpleApp<()>;
Function fifteen_min::viewer::build_panel [−][src]
fn build_panel(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: &Building,
isochrone: &Isochrone
) -> Panel
Function fifteen_min::viewer::build_panel [−][src]
fn build_panel(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: &Building,
isochrone: &Isochrone
) -> Panel
Function fifteen_min::viewer::draw_unwalkable_roads [−][src]
pub fn draw_unwalkable_roads(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
opts: &Options
) -> Drawable
Function fifteen_min::viewer::draw_unwalkable_roads [−][src]
pub fn draw_unwalkable_roads(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
opts: &Options
) -> Drawable
Struct fifteen_min::viewer::ExploreAmenities [−][src]
struct ExploreAmenities { - table: Table<SimpleApp<()>, Entry, ()>, + table: Table<SimpleApp<()>, Entry, ()>, panel: Panel, draw: Drawable, }
- Fields
table: Table<SimpleApp<()>, Entry, ()>
panel: Panel
draw: Drawable
Implementations
Trait Implementations
impl State<SimpleApp<()>> for ExploreAmenities
[src]
impl State<SimpleApp<()>> for ExploreAmenities
[src]fn event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
Respond to a UI event, such as input or time passing.
-fn draw(&self, g: &mut GfxCtx<'_>, app: &SimpleApp<()>)
[src]
Draw
+ Fieldstable: Table<SimpleApp<()>, Entry, ()>
panel: Panel
draw: Drawable
Implementations
Trait Implementations
impl State<SimpleApp<()>> for ExploreAmenities
[src]
impl State<SimpleApp<()>> for ExploreAmenities
[src]fn event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
Respond to a UI event, such as input or time passing.
+fn draw(&self, g: &mut GfxCtx<'_>, app: &SimpleApp<()>)
[src]
Draw
pub fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
pub 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
- Fields
tooltip: Text
drawn_route: Drawable
Implementations
impl HoverOnBuilding
[src]
impl HoverOnBuilding
[src]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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
tooltip: Text
drawn_route: Drawable
Implementations
impl HoverOnBuilding
[src]
impl HoverOnBuilding
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
diff --git a/rustdoc/fifteen_min/viewer/struct.Viewer.html b/rustdoc/fifteen_min/viewer/struct.Viewer.html
index 5aa047c13d..18bdcbd257 100644
--- a/rustdoc/fifteen_min/viewer/struct.Viewer.html
+++ b/rustdoc/fifteen_min/viewer/struct.Viewer.html
@@ -10,9 +10,9 @@
draw_unwalkable_roads: Drawable,
}
This is the UI state for exploring the isochrone/walkshed from a single building.
- Fields
panel: Panel
highlight_start: Drawable
isochrone: Isochrone
hovering_on_bldg: Cached<(BuildingID, f64), HoverOnBuilding>
hovering_on_category: Option<(AmenityType, Drawable)>
draw_unwalkable_roads: Drawable
Implementations
Trait Implementations
impl State<SimpleApp<()>> for Viewer
[src]
impl State<SimpleApp<()>> for Viewer
[src]fn event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
Respond to a UI event, such as input or time passing.
-fn draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
Draw
+ Fieldspanel: Panel
highlight_start: Drawable
isochrone: Isochrone
hovering_on_bldg: Cached<(BuildingID, f64), HoverOnBuilding>
hovering_on_category: Option<(AmenityType, Drawable)>
draw_unwalkable_roads: Drawable
Implementations
Trait Implementations
impl State<SimpleApp<()>> for Viewer
[src]
impl State<SimpleApp<()>> for Viewer
[src]fn event(
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
[src]
&mut self,
ctx: &mut EventCtx<'_>,
app: &mut SimpleApp<()>
) -> Transition<SimpleApp<()>>
Respond to a UI event, such as input or time passing.
+fn draw(&self, g: &mut GfxCtx<'_>, _: &SimpleApp<()>)
[src]
Draw
pub fn draw_baselayer(&self) -> DrawBaselayer
Specifies what to draw before draw()
pub fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Before this state is popped or replaced, call this.
Auto Trait Implementations
impl !RefUnwindSafe for Viewer
impl !Send for Viewer
impl !Sync for Viewer
impl Unpin for Viewer
impl !UnwindSafe for Viewer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]pub fn type_id(&self) -> TypeId
[src]
Gets the TypeId
of self
. Read more
Constant game::pregame::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Sun, 04 Jul 2021 22:41:21 +0000";
Constant game::pregame::built_info::BUILT_TIME_UTC [−][src]
pub const BUILT_TIME_UTC: &str = r"Sun, 04 Jul 2021 23:44:56 +0000";
The build time in RFC2822, UTC.
A: 'static + AppLike,
T: 'static, ","synthetic":false,"types":["map_gui::load::FutureLoader"]},{"text":"impl<A: AppLike> State<A> for OptionsPanel","synthetic":false,"types":["map_gui::options::OptionsPanel"]},{"text":"impl<T> State<SimpleApp<T>> for SimpleWarper","synthetic":false,"types":["map_gui::simple_app::SimpleWarper"]},{"text":"impl<A: AppLike + 'static> State<A> for CityPicker<A>","synthetic":false,"types":["map_gui::tools::city_picker::CityPicker"]},{"text":"impl<A: AppLike + 'static> State<A> for AllCityPicker<A>","synthetic":false,"types":["map_gui::tools::city_picker::AllCityPicker"]},{"text":"impl<A: AppLike + 'static> State<A> for CitiesInCountryPicker<A>","synthetic":false,"types":["map_gui::tools::city_picker::CitiesInCountryPicker"]},{"text":"impl<A: AppLike + 'static> State<A> for RunCommand<A>","synthetic":false,"types":["map_gui::tools::command::RunCommand"]},{"text":"impl<A: AppLike + 'static> State<A> for ImportCity<A>","synthetic":false,"types":["map_gui::tools::importer::ImportCity"]},{"text":"impl<A: AppLike + 'static> State<A> for Navigator","synthetic":false,"types":["map_gui::tools::navigate::Navigator"]},{"text":"impl<A: AppLike + 'static> State<A> for CrossStreet","synthetic":false,"types":["map_gui::tools::navigate::CrossStreet"]},{"text":"impl<A: AppLike + 'static> State<A> for SearchBuildings","synthetic":false,"types":["map_gui::tools::navigate::SearchBuildings"]},{"text":"impl<A: AppLike + 'static> State<A> for TurnExplorer","synthetic":false,"types":["map_gui::tools::turn_explorer::TurnExplorer"]},{"text":"impl<A: AppLike + 'static, T: 'static> State<A> for ChooseSomething<A, T>","synthetic":false,"types":["map_gui::tools::ui::ChooseSomething"]},{"text":"impl<A: AppLike + 'static> State<A> for PromptInput<A>","synthetic":false,"types":["map_gui::tools::ui::PromptInput"]},{"text":"impl<A: AppLike> State<A> for PopupMsg","synthetic":false,"types":["map_gui::tools::ui::PopupMsg"]}]; diff --git a/rustdoc/map_gui/tools/updater/constant.NEXT_RELEASE.html b/rustdoc/map_gui/tools/updater/constant.NEXT_RELEASE.html index 45e348c61e..185c0eff59 100644 --- a/rustdoc/map_gui/tools/updater/constant.NEXT_RELEASE.html +++ b/rustdoc/map_gui/tools/updater/constant.NEXT_RELEASE.html @@ -1,5 +1,5 @@
Constant map_gui::tools::updater::NEXT_RELEASE [−][src]
const NEXT_RELEASE: &str = "0.2.49";
Constant map_gui::tools::updater::NEXT_RELEASE [−][src]
const NEXT_RELEASE: &str = "0.2.50";