pub struct SetXpToNextLevel<S: State = Empty>(/* private fields */);Expand description
State transition - sets the xp_to_next_level field to Set
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for SetXpToNextLevel<S>
impl<S> RefUnwindSafe for SetXpToNextLevel<S>
impl<S> Send for SetXpToNextLevel<S>
impl<S> Sync for SetXpToNextLevel<S>
impl<S> Unpin for SetXpToNextLevel<S>
impl<S> UnsafeUnpin for SetXpToNextLevel<S>
impl<S> UnwindSafe for SetXpToNextLevel<S>
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