#[repr(transparent)]pub struct GKTurnBasedMatchOutcome(pub NSInteger);Available on crate feature
GKTurnBasedMatch only.Expand description
Constants that describe the game result for a given participant who has reached the done state. The developer is free to use these constants or add additional ones
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl GKTurnBasedMatchOutcome
impl GKTurnBasedMatchOutcome
pub const None: Self
pub const Quit: Self
pub const Won: Self
pub const Lost: Self
pub const Tied: Self
pub const TimeExpired: Self
pub const First: Self
pub const Second: Self
pub const Third: Self
pub const Fourth: Self
pub const CustomRange: Self
Trait Implementations§
Source§impl Clone for GKTurnBasedMatchOutcome
impl Clone for GKTurnBasedMatchOutcome
Source§fn clone(&self) -> GKTurnBasedMatchOutcome
fn clone(&self) -> GKTurnBasedMatchOutcome
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 GKTurnBasedMatchOutcome
impl Debug for GKTurnBasedMatchOutcome
Source§impl Encode for GKTurnBasedMatchOutcome
impl Encode for GKTurnBasedMatchOutcome
Source§impl Hash for GKTurnBasedMatchOutcome
impl Hash for GKTurnBasedMatchOutcome
Source§impl Ord for GKTurnBasedMatchOutcome
impl Ord for GKTurnBasedMatchOutcome
Source§fn cmp(&self, other: &GKTurnBasedMatchOutcome) -> Ordering
fn cmp(&self, other: &GKTurnBasedMatchOutcome) -> 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 GKTurnBasedMatchOutcome
impl PartialEq for GKTurnBasedMatchOutcome
Source§impl PartialOrd for GKTurnBasedMatchOutcome
impl PartialOrd for GKTurnBasedMatchOutcome
Source§impl RefEncode for GKTurnBasedMatchOutcome
impl RefEncode for GKTurnBasedMatchOutcome
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for GKTurnBasedMatchOutcome
impl Eq for GKTurnBasedMatchOutcome
impl StructuralPartialEq for GKTurnBasedMatchOutcome
Auto Trait Implementations§
impl Freeze for GKTurnBasedMatchOutcome
impl RefUnwindSafe for GKTurnBasedMatchOutcome
impl Send for GKTurnBasedMatchOutcome
impl Sync for GKTurnBasedMatchOutcome
impl Unpin for GKTurnBasedMatchOutcome
impl UnwindSafe for GKTurnBasedMatchOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.