diff --git a/rustdoc/game/all.html b/rustdoc/game/all.html index 2873ae54ab..986c4ddac8 100644 --- a/rustdoc/game/all.html +++ b/rustdoc/game/all.html @@ -3,4 +3,4 @@

[] - List of all items

Structs

Enums

Traits

Functions

Typedefs

Constants

\ No newline at end of file + List of all items

Structs

Enums

Traits

Functions

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 ccbf01f195..0f646b58dc 100644 --- a/rustdoc/game/app/struct.App.html +++ b/rustdoc/game/app/struct.App.html @@ -16,17 +16,17 @@

pub fn click_on_lane<S: Into<String>>(
    &mut self,
    ctx: &mut EventCtx<'_>,
    label: S
) -> Option<LaneID>
[src]

If a lane was clicked, return its ID.

Trait Implementations

impl AppLike for App[src]

impl MinimapControls<App> for MinimapController[src]

impl MinimapControls<App> for MinimapController[src]

impl SharedAppState for App[src]

[][src]Function game::sandbox::minimap::make_tool_panel

fn make_tool_panel(ctx: &mut EventCtx<'_>, app: &App) -> Widget
\ No newline at end of file diff --git a/rustdoc/game/sandbox/minimap/index.html b/rustdoc/game/sandbox/minimap/index.html index dd3e78ad3d..038540136a 100644 --- a/rustdoc/game/sandbox/minimap/index.html +++ b/rustdoc/game/sandbox/minimap/index.html @@ -1,6 +1,8 @@ game::sandbox::minimap - Rust

[][src]Module game::sandbox::minimap

Structs

+ Change settings

[][src]Module game::sandbox::minimap

Structs

MinimapController

Functions

-
agent_counters
make_tool_panel
\ No newline at end of file +
make_agent_toggles

is_enabled: are (car, bike, bus, pedestrian) toggles enabled +returns Widgets for (car, bike, bus, pedestrian)

+
make_tool_panel
\ No newline at end of file diff --git a/rustdoc/game/sandbox/minimap/sidebar-items.js b/rustdoc/game/sandbox/minimap/sidebar-items.js index 59b6d0ff08..1447f16dbe 100644 --- a/rustdoc/game/sandbox/minimap/sidebar-items.js +++ b/rustdoc/game/sandbox/minimap/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["agent_counters",""],["make_tool_panel",""]],"struct":[["MinimapController",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["make_agent_toggles","`is_enabled`: are (car, bike, bus, pedestrian) toggles enabled returns Widgets for (car, bike, bus, pedestrian)"],["make_tool_panel",""]],"struct":[["MinimapController",""]]}); \ No newline at end of file diff --git a/rustdoc/game/sandbox/minimap/struct.MinimapController.html b/rustdoc/game/sandbox/minimap/struct.MinimapController.html index c7e9444349..a5215eb58d 100644 --- a/rustdoc/game/sandbox/minimap/struct.MinimapController.html +++ b/rustdoc/game/sandbox/minimap/struct.MinimapController.html @@ -1,17 +1,17 @@ game::sandbox::minimap::MinimapController - Rust

[][src]Struct game::sandbox::minimap::MinimapController

pub struct MinimapController;

Trait Implementations

impl MinimapControls<App> for MinimapController[src]

[][src]Struct game::sandbox::minimap::MinimapController

pub struct MinimapController;

Trait Implementations

impl MinimapControls<App> for MinimapController[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

[][src]Module map_gui::render::agents

Structs

AgentCache
UnzoomedAgents
\ No newline at end of file diff --git a/rustdoc/map_gui/render/agents/struct.AgentCache.html b/rustdoc/map_gui/render/agents/struct.AgentCache.html index 33b6de88fe..bebd6660e3 100644 --- a/rustdoc/map_gui/render/agents/struct.AgentCache.html +++ b/rustdoc/map_gui/render/agents/struct.AgentCache.html @@ -8,7 +8,7 @@ unzoomed: Option<(Time, UnzoomedAgents, QuadTree<AgentID>, Drawable)>, }

Fields

unzoomed_agents: UnzoomedAgents

This is controlled almost entirely by the minimap panel. It has no meaning in edit mode.

-
time: Option<Time>agents_per_on: HashMap<Traversable, Vec<Box<dyn Renderable>>>unzoomed: Option<(Time, UnzoomedAgents, QuadTree<AgentID>, Drawable)>

Implementations

impl AgentCache[src]

pub fn new(cs: &ColorScheme) -> AgentCache[src]

pub fn get(&self, on: Traversable) -> Vec<&dyn Renderable>[src]

pub fn populate_if_needed(
    &mut self,
    on: Traversable,
    map: &Map,
    sim: &Sim,
    cs: &ColorScheme,
    prerender: &Prerender
)
[src]

pub fn calculate_unzoomed_agents<P: AsRef<Prerender>>(
    &mut self,
    prerender: &mut P,
    app: &dyn AppLike
) -> &QuadTree<AgentID>
[src]

If the sim time has changed or the unzoomed agent filters have been modified, recalculate +

time: Option<Time>agents_per_on: HashMap<Traversable, Vec<Box<dyn Renderable>>>unzoomed: Option<(Time, UnzoomedAgents, QuadTree<AgentID>, Drawable)>

Implementations

impl AgentCache[src]

pub fn new() -> AgentCache[src]

pub fn get(&self, on: Traversable) -> Vec<&dyn Renderable>[src]

pub fn populate_if_needed(
    &mut self,
    on: Traversable,
    map: &Map,
    sim: &Sim,
    cs: &ColorScheme,
    prerender: &Prerender
)
[src]

pub fn calculate_unzoomed_agents<P: AsRef<Prerender>>(
    &mut self,
    prerender: &mut P,
    app: &dyn AppLike
) -> &QuadTree<AgentID>
[src]

If the sim time has changed or the unzoomed agent filters have been modified, recalculate the quadtree and drawable for all unzoomed agents.

pub fn draw_unzoomed_agents(&mut self, g: &mut GfxCtx<'_>, app: &dyn AppLike)[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]