pub struct LuaItemCommonDeconstructAreaParams {
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 item.
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 LuaItemCommonDeconstructAreaParams
impl Clone for LuaItemCommonDeconstructAreaParams
Source§fn clone(&self) -> LuaItemCommonDeconstructAreaParams
fn clone(&self) -> LuaItemCommonDeconstructAreaParams
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 LuaItemCommonDeconstructAreaParams
impl Default for LuaItemCommonDeconstructAreaParams
Source§fn default() -> LuaItemCommonDeconstructAreaParams
fn default() -> LuaItemCommonDeconstructAreaParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaItemCommonDeconstructAreaParams
impl RefUnwindSafe for LuaItemCommonDeconstructAreaParams
impl Send for LuaItemCommonDeconstructAreaParams
impl Sync for LuaItemCommonDeconstructAreaParams
impl Unpin for LuaItemCommonDeconstructAreaParams
impl UnsafeUnpin for LuaItemCommonDeconstructAreaParams
impl UnwindSafe for LuaItemCommonDeconstructAreaParams
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