pub struct LuaItemCommonCancelDeconstructAreaParams {
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
Cancel 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 canceling deconstruction
skip_fog_of_war: boolIf chunks covered by fog-of-war are skipped. Defaults to false.
super_forced: boolIf the cancel deconstruction is super-forced. Defaults to false.
surface: LuaAnySurface to cancel deconstruct on
Trait Implementations§
Source§impl Clone for LuaItemCommonCancelDeconstructAreaParams
impl Clone for LuaItemCommonCancelDeconstructAreaParams
Source§fn clone(&self) -> LuaItemCommonCancelDeconstructAreaParams
fn clone(&self) -> LuaItemCommonCancelDeconstructAreaParams
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 LuaItemCommonCancelDeconstructAreaParams
impl Default for LuaItemCommonCancelDeconstructAreaParams
Source§fn default() -> LuaItemCommonCancelDeconstructAreaParams
fn default() -> LuaItemCommonCancelDeconstructAreaParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaItemCommonCancelDeconstructAreaParams
impl RefUnwindSafe for LuaItemCommonCancelDeconstructAreaParams
impl Send for LuaItemCommonCancelDeconstructAreaParams
impl Sync for LuaItemCommonCancelDeconstructAreaParams
impl Unpin for LuaItemCommonCancelDeconstructAreaParams
impl UnsafeUnpin for LuaItemCommonCancelDeconstructAreaParams
impl UnwindSafe for LuaItemCommonCancelDeconstructAreaParams
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