pub struct SimulationDefinition {Show 17 fields
pub checkboard: bool,
pub game_view_settings: LuaAny,
pub generate_map: bool,
pub hide_factoriopedia_gradient: bool,
pub hide_health_bars: bool,
pub init: &'static str,
pub init_update_count: u32,
pub length: u32,
pub mods: &'static [&'static str],
pub mute_alert_sounds: bool,
pub mute_technology_finished_sound: bool,
pub mute_wind_sounds: bool,
pub override_volume: bool,
pub planet: LuaAny,
pub save: &'static str,
pub update: &'static str,
pub volume_modifier: f32,
}Fields§
§checkboard: bool§game_view_settings: LuaAny§generate_map: bool§hide_factoriopedia_gradient: bool§hide_health_bars: bool§init: &'static str§init_update_count: u32§length: u32§mods: &'static [&'static str]§mute_alert_sounds: bool§mute_technology_finished_sound: bool§mute_wind_sounds: bool§override_volume: bool§planet: LuaAny§save: &'static str§update: &'static str§volume_modifier: f32Trait Implementations§
Source§impl Clone for SimulationDefinition
impl Clone for SimulationDefinition
Source§fn clone(&self) -> SimulationDefinition
fn clone(&self) -> SimulationDefinition
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 SimulationDefinition
Source§impl Debug for SimulationDefinition
impl Debug for SimulationDefinition
Source§impl Default for SimulationDefinition
impl Default for SimulationDefinition
Source§fn default() -> SimulationDefinition
fn default() -> SimulationDefinition
Returns the “default value” for a type. Read more
Source§impl PartialEq for SimulationDefinition
impl PartialEq for SimulationDefinition
impl StructuralPartialEq for SimulationDefinition
Auto Trait Implementations§
impl Freeze for SimulationDefinition
impl RefUnwindSafe for SimulationDefinition
impl Send for SimulationDefinition
impl Sync for SimulationDefinition
impl Unpin for SimulationDefinition
impl UnsafeUnpin for SimulationDefinition
impl UnwindSafe for SimulationDefinition
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