Enum screeps::constants::Terrain
[−]
[src]
#[repr(u32)]pub enum Terrain { Plain, Wall, Swamp, }
Variants
Plain
Wall
Swamp
Trait Implementations
impl Copy for Terrain
[src]
impl Clone for Terrain
[src]
fn clone(&self) -> Terrain
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Terrain
[src]
impl PartialEq for Terrain
[src]
fn eq(&self, __arg_0: &Terrain) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Terrain
[src]
impl TryFrom<Value> for Terrain
[src]
type Error = <u32 as TryFrom<Value>>::Error
The type returned in the event of a conversion error.
fn try_from(v: Value) -> Result<Self, Self::Error>
[src]
Performs the conversion.