pub struct OnRobotMinedEntity;Expand description
Called after the results of an entity being mined are collected just before the entity is destroyed.
After this event any items in the buffer will be transferred into the robot as if they came from mining the entity.
The buffer inventory is special in that it’s only valid during this event and has a dynamic size expanding as more items are transferred into it.
Implementations§
Trait Implementations§
Source§impl Clone for OnRobotMinedEntity
impl Clone for OnRobotMinedEntity
Source§fn clone(&self) -> OnRobotMinedEntity
fn clone(&self) -> OnRobotMinedEntity
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 OnRobotMinedEntity
Source§impl Debug for OnRobotMinedEntity
impl Debug for OnRobotMinedEntity
impl Eq for OnRobotMinedEntity
Source§impl PartialEq for OnRobotMinedEntity
impl PartialEq for OnRobotMinedEntity
impl StructuralPartialEq for OnRobotMinedEntity
Auto Trait Implementations§
impl Freeze for OnRobotMinedEntity
impl RefUnwindSafe for OnRobotMinedEntity
impl Send for OnRobotMinedEntity
impl Sync for OnRobotMinedEntity
impl Unpin for OnRobotMinedEntity
impl UnsafeUnpin for OnRobotMinedEntity
impl UnwindSafe for OnRobotMinedEntity
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