Struct screeps::LocalRoomPosition [] [src]

pub struct LocalRoomPosition {
    pub room_name: LocalRoomName,
    pub x: u8,
    pub y: u8,
}

Fields

Trait Implementations

impl TryFrom<Value> for LocalRoomPosition
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl Serialize for LocalRoomPosition
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for LocalRoomPosition
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Copy for LocalRoomPosition
[src]

impl Clone for LocalRoomPosition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for LocalRoomPosition
[src]

impl PartialEq for LocalRoomPosition
[src]

[src]

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

[src]

This method tests for !=.

impl Hash for LocalRoomPosition
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for LocalRoomPosition
[src]

[src]

Formats the value using the given formatter. Read more

impl HasPosition for LocalRoomPosition
[src]

[src]

Auto Trait Implementations