Enum screeps::constants::Part
[−]
[src]
#[repr(u32)]pub enum Part { Move, Work, Carry, Attack, RangedAttack, Tough, Heal, Claim, }
Variants
Move
Work
Carry
Attack
RangedAttack
Tough
Heal
Claim
Methods
impl Part
[src]
Trait Implementations
impl Debug for Part
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Part
[src]
fn eq(&self, __arg_0: &Part) -> 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 Part
[src]
impl Clone for Part
[src]
fn clone(&self) -> Part
[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 Copy for Part
[src]
impl TryFrom<u32> for Part
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(x: u32) -> Result<Self, Self::Error>
[src]
Performs the conversion.