Enum screeps::constants::PowerCreepClass
source · [−]#[repr(u8)]
pub enum PowerCreepClass {
Operator,
}
Expand description
Translates the POWER_CLASS
constants, which are classes of power creeps
Variants
Operator
"operator"
Trait Implementations
sourceimpl Clone for PowerCreepClass
impl Clone for PowerCreepClass
sourcefn clone(&self) -> PowerCreepClass
fn clone(&self) -> PowerCreepClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PowerCreepClass
impl Debug for PowerCreepClass
sourceimpl<'de> Deserialize<'de> for PowerCreepClass
impl<'de> Deserialize<'de> for PowerCreepClass
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for PowerCreepClass
impl Display for PowerCreepClass
sourceimpl FromStr for PowerCreepClass
impl FromStr for PowerCreepClass
sourceimpl Hash for PowerCreepClass
impl Hash for PowerCreepClass
sourceimpl PartialEq<PowerCreepClass> for PowerCreepClass
impl PartialEq<PowerCreepClass> for PowerCreepClass
sourcefn eq(&self, other: &PowerCreepClass) -> bool
fn eq(&self, other: &PowerCreepClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for PowerCreepClass
impl Serialize for PowerCreepClass
sourceimpl TryFrom<Value> for PowerCreepClass
impl TryFrom<Value> for PowerCreepClass
impl Copy for PowerCreepClass
impl Eq for PowerCreepClass
impl StructuralEq for PowerCreepClass
impl StructuralPartialEq for PowerCreepClass
Auto Trait Implementations
impl RefUnwindSafe for PowerCreepClass
impl Send for PowerCreepClass
impl Sync for PowerCreepClass
impl Unpin for PowerCreepClass
impl UnwindSafe for PowerCreepClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more