pub enum Action<S> {
EndGame,
PlayerAction(u8, S),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Action<S>where
S: Freeze,
impl<S> RefUnwindSafe for Action<S>where
S: RefUnwindSafe,
impl<S> Send for Action<S>where
S: Send,
impl<S> Sync for Action<S>where
S: Sync,
impl<S> Unpin for Action<S>where
S: Unpin,
impl<S> UnsafeUnpin for Action<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Action<S>where
S: UnwindSafe,
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