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