pub struct SetDamageDealtInstruction {
pub side_ref: SideReference,
pub damage: i16,
pub previous_damage: i16,
pub move_category: MoveCategory,
pub previous_move_category: MoveCategory,
pub hit_substitute: bool,
pub previous_hit_substitute: bool,
}Fields§
§side_ref: SideReference§damage: i16§previous_damage: i16§move_category: MoveCategory§previous_move_category: MoveCategory§hit_substitute: bool§previous_hit_substitute: boolTrait Implementations§
source§impl Clone for SetDamageDealtInstruction
impl Clone for SetDamageDealtInstruction
source§fn clone(&self) -> SetDamageDealtInstruction
fn clone(&self) -> SetDamageDealtInstruction
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 SetDamageDealtInstruction
impl Debug for SetDamageDealtInstruction
impl StructuralPartialEq for SetDamageDealtInstruction
Auto Trait Implementations§
impl Freeze for SetDamageDealtInstruction
impl RefUnwindSafe for SetDamageDealtInstruction
impl Send for SetDamageDealtInstruction
impl Sync for SetDamageDealtInstruction
impl Unpin for SetDamageDealtInstruction
impl UnwindSafe for SetDamageDealtInstruction
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)