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