pub struct TornTerritory {
pub id: FactionTerritoryEnum,
pub sector: i32,
pub size: i32,
pub density: i32,
pub slots: i32,
pub respect: i32,
pub coordinates: TornTerritoryCoordinates,
pub neighbors: Vec<FactionTerritoryEnum>,
}
Fields§
§id: FactionTerritoryEnum
§sector: i32
§size: i32
§density: i32
§slots: i32
§respect: i32
§coordinates: TornTerritoryCoordinates
§neighbors: Vec<FactionTerritoryEnum>
Trait Implementations§
Source§impl Clone for TornTerritory
impl Clone for TornTerritory
Source§fn clone(&self) -> TornTerritory
fn clone(&self) -> TornTerritory
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TornTerritory
impl Debug for TornTerritory
Source§impl<'de> Deserialize<'de> for TornTerritory
impl<'de> Deserialize<'de> for TornTerritory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TornTerritory
impl PartialEq for TornTerritory
impl StructuralPartialEq for TornTerritory
Auto Trait Implementations§
impl Freeze for TornTerritory
impl RefUnwindSafe for TornTerritory
impl Send for TornTerritory
impl Sync for TornTerritory
impl Unpin for TornTerritory
impl UnwindSafe for TornTerritory
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