pub struct OtherFortress {Show 13 fields
pub fortress_stone: u64,
pub fortress_wood: u64,
pub fortress_archers: u16,
pub fortress_has_mages: bool,
pub fortress_soldiers: u16,
pub fortress_building_level: EnumMap<FortressBuildingType, u16>,
pub wood_in_cutter: u64,
pub stone_in_quary: u64,
pub max_wood_in_cutter: u64,
pub max_stone_in_quary: u64,
pub fortress_soldiers_lvl: u16,
pub fortress_mages_lvl: u16,
pub fortress_archers_lvl: u16,
}Fields§
§fortress_stone: u64§fortress_wood: u64§fortress_archers: u16§fortress_has_mages: bool§fortress_soldiers: u16§fortress_building_level: EnumMap<FortressBuildingType, u16>§wood_in_cutter: u64§stone_in_quary: u64§max_wood_in_cutter: u64§max_stone_in_quary: u64§fortress_soldiers_lvl: u16§fortress_mages_lvl: u16§fortress_archers_lvl: u16Trait Implementations§
Source§impl Clone for OtherFortress
impl Clone for OtherFortress
Source§fn clone(&self) -> OtherFortress
fn clone(&self) -> OtherFortress
Returns a duplicate 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 OtherFortress
impl Debug for OtherFortress
Source§impl Default for OtherFortress
impl Default for OtherFortress
Source§fn default() -> OtherFortress
fn default() -> OtherFortress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtherFortress
impl<'de> Deserialize<'de> for OtherFortress
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
Auto Trait Implementations§
impl Freeze for OtherFortress
impl RefUnwindSafe for OtherFortress
impl Send for OtherFortress
impl Sync for OtherFortress
impl Unpin for OtherFortress
impl UnwindSafe for OtherFortress
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