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