Struct poke_engine::instruction::SetRestTurnsInstruction
source · pub struct SetRestTurnsInstruction {
pub side_ref: SideReference,
pub pokemon_index: PokemonIndex,
pub new_turns: i8,
pub previous_turns: i8,
}Fields§
§side_ref: SideReference§pokemon_index: PokemonIndex§new_turns: i8§previous_turns: i8Trait Implementations§
source§impl Clone for SetRestTurnsInstruction
impl Clone for SetRestTurnsInstruction
source§fn clone(&self) -> SetRestTurnsInstruction
fn clone(&self) -> SetRestTurnsInstruction
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 SetRestTurnsInstruction
impl Debug for SetRestTurnsInstruction
source§impl PartialEq for SetRestTurnsInstruction
impl PartialEq for SetRestTurnsInstruction
impl StructuralPartialEq for SetRestTurnsInstruction
Auto Trait Implementations§
impl Freeze for SetRestTurnsInstruction
impl RefUnwindSafe for SetRestTurnsInstruction
impl Send for SetRestTurnsInstruction
impl Sync for SetRestTurnsInstruction
impl Unpin for SetRestTurnsInstruction
impl UnwindSafe for SetRestTurnsInstruction
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)