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 copy of the value. Read more
1.6.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)