pub struct SetSleepTurnsInstruction {
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 SetSleepTurnsInstruction
impl Clone for SetSleepTurnsInstruction
Source§fn clone(&self) -> SetSleepTurnsInstruction
fn clone(&self) -> SetSleepTurnsInstruction
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 SetSleepTurnsInstruction
impl Debug for SetSleepTurnsInstruction
Source§impl PartialEq for SetSleepTurnsInstruction
impl PartialEq for SetSleepTurnsInstruction
impl StructuralPartialEq for SetSleepTurnsInstruction
Auto Trait Implementations§
impl Freeze for SetSleepTurnsInstruction
impl RefUnwindSafe for SetSleepTurnsInstruction
impl Send for SetSleepTurnsInstruction
impl Sync for SetSleepTurnsInstruction
impl Unpin for SetSleepTurnsInstruction
impl UnwindSafe for SetSleepTurnsInstruction
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