Enum initiative_core::world::place::location::settlement::SettlementType
source · pub enum SettlementType {
Camp,
Capital,
City,
District,
Outpost,
Town,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SettlementType
impl Clone for SettlementType
source§fn clone(&self) -> SettlementType
fn clone(&self) -> SettlementType
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 SettlementType
impl Debug for SettlementType
source§impl<'de> Deserialize<'de> for SettlementType
impl<'de> Deserialize<'de> for SettlementType
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<SettlementType> for &'static str
impl From<SettlementType> for &'static str
source§fn from(variant: SettlementType) -> &'static str
fn from(variant: SettlementType) -> &'static str
Converts to this type from the input type.
source§impl From<SettlementType> for String
impl From<SettlementType> for String
source§fn from(variant: SettlementType) -> String
fn from(variant: SettlementType) -> String
Converts to this type from the input type.
source§impl FromStr for SettlementType
impl FromStr for SettlementType
source§impl PartialEq for SettlementType
impl PartialEq for SettlementType
source§fn eq(&self, other: &SettlementType) -> bool
fn eq(&self, other: &SettlementType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SettlementType
impl Serialize for SettlementType
source§impl TryFrom<&str> for SettlementType
impl TryFrom<&str> for SettlementType
impl Copy for SettlementType
impl Eq for SettlementType
impl StructuralPartialEq for SettlementType
Auto Trait Implementations§
impl Freeze for SettlementType
impl RefUnwindSafe for SettlementType
impl Send for SettlementType
impl Sync for SettlementType
impl Unpin for SettlementType
impl UnwindSafe for SettlementType
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
)