#[repr(i32)]pub enum ELeaderboardUploadScoreMethod {
None = 0,
KeepBest = 1,
ForceUpdate = 2,
}Expand description
The ELeaderboardUploadScoreMethod enumeration.
Source: lang/steammsg.steamd.
Variants§
Implementations§
Source§impl ELeaderboardUploadScoreMethod
impl ELeaderboardUploadScoreMethod
Sourcepub const ALL: &'static [ELeaderboardUploadScoreMethod]
pub const ALL: &'static [ELeaderboardUploadScoreMethod]
Every variant of ELeaderboardUploadScoreMethod.
Sourcepub fn from_value(value: i32) -> Option<Self>
pub fn from_value(value: i32) -> Option<Self>
Builds a variant from its numeric value.
When several variants share a value, the first declared one is returned.
Trait Implementations§
impl Copy for ELeaderboardUploadScoreMethod
impl Eq for ELeaderboardUploadScoreMethod
Source§impl From<ELeaderboardUploadScoreMethod> for i32
impl From<ELeaderboardUploadScoreMethod> for i32
Source§fn from(value: ELeaderboardUploadScoreMethod) -> i32
fn from(value: ELeaderboardUploadScoreMethod) -> i32
Converts to this type from the input type.
Source§impl Hash for ELeaderboardUploadScoreMethod
impl Hash for ELeaderboardUploadScoreMethod
Source§impl Ord for ELeaderboardUploadScoreMethod
impl Ord for ELeaderboardUploadScoreMethod
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ELeaderboardUploadScoreMethod
impl PartialOrd for ELeaderboardUploadScoreMethod
impl StructuralPartialEq for ELeaderboardUploadScoreMethod
Source§impl TryFrom<i32> for ELeaderboardUploadScoreMethod
impl TryFrom<i32> for ELeaderboardUploadScoreMethod
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for ELeaderboardUploadScoreMethod
impl TryFrom<u32> for ELeaderboardUploadScoreMethod
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ELeaderboardUploadScoreMethod
impl RefUnwindSafe for ELeaderboardUploadScoreMethod
impl Send for ELeaderboardUploadScoreMethod
impl Sync for ELeaderboardUploadScoreMethod
impl Unpin for ELeaderboardUploadScoreMethod
impl UnsafeUnpin for ELeaderboardUploadScoreMethod
impl UnwindSafe for ELeaderboardUploadScoreMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.