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