Enum initiative_core::world::place::building::military::MilitaryType
source · pub enum MilitaryType {
Barracks,
Base,
Castle,
Citadel,
Fort,
Fortress,
Keep,
Stronghold,
Tower,
}
Variants§
Implementations§
source§impl MilitaryType
impl MilitaryType
Trait Implementations§
source§impl Clone for MilitaryType
impl Clone for MilitaryType
source§fn clone(&self) -> MilitaryType
fn clone(&self) -> MilitaryType
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 MilitaryType
impl Debug for MilitaryType
source§impl<'de> Deserialize<'de> for MilitaryType
impl<'de> Deserialize<'de> for MilitaryType
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<MilitaryType> for &'static str
impl From<MilitaryType> for &'static str
source§fn from(variant: MilitaryType) -> &'static str
fn from(variant: MilitaryType) -> &'static str
Converts to this type from the input type.
source§impl From<MilitaryType> for String
impl From<MilitaryType> for String
source§fn from(variant: MilitaryType) -> String
fn from(variant: MilitaryType) -> String
Converts to this type from the input type.
source§impl FromStr for MilitaryType
impl FromStr for MilitaryType
source§impl PartialEq for MilitaryType
impl PartialEq for MilitaryType
source§fn eq(&self, other: &MilitaryType) -> bool
fn eq(&self, other: &MilitaryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MilitaryType
impl Serialize for MilitaryType
source§impl TryFrom<&str> for MilitaryType
impl TryFrom<&str> for MilitaryType
impl Copy for MilitaryType
impl Eq for MilitaryType
impl StructuralPartialEq for MilitaryType
Auto Trait Implementations§
impl Freeze for MilitaryType
impl RefUnwindSafe for MilitaryType
impl Send for MilitaryType
impl Sync for MilitaryType
impl Unpin for MilitaryType
impl UnwindSafe for MilitaryType
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
)