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