pub enum Normal {
Rock,
Plant,
Water,
Fire,
Electric,
Spirit,
Light,
Wind,
None,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Compare for Normal
impl Compare for Normal
Source§fn plant(other: Normal) -> Effectiveness
fn plant(other: Normal) -> Effectiveness
Plant Effectiveness against a target
Source§fn rock(other: Normal) -> Effectiveness
fn rock(other: Normal) -> Effectiveness
Rock Effectiveness against a target
Source§fn water(other: Normal) -> Effectiveness
fn water(other: Normal) -> Effectiveness
Water Effectiveness against a target
Source§fn fire(other: Normal) -> Effectiveness
fn fire(other: Normal) -> Effectiveness
Fire Effectiveness against a target
Source§fn electric(other: Normal) -> Effectiveness
fn electric(other: Normal) -> Effectiveness
Electric Effectiveness against a target
Source§fn spirit(other: Normal) -> Effectiveness
fn spirit(other: Normal) -> Effectiveness
Spirit Effectiveness against a target
Source§fn light(other: Normal) -> Effectiveness
fn light(other: Normal) -> Effectiveness
Light Effectiveness against a target
Source§fn wind(other: Normal) -> Effectiveness
fn wind(other: Normal) -> Effectiveness
Effectiveness against a target
Source§fn none(other: Normal) -> Effectiveness
fn none(other: Normal) -> Effectiveness
Effectiveness against a target
Source§fn effectiveness(&self, other: Normal) -> Effectiveness
fn effectiveness(&self, other: Normal) -> Effectiveness
Match current Type to find effectiveness of the value
type Type = Normal
Source§impl<'de> Deserialize<'de> for Normal
impl<'de> Deserialize<'de> for Normal
Source§fn 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
Source§impl Random for Normal
impl Random for Normal
impl Copy for Normal
impl Eq for Normal
impl StructuralPartialEq for Normal
Auto Trait Implementations§
impl Freeze for Normal
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more