Enum initiative_core::world::place::building::travel::TravelType
source · pub enum TravelType {
Bridge,
DutyHouse,
Ferry,
Gate,
Lighthouse,
Market,
Pier,
Portal,
Shipyard,
}
Variants§
Implementations§
source§impl TravelType
impl TravelType
Trait Implementations§
source§impl Clone for TravelType
impl Clone for TravelType
source§fn clone(&self) -> TravelType
fn clone(&self) -> TravelType
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 TravelType
impl Debug for TravelType
source§impl<'de> Deserialize<'de> for TravelType
impl<'de> Deserialize<'de> for TravelType
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<TravelType> for &'static str
impl From<TravelType> for &'static str
source§fn from(variant: TravelType) -> &'static str
fn from(variant: TravelType) -> &'static str
Converts to this type from the input type.
source§impl From<TravelType> for String
impl From<TravelType> for String
source§fn from(variant: TravelType) -> String
fn from(variant: TravelType) -> String
Converts to this type from the input type.
source§impl FromStr for TravelType
impl FromStr for TravelType
source§impl PartialEq for TravelType
impl PartialEq for TravelType
source§fn eq(&self, other: &TravelType) -> bool
fn eq(&self, other: &TravelType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TravelType
impl Serialize for TravelType
source§impl TryFrom<&str> for TravelType
impl TryFrom<&str> for TravelType
impl Copy for TravelType
impl Eq for TravelType
impl StructuralPartialEq for TravelType
Auto Trait Implementations§
impl Freeze for TravelType
impl RefUnwindSafe for TravelType
impl Send for TravelType
impl Sync for TravelType
impl Unpin for TravelType
impl UnwindSafe for TravelType
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
)