pub enum RouteEditorSheet {
Show 14 variants
Stops,
AddMenu {
index: usize,
},
WaypointMenu {
index: usize,
},
WaypointMapPick,
HarvestPicker {
index: usize,
},
WithdrawContainers {
index: usize,
},
WithdrawItems {
container_id: String,
lines: Vec<WithdrawLineDraft>,
index: usize,
},
DepositContainers {
index: usize,
},
DepositFilter {
container_id: String,
rows: Vec<(String, bool)>,
index: usize,
},
SellNpcs {
index: usize,
},
SellItem {
npc_id: Option<String>,
templates: Vec<String>,
index: usize,
sell_all: bool,
},
CraftBlueprint {
index: usize,
},
WaitEntry {
ticks: u64,
},
BedPicker {
index: usize,
},
}Expand description
Which sheet (sub-screen) the route editor is showing.
Variants§
Stops
Root: the ordered stop list.
AddMenu
“Add stop” menu — choose a stop type.
WaypointMenu
Waypoint submenu (player position / map click).
WaypointMapPick
“Click the map to place the waypoint” transient mode.
HarvestPicker
Pick a harvest node from the region list.
WithdrawContainers
Withdraw step 1: pick the source container.
WithdrawItems
Withdraw step 2: choose items + All/qty within the container.
DepositContainers
Deposit step 1: pick the target container.
DepositFilter
Deposit step 2: optional “only these templates” filter.
Fields
SellNpcs
Sell step 1: pick the merchant (or auto).
SellItem
Sell step 2: pick the item template (+ sell-all toggle).
CraftBlueprint
Craft: pick a blueprint (at hand).
WaitEntry
Wait stop: adjust ticks.
BedPicker
Pick the rest bed (lodging).
Trait Implementations§
Source§impl Clone for RouteEditorSheet
impl Clone for RouteEditorSheet
Source§fn clone(&self) -> RouteEditorSheet
fn clone(&self) -> RouteEditorSheet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouteEditorSheet
impl Debug for RouteEditorSheet
Source§impl PartialEq for RouteEditorSheet
impl PartialEq for RouteEditorSheet
impl StructuralPartialEq for RouteEditorSheet
Auto Trait Implementations§
impl Freeze for RouteEditorSheet
impl RefUnwindSafe for RouteEditorSheet
impl Send for RouteEditorSheet
impl Sync for RouteEditorSheet
impl Unpin for RouteEditorSheet
impl UnsafeUnpin for RouteEditorSheet
impl UnwindSafe for RouteEditorSheet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more