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