Skip to main content

MapEditorSetting

Struct MapEditorSetting 

Source
pub struct MapEditorSetting {
Show 26 fields pub adjust_speed_based_off_zoom: bool, pub base_movement_speed: f64, pub enable_flash_light: bool, pub fill_built_entity_energy_buffers: bool, pub generate_neighbor_chunks: bool, pub gun_inventory_size: u16, pub ignore_tile_conditions: bool, pub instant_blueprint_building: bool, pub instant_deconstruction: bool, pub instant_rail_planner: bool, pub instant_upgrading: bool, pub inventory_size: u16, pub item_pickup_distance: f64, pub loot_pickup_distance: f64, pub mining_speed: f64, pub movement_speed: f64, pub placed_corpses_never_expire: bool, pub position: Option<MapPosition>, pub render_as_day: bool, pub show_additional_entity_info_gui: bool, pub show_character_tab_in_controller_gui: bool, pub show_entity_health_bars: bool, pub show_entity_tags: bool, pub show_hidden_entities: bool, pub show_infinity_filters_in_controller_gui: bool, pub show_status_icons: bool,
}

Fields§

§adjust_speed_based_off_zoom: bool§base_movement_speed: f64§enable_flash_light: bool§fill_built_entity_energy_buffers: bool§generate_neighbor_chunks: bool§gun_inventory_size: u16§ignore_tile_conditions: bool§instant_blueprint_building: bool§instant_deconstruction: bool§instant_rail_planner: bool§instant_upgrading: bool§inventory_size: u16§item_pickup_distance: f64§loot_pickup_distance: f64§mining_speed: f64§movement_speed: f64§placed_corpses_never_expire: bool§position: Option<MapPosition>§render_as_day: bool§show_additional_entity_info_gui: bool§show_character_tab_in_controller_gui: bool§show_entity_health_bars: bool§show_entity_tags: bool§show_hidden_entities: bool§show_infinity_filters_in_controller_gui: bool§show_status_icons: bool

Trait Implementations§

Source§

impl Clone for MapEditorSetting

Source§

fn clone(&self) -> MapEditorSetting

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MapEditorSetting

Source§

impl Debug for MapEditorSetting

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MapEditorSetting

Source§

fn default() -> MapEditorSetting

Returns the “default value” for a type. Read more
Source§

impl PartialEq for MapEditorSetting

Source§

fn eq(&self, other: &MapEditorSetting) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MapEditorSetting

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.