pub struct LuaRecordDeconstructAreaParams {
pub area: BoundingBox,
pub by_player: LuaAny,
pub force: LuaAny,
pub skip_fog_of_war: bool,
pub super_forced: bool,
pub surface: LuaAny,
}Expand description
Deconstruct the given area with this deconstruction planner.
Fields§
§area: BoundingBoxThe area to deconstruct
by_player: LuaAnyThe player to use if any.
force: LuaAnyForce to use for the deconstruction
skip_fog_of_war: boolIf chunks covered by fog-of-war are skipped. Defaults to false.
super_forced: boolIf the deconstruction is super-forced. Defaults to false.
surface: LuaAnySurface to deconstruct on
Trait Implementations§
Source§impl Clone for LuaRecordDeconstructAreaParams
impl Clone for LuaRecordDeconstructAreaParams
Source§fn clone(&self) -> LuaRecordDeconstructAreaParams
fn clone(&self) -> LuaRecordDeconstructAreaParams
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 Default for LuaRecordDeconstructAreaParams
impl Default for LuaRecordDeconstructAreaParams
Source§fn default() -> LuaRecordDeconstructAreaParams
fn default() -> LuaRecordDeconstructAreaParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaRecordDeconstructAreaParams
impl RefUnwindSafe for LuaRecordDeconstructAreaParams
impl Send for LuaRecordDeconstructAreaParams
impl Sync for LuaRecordDeconstructAreaParams
impl Unpin for LuaRecordDeconstructAreaParams
impl UnsafeUnpin for LuaRecordDeconstructAreaParams
impl UnwindSafe for LuaRecordDeconstructAreaParams
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