pub struct SetDamageDealtSideOneInstruction {
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 SetDamageDealtSideOneInstruction
impl Clone for SetDamageDealtSideOneInstruction
Source§fn clone(&self) -> SetDamageDealtSideOneInstruction
fn clone(&self) -> SetDamageDealtSideOneInstruction
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 SetDamageDealtSideOneInstruction
impl PartialEq for SetDamageDealtSideOneInstruction
Source§fn eq(&self, other: &SetDamageDealtSideOneInstruction) -> bool
fn eq(&self, other: &SetDamageDealtSideOneInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetDamageDealtSideOneInstruction
Auto Trait Implementations§
impl Freeze for SetDamageDealtSideOneInstruction
impl RefUnwindSafe for SetDamageDealtSideOneInstruction
impl Send for SetDamageDealtSideOneInstruction
impl Sync for SetDamageDealtSideOneInstruction
impl Unpin for SetDamageDealtSideOneInstruction
impl UnwindSafe for SetDamageDealtSideOneInstruction
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)