Enum screeps::constants::Terrain [] [src]

#[repr(u32)]
pub enum Terrain { Plain, Wall, Swamp, }

Variants

Trait Implementations

impl Copy for Terrain
[src]

impl Clone for Terrain
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Terrain
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Terrain
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Terrain
[src]

impl TryFrom<Value> for Terrain
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl AsRef<str> for Terrain
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Terrain

impl Sync for Terrain