Enum initiative_core::world::place::building::BuildingType
source · pub enum BuildingType {
Any,
Business(BusinessType),
Education(EducationType),
Government(GovernmentType),
Military(MilitaryType),
Religious(ReligiousType),
Residence,
Travel(TravelType),
}
Variants§
Any
Business(BusinessType)
Education(EducationType)
Government(GovernmentType)
Military(MilitaryType)
Religious(ReligiousType)
Residence
Travel(TravelType)
Implementations§
source§impl BuildingType
impl BuildingType
Trait Implementations§
source§impl Clone for BuildingType
impl Clone for BuildingType
source§fn clone(&self) -> BuildingType
fn clone(&self) -> BuildingType
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 BuildingType
impl Debug for BuildingType
source§impl<'de> Deserialize<'de> for BuildingType
impl<'de> Deserialize<'de> for BuildingType
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 From<BuildingType> for &'static str
impl From<BuildingType> for &'static str
source§fn from(variant: BuildingType) -> &'static str
fn from(variant: BuildingType) -> &'static str
Converts to this type from the input type.
source§impl From<BuildingType> for String
impl From<BuildingType> for String
source§fn from(variant: BuildingType) -> String
fn from(variant: BuildingType) -> String
Converts to this type from the input type.
source§impl FromStr for BuildingType
impl FromStr for BuildingType
source§impl PartialEq for BuildingType
impl PartialEq for BuildingType
source§fn eq(&self, other: &BuildingType) -> bool
fn eq(&self, other: &BuildingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BuildingType
impl Serialize for BuildingType
source§impl TryFrom<&str> for BuildingType
impl TryFrom<&str> for BuildingType
impl Copy for BuildingType
impl Eq for BuildingType
impl StructuralPartialEq for BuildingType
Auto Trait Implementations§
impl Freeze for BuildingType
impl RefUnwindSafe for BuildingType
impl Send for BuildingType
impl Sync for BuildingType
impl Unpin for BuildingType
impl UnwindSafe for BuildingType
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)