pub struct RpsGame { /* private fields */ }Expand description
Rock Paper scissors Game
Implementations§
Trait Implementations§
impl Copy for RpsGame
Source§impl<'de> Deserialize<'de> for RpsGame
impl<'de> Deserialize<'de> for RpsGame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RpsGame
Source§impl From<RpsGame> for GameResult
impl From<RpsGame> for GameResult
Source§impl Ord for RpsGame
impl Ord for RpsGame
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RpsGame
impl PartialOrd for RpsGame
impl StructuralPartialEq for RpsGame
Auto Trait Implementations§
impl Freeze for RpsGame
impl RefUnwindSafe for RpsGame
impl Send for RpsGame
impl Sync for RpsGame
impl Unpin for RpsGame
impl UnsafeUnpin for RpsGame
impl UnwindSafe for RpsGame
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