pub enum TerrainKindView {
Grass,
Hill,
Bog,
ShallowWater,
DeepWater,
}Expand description
Terrain overlay from segment YAML (terrain_zones).
Variants§
Trait Implementations§
Source§impl Clone for TerrainKindView
impl Clone for TerrainKindView
Source§fn clone(&self) -> TerrainKindView
fn clone(&self) -> TerrainKindView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TerrainKindView
Source§impl Debug for TerrainKindView
impl Debug for TerrainKindView
Source§impl Default for TerrainKindView
impl Default for TerrainKindView
Source§fn default() -> TerrainKindView
fn default() -> TerrainKindView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TerrainKindView
impl<'de> Deserialize<'de> for TerrainKindView
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 TerrainKindView
Source§impl PartialEq for TerrainKindView
impl PartialEq for TerrainKindView
Source§impl Serialize for TerrainKindView
impl Serialize for TerrainKindView
impl StructuralPartialEq for TerrainKindView
Auto Trait Implementations§
impl Freeze for TerrainKindView
impl RefUnwindSafe for TerrainKindView
impl Send for TerrainKindView
impl Sync for TerrainKindView
impl Unpin for TerrainKindView
impl UnsafeUnpin for TerrainKindView
impl UnwindSafe for TerrainKindView
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