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