#[repr(u8)]pub enum PokemonNature {
Show 25 variants
HARDY = 0,
LONELY = 1,
ADAMANT = 2,
NAUGHTY = 3,
BRAVE = 4,
BOLD = 5,
DOCILE = 6,
IMPISH = 7,
LAX = 8,
RELAXED = 9,
MODEST = 10,
MILD = 11,
BASHFUL = 12,
RASH = 13,
QUIET = 14,
CALM = 15,
GENTLE = 16,
CAREFUL = 17,
QUIRKY = 18,
SASSY = 19,
TIMID = 20,
HASTY = 21,
JOLLY = 22,
NAIVE = 23,
SERIOUS = 24,
}Variants§
HARDY = 0
LONELY = 1
ADAMANT = 2
NAUGHTY = 3
BRAVE = 4
BOLD = 5
DOCILE = 6
IMPISH = 7
LAX = 8
RELAXED = 9
MODEST = 10
MILD = 11
BASHFUL = 12
RASH = 13
QUIET = 14
CALM = 15
GENTLE = 16
CAREFUL = 17
QUIRKY = 18
SASSY = 19
TIMID = 20
HASTY = 21
JOLLY = 22
NAIVE = 23
SERIOUS = 24
Trait Implementations§
Source§impl Clone for PokemonNature
impl Clone for PokemonNature
Source§fn clone(&self) -> PokemonNature
fn clone(&self) -> PokemonNature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PokemonNature
impl Debug for PokemonNature
Source§impl Display for PokemonNature
impl Display for PokemonNature
Source§impl From<u8> for PokemonNature
impl From<u8> for PokemonNature
Source§fn from(value: u8) -> PokemonNature
fn from(value: u8) -> PokemonNature
Converts to this type from the input type.
Source§impl FromStr for PokemonNature
impl FromStr for PokemonNature
Source§impl Into<u8> for PokemonNature
impl Into<u8> for PokemonNature
Source§impl PartialEq for PokemonNature
impl PartialEq for PokemonNature
impl StructuralPartialEq for PokemonNature
Auto Trait Implementations§
impl Freeze for PokemonNature
impl RefUnwindSafe for PokemonNature
impl Send for PokemonNature
impl Sync for PokemonNature
impl Unpin for PokemonNature
impl UnwindSafe for PokemonNature
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