pub struct OnSpacePlatformMinedTileEvent {
pub name: &'static str,
pub platform: LuaSpacePlatform,
pub surface_index: u32,
pub tick: u32,
pub tiles: &'static [LuaAny],
}Expand description
Called after a platform mines tiles.
Fields§
§name: &'static str§platform: LuaSpacePlatform§surface_index: u32§tick: u32§tiles: &'static [LuaAny]Trait Implementations§
Source§impl Clone for OnSpacePlatformMinedTileEvent
impl Clone for OnSpacePlatformMinedTileEvent
Source§fn clone(&self) -> OnSpacePlatformMinedTileEvent
fn clone(&self) -> OnSpacePlatformMinedTileEvent
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 moreimpl Copy for OnSpacePlatformMinedTileEvent
Source§impl Default for OnSpacePlatformMinedTileEvent
impl Default for OnSpacePlatformMinedTileEvent
Source§fn default() -> OnSpacePlatformMinedTileEvent
fn default() -> OnSpacePlatformMinedTileEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnSpacePlatformMinedTileEvent
Auto Trait Implementations§
impl Freeze for OnSpacePlatformMinedTileEvent
impl RefUnwindSafe for OnSpacePlatformMinedTileEvent
impl Send for OnSpacePlatformMinedTileEvent
impl Sync for OnSpacePlatformMinedTileEvent
impl Unpin for OnSpacePlatformMinedTileEvent
impl UnsafeUnpin for OnSpacePlatformMinedTileEvent
impl UnwindSafe for OnSpacePlatformMinedTileEvent
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