pub struct OnTerritoryDestroyedEvent {
pub name: &'static str,
pub territory: LuaTerritory,
pub tick: u32,
}Expand description
Called when a territory is destroyed from a surface.
Fields§
§name: &'static str§territory: LuaTerritory§tick: u32Trait Implementations§
Source§impl Clone for OnTerritoryDestroyedEvent
impl Clone for OnTerritoryDestroyedEvent
Source§fn clone(&self) -> OnTerritoryDestroyedEvent
fn clone(&self) -> OnTerritoryDestroyedEvent
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 OnTerritoryDestroyedEvent
Source§impl Debug for OnTerritoryDestroyedEvent
impl Debug for OnTerritoryDestroyedEvent
Source§impl Default for OnTerritoryDestroyedEvent
impl Default for OnTerritoryDestroyedEvent
Source§fn default() -> OnTerritoryDestroyedEvent
fn default() -> OnTerritoryDestroyedEvent
Returns the “default value” for a type. Read more
impl StructuralPartialEq for OnTerritoryDestroyedEvent
Auto Trait Implementations§
impl Freeze for OnTerritoryDestroyedEvent
impl RefUnwindSafe for OnTerritoryDestroyedEvent
impl Send for OnTerritoryDestroyedEvent
impl Sync for OnTerritoryDestroyedEvent
impl Unpin for OnTerritoryDestroyedEvent
impl UnsafeUnpin for OnTerritoryDestroyedEvent
impl UnwindSafe for OnTerritoryDestroyedEvent
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