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