pub enum IdleUpgradeAmount {
Max = -1,
One = 1,
Ten = 10,
TwentyFive = 25,
Hundred = 100,
}Expand description
The allowed amounts, that you can upgrade idle buildings by
Variants§
Max = -1
Upgrades as much as we can afford to
One = 1
Upgrades one building
Ten = 10
Upgrades the building ten times
TwentyFive = 25
Upgrades the building twenty-five times
Hundred = 100
Upgrades the building one hundred times
Trait Implementations§
Source§impl Clone for IdleUpgradeAmount
impl Clone for IdleUpgradeAmount
Source§fn clone(&self) -> IdleUpgradeAmount
fn clone(&self) -> IdleUpgradeAmount
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 IdleUpgradeAmount
impl Debug for IdleUpgradeAmount
Source§impl<'de> Deserialize<'de> for IdleUpgradeAmount
impl<'de> Deserialize<'de> for IdleUpgradeAmount
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 Hash for IdleUpgradeAmount
impl Hash for IdleUpgradeAmount
Source§impl PartialEq for IdleUpgradeAmount
impl PartialEq for IdleUpgradeAmount
Source§impl Serialize for IdleUpgradeAmount
impl Serialize for IdleUpgradeAmount
impl Copy for IdleUpgradeAmount
impl Eq for IdleUpgradeAmount
impl StructuralPartialEq for IdleUpgradeAmount
Auto Trait Implementations§
impl Freeze for IdleUpgradeAmount
impl RefUnwindSafe for IdleUpgradeAmount
impl Send for IdleUpgradeAmount
impl Sync for IdleUpgradeAmount
impl Unpin for IdleUpgradeAmount
impl UnsafeUnpin for IdleUpgradeAmount
impl UnwindSafe for IdleUpgradeAmount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.