diff --git a/rustdoc/game/all.html b/rustdoc/game/all.html index 0bbe461f55..e1ceb901b6 100644 --- a/rustdoc/game/all.html +++ b/rustdoc/game/all.html @@ -3,5 +3,5 @@

List of all items[] -

Structs

Enums

Traits

Functions

Typedefs

Constants

+

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 469f3dda59..42cba9aee3 100644 --- a/rustdoc/game/app/struct.App.html +++ b/rustdoc/game/app/struct.App.html @@ -165,8 +165,8 @@ call this to handle all other events. Read more

impl State<App> for RoadEditor[src]

impl State<App> for RoadEditor[src]

impl State<App> for RouteEditor[src]

Function game::edit::roads::can_reverse[][src]

fn can_reverse(_: LaneType) -> bool
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.highlight_current_selection.html b/rustdoc/game/edit/roads/fn.highlight_current_selection.html index dd5ab20191..aa697811f4 100644 --- a/rustdoc/game/edit/roads/fn.highlight_current_selection.html +++ b/rustdoc/game/edit/roads/fn.highlight_current_selection.html @@ -1,5 +1,5 @@ game::edit::roads::highlight_current_selection - Rust

Function game::edit::roads::highlight_current_selection[][src]

fn highlight_current_selection(
    ctx: &mut EventCtx<'_>,
    app: &App,
    r: RoadID,
    l: Option<LaneID>
) -> (Option<LaneID>, Drawable)
+ Change settings

Function game::edit::roads::highlight_current_selection[][src]

fn highlight_current_selection(
    ctx: &mut EventCtx<'_>,
    app: &App,
    r: RoadID,
    l: Option<LaneID>
) -> (Option<LaneID>, Drawable)
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.lane_type_to_icon.html b/rustdoc/game/edit/roads/fn.lane_type_to_icon.html index 2f88016881..05db722c5d 100644 --- a/rustdoc/game/edit/roads/fn.lane_type_to_icon.html +++ b/rustdoc/game/edit/roads/fn.lane_type_to_icon.html @@ -1,5 +1,5 @@ game::edit::roads::lane_type_to_icon - Rust

Function game::edit::roads::lane_type_to_icon[][src]

fn lane_type_to_icon(lt: LaneType) -> Option<&'static str>
+ Change settings

Function game::edit::roads::lane_type_to_icon[][src]

fn lane_type_to_icon(lt: LaneType) -> Option<&'static str>
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.make_main_panel.html b/rustdoc/game/edit/roads/fn.make_main_panel.html index a54619c4ab..625140d659 100644 --- a/rustdoc/game/edit/roads/fn.make_main_panel.html +++ b/rustdoc/game/edit/roads/fn.make_main_panel.html @@ -1,5 +1,5 @@ game::edit::roads::make_main_panel - Rust

Function game::edit::roads::make_main_panel[][src]

fn make_main_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    road: &Road,
    current_lane: Option<LaneID>
) -> Panel
+ Change settings

Function game::edit::roads::make_main_panel[][src]

fn make_main_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    road: &Road,
    current_lane: Option<LaneID>
) -> Panel
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.make_top_panel.html b/rustdoc/game/edit/roads/fn.make_top_panel.html index 5444e4f9e8..af07fc1f53 100644 --- a/rustdoc/game/edit/roads/fn.make_top_panel.html +++ b/rustdoc/game/edit/roads/fn.make_top_panel.html @@ -1,5 +1,5 @@ game::edit::roads::make_top_panel - Rust

Function game::edit::roads::make_top_panel[][src]

fn make_top_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    num_edit_cmds_originally: usize,
    no_redo_cmds: bool
) -> Panel
+ Change settings

Function game::edit::roads::make_top_panel[][src]

fn make_top_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    num_edit_cmds_originally: usize,
    no_redo_cmds: bool
) -> Panel
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.width_choices.html b/rustdoc/game/edit/roads/fn.width_choices.html index ae5552db96..7fb1fe2429 100644 --- a/rustdoc/game/edit/roads/fn.width_choices.html +++ b/rustdoc/game/edit/roads/fn.width_choices.html @@ -1,5 +1,5 @@ game::edit::roads::width_choices - Rust

Function game::edit::roads::width_choices[][src]

fn width_choices(app: &App, l: LaneID) -> Vec<Choice<Distance>>
+ Change settings

Function game::edit::roads::width_choices[][src]

fn width_choices(app: &App, l: LaneID) -> Vec<Choice<Distance>>
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/index.html b/rustdoc/game/edit/roads/index.html index fc68bc82b6..c85cfae192 100644 --- a/rustdoc/game/edit/roads/index.html +++ b/rustdoc/game/edit/roads/index.html @@ -1,7 +1,7 @@ game::edit::roads - Rust

Module game::edit::roads[][src]

Structs

+ Change settings

Module game::edit::roads[][src]

Structs

RoadEditor

Functions

-
can_reverse
highlight_current_selection
lane_type_to_icon
make_main_panel
make_top_panel
width_choices
+
add_new_lane
can_reverse
highlight_current_selection
lane_type_to_icon
make_main_panel
make_top_panel
width_choices
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/sidebar-items.js b/rustdoc/game/edit/roads/sidebar-items.js index 0106bf172a..31c3ee4ddd 100644 --- a/rustdoc/game/edit/roads/sidebar-items.js +++ b/rustdoc/game/edit/roads/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["can_reverse",""],["highlight_current_selection",""],["lane_type_to_icon",""],["make_main_panel",""],["make_top_panel",""],["width_choices",""]],"struct":[["RoadEditor",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["add_new_lane",""],["can_reverse",""],["highlight_current_selection",""],["lane_type_to_icon",""],["make_main_panel",""],["make_top_panel",""],["width_choices",""]],"struct":[["RoadEditor",""]]}); \ No newline at end of file diff --git a/rustdoc/game/edit/roads/struct.RoadEditor.html b/rustdoc/game/edit/roads/struct.RoadEditor.html index b9054da493..1490e90724 100644 --- a/rustdoc/game/edit/roads/struct.RoadEditor.html +++ b/rustdoc/game/edit/roads/struct.RoadEditor.html @@ -10,8 +10,8 @@ num_edit_cmds_originally: usize, redo_stack: Vec<EditCmd>, }

- Fields

r: RoadIDcurrent_lane: Option<LaneID>top_panel: Panelmain_panel: Panelhighlight_selection: (Option<LaneID>, Drawable)num_edit_cmds_originally: usizeredo_stack: Vec<EditCmd>

Implementations

impl RoadEditor[src]

pub fn new(
    ctx: &mut EventCtx<'_>,
    app: &mut App,
    r: RoadID
) -> Box<dyn State<App>>
[src]

fn modify_current_lane<F: Fn(&mut EditRoad, usize)>(
    &mut self,
    ctx: &mut EventCtx<'_>,
    app: &mut App,
    select_new_lane_offset: Option<isize>,
    f: F
)
[src]

fn recalc_all_panels(&mut self, ctx: &mut EventCtx<'_>, app: &App)[src]

Trait Implementations

impl State<App> for RoadEditor[src]