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