pub struct Pokemon {
pub pokedex: u16,
pub level: u8,
pub experience: u32,
}
Expand description
A structure for pokemon data.
Maximum values:
pokedex
: 386level
: 100
Fields§
§pokedex: u16
§level: u8
§experience: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pokemon
impl RefUnwindSafe for Pokemon
impl Send for Pokemon
impl Sync for Pokemon
impl Unpin for Pokemon
impl UnwindSafe for Pokemon
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