pub struct LuaSurfaceDestroyDecorativesParams {
pub area: BoundingBox,
pub collision_mask: LuaAny,
pub exclude_soft: bool,
pub from_layer: String,
pub invert: bool,
pub limit: u32,
pub name: LuaAny,
pub position: TilePosition,
pub to_layer: String,
}Expand description
Removes all decoratives from the given area. If no area and no position are given, then the entire surface is searched.
Fields§
§area: BoundingBox§collision_mask: LuaAny§exclude_soft: boolSoft decoratives can be drawn over rails.
from_layer: String§invert: boolIf the filters should be inverted.
limit: u32§name: LuaAny§position: TilePosition§to_layer: StringTrait Implementations§
Source§impl Clone for LuaSurfaceDestroyDecorativesParams
impl Clone for LuaSurfaceDestroyDecorativesParams
Source§fn clone(&self) -> LuaSurfaceDestroyDecorativesParams
fn clone(&self) -> LuaSurfaceDestroyDecorativesParams
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 LuaSurfaceDestroyDecorativesParams
impl Default for LuaSurfaceDestroyDecorativesParams
Source§fn default() -> LuaSurfaceDestroyDecorativesParams
fn default() -> LuaSurfaceDestroyDecorativesParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSurfaceDestroyDecorativesParams
impl RefUnwindSafe for LuaSurfaceDestroyDecorativesParams
impl Send for LuaSurfaceDestroyDecorativesParams
impl Sync for LuaSurfaceDestroyDecorativesParams
impl Unpin for LuaSurfaceDestroyDecorativesParams
impl UnsafeUnpin for LuaSurfaceDestroyDecorativesParams
impl UnwindSafe for LuaSurfaceDestroyDecorativesParams
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