pub struct DamageInstruction {
pub side_ref: SideReference,
pub damage_amount: i16,
}Fields§
§side_ref: SideReference§damage_amount: i16Trait Implementations§
Source§impl Clone for DamageInstruction
impl Clone for DamageInstruction
Source§fn clone(&self) -> DamageInstruction
fn clone(&self) -> DamageInstruction
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 DamageInstruction
impl Debug for DamageInstruction
Source§impl PartialEq for DamageInstruction
impl PartialEq for DamageInstruction
impl StructuralPartialEq for DamageInstruction
Auto Trait Implementations§
impl Freeze for DamageInstruction
impl RefUnwindSafe for DamageInstruction
impl Send for DamageInstruction
impl Sync for DamageInstruction
impl Unpin for DamageInstruction
impl UnwindSafe for DamageInstruction
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