Enum pokemon_go_protobuf::POGOProtos_Data_Battle::BattleActionType
[−]
[src]
pub enum BattleActionType { ACTION_UNSET, ACTION_ATTACK, ACTION_DODGE, ACTION_SPECIAL_ATTACK, ACTION_SWAP_POKEMON, ACTION_FAINT, ACTION_PLAYER_JOIN, ACTION_PLAYER_QUIT, ACTION_VICTORY, ACTION_DEFEAT, ACTION_TIMED_OUT, }
Variants
ACTION_UNSET
ACTION_ATTACK
ACTION_DODGE
ACTION_SPECIAL_ATTACK
ACTION_SWAP_POKEMON
ACTION_FAINT
ACTION_PLAYER_JOIN
ACTION_PLAYER_QUIT
ACTION_VICTORY
ACTION_DEFEAT
ACTION_TIMED_OUT
Trait Implementations
impl Clone for BattleActionType
[src]
fn clone(&self) -> BattleActionType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for BattleActionType
[src]
fn eq(&self, __arg_0: &BattleActionType) -> bool
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
This method tests for !=
.
impl Eq for BattleActionType
[src]
impl Debug for BattleActionType
[src]
impl Hash for BattleActionType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ProtobufEnum for BattleActionType
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<BattleActionType>
fn values() -> &'static [Self]
fn enum_descriptor_static(
_: Option<BattleActionType>
) -> &'static EnumDescriptor
_: Option<BattleActionType>
) -> &'static EnumDescriptor