pub enum WinLoseClause {
WinTheGame {},
LoseTheGame {},
}Variants§
Implementations§
Source§impl WinLoseClause
impl WinLoseClause
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for WinLoseClause
impl Clone for WinLoseClause
Source§fn clone(&self) -> WinLoseClause
fn clone(&self) -> WinLoseClause
Returns a duplicate 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 moreSource§impl Debug for WinLoseClause
impl Debug for WinLoseClause
Source§impl<'de> Deserialize<'de> for WinLoseClause
impl<'de> Deserialize<'de> for WinLoseClause
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
Source§impl Hash for WinLoseClause
impl Hash for WinLoseClause
Source§impl Idris for WinLoseClause
impl Idris for WinLoseClause
Source§impl Ord for WinLoseClause
impl Ord for WinLoseClause
Source§fn cmp(&self, other: &WinLoseClause) -> Ordering
fn cmp(&self, other: &WinLoseClause) -> Ordering
1.21.0 · 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 PartialEq for WinLoseClause
impl PartialEq for WinLoseClause
Source§impl PartialOrd for WinLoseClause
impl PartialOrd for WinLoseClause
Source§impl Serialize for WinLoseClause
impl Serialize for WinLoseClause
impl Copy for WinLoseClause
impl Eq for WinLoseClause
impl StructuralPartialEq for WinLoseClause
Auto Trait Implementations§
impl Freeze for WinLoseClause
impl RefUnwindSafe for WinLoseClause
impl Send for WinLoseClause
impl Sync for WinLoseClause
impl Unpin for WinLoseClause
impl UnwindSafe for WinLoseClause
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