pub enum PlanetType {
Temperate,
Barren,
Oceanic,
Ice,
Gas,
Lava,
Storm,
Plasma,
Unrecognized,
}Expand description
The type of a planet that supports planetary interaction.
Variants§
Temperate
Temperate.
Barren
Barren.
Oceanic
Oceanic.
Ice
Ice.
Gas
Gas.
Lava
Lava.
Storm
Storm.
Plasma
Plasma.
Unrecognized
A value this version of the crate does not know about.
Trait Implementations§
Source§impl Clone for PlanetType
impl Clone for PlanetType
impl Copy for PlanetType
Source§impl Debug for PlanetType
impl Debug for PlanetType
Source§impl<'de> Deserialize<'de> for PlanetType
impl<'de> Deserialize<'de> for PlanetType
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
impl Eq for PlanetType
Source§impl PartialEq for PlanetType
impl PartialEq for PlanetType
Source§impl Serialize for PlanetType
impl Serialize for PlanetType
impl StructuralPartialEq for PlanetType
Auto Trait Implementations§
impl Freeze for PlanetType
impl RefUnwindSafe for PlanetType
impl Send for PlanetType
impl Sync for PlanetType
impl Unpin for PlanetType
impl UnsafeUnpin for PlanetType
impl UnwindSafe for PlanetType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.