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