pub struct MapViewSettings {Show 13 fields
pub show_electric_network: bool,
pub show_logistic_network: bool,
pub show_networkless_logistic_members: bool,
pub show_non_standard_map_info: bool,
pub show_pipelines: bool,
pub show_player_names: bool,
pub show_pollution: bool,
pub show_rail_signal_states: bool,
pub show_recipe_icons: bool,
pub show_tags: bool,
pub show_train_station_names: bool,
pub show_turret_range: bool,
pub show_worker_robots: bool,
}Expand description
What is shown in the map view. If a field is not given, that setting will not be changed.
Fields§
§show_electric_network: bool§show_logistic_network: bool§show_networkless_logistic_members: bool§show_non_standard_map_info: bool§show_pipelines: bool§show_player_names: bool§show_pollution: bool§show_rail_signal_states: bool§show_recipe_icons: bool§show_train_station_names: bool§show_turret_range: bool§show_worker_robots: boolTrait Implementations§
Source§impl Clone for MapViewSettings
impl Clone for MapViewSettings
Source§fn clone(&self) -> MapViewSettings
fn clone(&self) -> MapViewSettings
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 moreimpl Copy for MapViewSettings
Source§impl Debug for MapViewSettings
impl Debug for MapViewSettings
Source§impl Default for MapViewSettings
impl Default for MapViewSettings
Source§fn default() -> MapViewSettings
fn default() -> MapViewSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapViewSettings
impl PartialEq for MapViewSettings
impl StructuralPartialEq for MapViewSettings
Auto Trait Implementations§
impl Freeze for MapViewSettings
impl RefUnwindSafe for MapViewSettings
impl Send for MapViewSettings
impl Sync for MapViewSettings
impl Unpin for MapViewSettings
impl UnsafeUnpin for MapViewSettings
impl UnwindSafe for MapViewSettings
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