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