pub struct LuaSpacePlatformDamageTileParams {
pub cause: LuaEntity,
pub damage: f32,
pub position: TilePosition,
}Expand description
Damages the given tile if it exists, the chunk is generated, and it is a platform foundation tile.
Fields§
§cause: LuaEntity§damage: f32§position: TilePositionTrait Implementations§
Source§impl Clone for LuaSpacePlatformDamageTileParams
impl Clone for LuaSpacePlatformDamageTileParams
Source§fn clone(&self) -> LuaSpacePlatformDamageTileParams
fn clone(&self) -> LuaSpacePlatformDamageTileParams
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 LuaSpacePlatformDamageTileParams
impl Default for LuaSpacePlatformDamageTileParams
Source§fn default() -> LuaSpacePlatformDamageTileParams
fn default() -> LuaSpacePlatformDamageTileParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSpacePlatformDamageTileParams
impl RefUnwindSafe for LuaSpacePlatformDamageTileParams
impl Send for LuaSpacePlatformDamageTileParams
impl Sync for LuaSpacePlatformDamageTileParams
impl Unpin for LuaSpacePlatformDamageTileParams
impl UnsafeUnpin for LuaSpacePlatformDamageTileParams
impl UnwindSafe for LuaSpacePlatformDamageTileParams
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