Enum pokemon_go_data::PokeType
[−]
[src]
pub enum PokeType { Normal, Fighting, Flying, Poison, Ground, Rock, Bug, Ghost, Steel, Fire, Water, Grass, Electric, Psychic, Ice, Dragon, Dark, Fairy, }
Variants
Normal
Fighting
Flying
Poison
Ground
Rock
Bug
Ghost
Steel
Fire
Water
Grass
Electric
Psychic
Ice
Dragon
Dark
Fairy
Methods
impl PokeType
[src]
fn efficacy_against(&self, other: PokeType) -> Effectiveness
[src]
fn coefficient_against(&self, other: PokeType) -> f32
[src]
Trait Implementations
impl Clone for PokeType
[src]
fn clone(&self) -> PokeType
[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 PokeType
[src]
impl PartialEq for PokeType
[src]
fn eq(&self, __arg_0: &PokeType) -> 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 PokeType
[src]
impl Debug for PokeType
[src]
impl Hash for PokeType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more