pub struct DamageDealt {
pub damage: i16,
pub move_category: MoveCategory,
pub hit_substitute: bool,
}Fields§
§damage: i16§move_category: MoveCategory§hit_substitute: boolTrait Implementations§
Source§impl Clone for DamageDealt
impl Clone for DamageDealt
Source§fn clone(&self) -> DamageDealt
fn clone(&self) -> DamageDealt
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 DamageDealt
impl Debug for DamageDealt
Source§impl Default for DamageDealt
impl Default for DamageDealt
Source§fn default() -> DamageDealt
fn default() -> DamageDealt
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DamageDealt
impl RefUnwindSafe for DamageDealt
impl Send for DamageDealt
impl Sync for DamageDealt
impl Unpin for DamageDealt
impl UnwindSafe for DamageDealt
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