pub struct SetDamageDealtSideTwoInstruction {
pub damage_change: i16,
pub move_category: MoveCategory,
pub previous_move_category: MoveCategory,
pub toggle_hit_substitute: bool,
}Fields§
§damage_change: i16§move_category: MoveCategory§previous_move_category: MoveCategory§toggle_hit_substitute: boolTrait Implementations§
Source§impl Clone for SetDamageDealtSideTwoInstruction
impl Clone for SetDamageDealtSideTwoInstruction
Source§fn clone(&self) -> SetDamageDealtSideTwoInstruction
fn clone(&self) -> SetDamageDealtSideTwoInstruction
Returns a copy 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 PartialEq for SetDamageDealtSideTwoInstruction
impl PartialEq for SetDamageDealtSideTwoInstruction
Source§fn eq(&self, other: &SetDamageDealtSideTwoInstruction) -> bool
fn eq(&self, other: &SetDamageDealtSideTwoInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetDamageDealtSideTwoInstruction
Auto Trait Implementations§
impl Freeze for SetDamageDealtSideTwoInstruction
impl RefUnwindSafe for SetDamageDealtSideTwoInstruction
impl Send for SetDamageDealtSideTwoInstruction
impl Sync for SetDamageDealtSideTwoInstruction
impl Unpin for SetDamageDealtSideTwoInstruction
impl UnwindSafe for SetDamageDealtSideTwoInstruction
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