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