pub struct OnTowerMinedPlant;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 tower 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 OnTowerMinedPlant
impl Clone for OnTowerMinedPlant
Source§fn clone(&self) -> OnTowerMinedPlant
fn clone(&self) -> OnTowerMinedPlant
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 OnTowerMinedPlant
Source§impl Debug for OnTowerMinedPlant
impl Debug for OnTowerMinedPlant
impl Eq for OnTowerMinedPlant
Source§impl PartialEq for OnTowerMinedPlant
impl PartialEq for OnTowerMinedPlant
impl StructuralPartialEq for OnTowerMinedPlant
Auto Trait Implementations§
impl Freeze for OnTowerMinedPlant
impl RefUnwindSafe for OnTowerMinedPlant
impl Send for OnTowerMinedPlant
impl Sync for OnTowerMinedPlant
impl Unpin for OnTowerMinedPlant
impl UnsafeUnpin for OnTowerMinedPlant
impl UnwindSafe for OnTowerMinedPlant
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