pub struct MoveSlot<P: MonsterProvider> {
pub move_id: P::MoveId,
pub pp: u8,
pub pp_up: u8,
}Expand description
A single known move with its current and bonus PP.
Fields§
§move_id: P::MoveIdThe move identifier.
pp: u8Current PP.
pp_up: u8Number of PP Ups applied (game decides what this means).
Trait Implementations§
impl<P: Eq + MonsterProvider> Eq for MoveSlot<P>
impl<P: PartialEq + MonsterProvider> StructuralPartialEq for MoveSlot<P>
Auto Trait Implementations§
impl<P> Freeze for MoveSlot<P>
impl<P> RefUnwindSafe for MoveSlot<P>
impl<P> Send for MoveSlot<P>
impl<P> Sync for MoveSlot<P>
impl<P> Unpin for MoveSlot<P>
impl<P> UnsafeUnpin for MoveSlot<P>
impl<P> UnwindSafe for MoveSlot<P>
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