Enum initiative_core::world::place::region::political::PoliticalType
source · pub enum PoliticalType {
Show 15 variants
Barony,
CityState,
Confederation,
Country,
County,
Domain,
Duchy,
Empire,
Kingdom,
Nation,
Principality,
Province,
Realm,
Region,
Territory,
}
Variants§
Barony
CityState
Confederation
Country
County
Domain
Duchy
Empire
Kingdom
Nation
Principality
Province
Realm
Region
Territory
Implementations§
source§impl PoliticalType
impl PoliticalType
Trait Implementations§
source§impl Clone for PoliticalType
impl Clone for PoliticalType
source§fn clone(&self) -> PoliticalType
fn clone(&self) -> PoliticalType
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 PoliticalType
impl Debug for PoliticalType
source§impl<'de> Deserialize<'de> for PoliticalType
impl<'de> Deserialize<'de> for PoliticalType
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<PoliticalType> for &'static str
impl From<PoliticalType> for &'static str
source§fn from(variant: PoliticalType) -> &'static str
fn from(variant: PoliticalType) -> &'static str
Converts to this type from the input type.
source§impl From<PoliticalType> for String
impl From<PoliticalType> for String
source§fn from(variant: PoliticalType) -> String
fn from(variant: PoliticalType) -> String
Converts to this type from the input type.
source§impl FromStr for PoliticalType
impl FromStr for PoliticalType
source§impl PartialEq for PoliticalType
impl PartialEq for PoliticalType
source§fn eq(&self, other: &PoliticalType) -> bool
fn eq(&self, other: &PoliticalType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PoliticalType
impl Serialize for PoliticalType
source§impl TryFrom<&str> for PoliticalType
impl TryFrom<&str> for PoliticalType
impl Copy for PoliticalType
impl Eq for PoliticalType
impl StructuralPartialEq for PoliticalType
Auto Trait Implementations§
impl Freeze for PoliticalType
impl RefUnwindSafe for PoliticalType
impl Send for PoliticalType
impl Sync for PoliticalType
impl Unpin for PoliticalType
impl UnwindSafe for PoliticalType
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
)