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