pub struct BoostTable {
pub atk: i8,
pub def: i8,
pub spa: i8,
pub spd: i8,
pub spe: i8,
pub acc: i8,
pub eva: i8,
}Expand description
A full boost table.
Fields§
§atk: i8§def: i8§spa: i8§spd: i8§spe: i8§acc: i8§eva: i8Implementations§
Trait Implementations§
Source§impl Add for &BoostTable
impl Add for &BoostTable
Source§impl Clone for BoostTable
impl Clone for BoostTable
Source§fn clone(&self) -> BoostTable
fn clone(&self) -> BoostTable
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 ContainsOptionalBoosts<i8> for BoostTable
impl ContainsOptionalBoosts<i8> for BoostTable
Source§impl Debug for BoostTable
impl Debug for BoostTable
Source§impl Default for BoostTable
impl Default for BoostTable
Source§fn default() -> BoostTable
fn default() -> BoostTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoostTable
impl<'de> Deserialize<'de> for BoostTable
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 FromIterator<(Boost, i8)> for BoostTable
impl FromIterator<(Boost, i8)> for BoostTable
Source§impl Hash for BoostTable
impl Hash for BoostTable
Source§impl PartialEq for BoostTable
impl PartialEq for BoostTable
Source§impl Serialize for BoostTable
impl Serialize for BoostTable
impl Eq for BoostTable
impl StructuralPartialEq for BoostTable
Auto Trait Implementations§
impl Freeze for BoostTable
impl RefUnwindSafe for BoostTable
impl Send for BoostTable
impl Sync for BoostTable
impl Unpin for BoostTable
impl UnsafeUnpin for BoostTable
impl UnwindSafe for BoostTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.