Enum screeps::constants::Part [] [src]

#[repr(u32)]
pub enum Part { Move, Work, Carry, Attack, RangedAttack, Tough, Heal, Claim, }

Variants

Methods

impl Part
[src]

[src]

Trait Implementations

impl Debug for Part
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Part
[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 Part
[src]

impl Clone for Part
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Part
[src]

impl TryFrom<Value> for Part
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.