pub enum TownBuildingType {
Show 26 variants
TownHall,
Fort,
Marketplace,
Shipyard,
Tavern,
Blacksmith,
MagicGuild,
Dwelling1,
Dwelling2,
Dwelling3,
Dwelling4,
Dwelling5,
Dwelling6,
Dwelling7,
Grail,
Wonder,
Special0,
Special1,
Special2,
Special3,
Special4,
Special5,
Special6,
Special7,
Special8,
Special9,
}Variants§
TownHall
Fort
Marketplace
Shipyard
Tavern
Blacksmith
MagicGuild
Dwelling1
Dwelling2
Dwelling3
Dwelling4
Dwelling5
Dwelling6
Dwelling7
Grail
Wonder
Special0
Special1
Special2
Special3
Special4
Special5
Special6
Special7
Special8
Special9
Trait Implementations§
Source§impl Clone for TownBuildingType
impl Clone for TownBuildingType
Source§fn clone(&self) -> TownBuildingType
fn clone(&self) -> TownBuildingType
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 TownBuildingType
Source§impl Debug for TownBuildingType
impl Debug for TownBuildingType
Source§impl<'de> Deserialize<'de> for TownBuildingType
impl<'de> Deserialize<'de> for TownBuildingType
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
impl Eq for TownBuildingType
Source§impl Ord for TownBuildingType
impl Ord for TownBuildingType
Source§fn cmp(&self, other: &TownBuildingType) -> Ordering
fn cmp(&self, other: &TownBuildingType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TownBuildingType
impl PartialEq for TownBuildingType
Source§impl PartialOrd for TownBuildingType
impl PartialOrd for TownBuildingType
Source§impl Serialize for TownBuildingType
impl Serialize for TownBuildingType
impl StructuralPartialEq for TownBuildingType
Auto Trait Implementations§
impl Freeze for TownBuildingType
impl RefUnwindSafe for TownBuildingType
impl Send for TownBuildingType
impl Sync for TownBuildingType
impl Unpin for TownBuildingType
impl UnsafeUnpin for TownBuildingType
impl UnwindSafe for TownBuildingType
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