pub struct MapAndDifficultySettings {
pub asteroids: LuaAny,
pub difficulty_settings: LuaAny,
pub enemy_evolution: LuaAny,
pub enemy_expansion: LuaAny,
pub max_failed_behavior_count: u32,
pub path_finder: LuaAny,
pub pollution: LuaAny,
pub unit_group: LuaAny,
}Expand description
A standard table containing all MapSettings attributes plus an additional table that contains all DifficultySettings properties.
Fields§
§asteroids: LuaAny§difficulty_settings: LuaAny§enemy_evolution: LuaAny§enemy_expansion: LuaAny§max_failed_behavior_count: u32§path_finder: LuaAny§pollution: LuaAny§unit_group: LuaAnyTrait Implementations§
Source§impl Clone for MapAndDifficultySettings
impl Clone for MapAndDifficultySettings
Source§fn clone(&self) -> MapAndDifficultySettings
fn clone(&self) -> MapAndDifficultySettings
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 MapAndDifficultySettings
Source§impl Debug for MapAndDifficultySettings
impl Debug for MapAndDifficultySettings
Source§impl Default for MapAndDifficultySettings
impl Default for MapAndDifficultySettings
Source§fn default() -> MapAndDifficultySettings
fn default() -> MapAndDifficultySettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapAndDifficultySettings
impl PartialEq for MapAndDifficultySettings
impl StructuralPartialEq for MapAndDifficultySettings
Auto Trait Implementations§
impl Freeze for MapAndDifficultySettings
impl RefUnwindSafe for MapAndDifficultySettings
impl Send for MapAndDifficultySettings
impl Sync for MapAndDifficultySettings
impl Unpin for MapAndDifficultySettings
impl UnsafeUnpin for MapAndDifficultySettings
impl UnwindSafe for MapAndDifficultySettings
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