pub enum TerminalAction {
Item(ItemUseResult),
Shot(PlayerNumber),
}
Variants§
Item(ItemUseResult)
Shot(PlayerNumber)
Trait Implementations§
Source§impl Clone for TerminalAction
impl Clone for TerminalAction
Source§fn clone(&self) -> TerminalAction
fn clone(&self) -> TerminalAction
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TerminalAction
impl RefUnwindSafe for TerminalAction
impl Send for TerminalAction
impl Sync for TerminalAction
impl Unpin for TerminalAction
impl UnwindSafe for TerminalAction
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