#[repr(i32)]pub enum ELeaderboardSortMethod {
None = 0,
Ascending = 1,
Descending = 2,
}Expand description
The ELeaderboardSortMethod enumeration.
Source: lang/steammsg.steamd.
Variants§
Implementations§
Source§impl ELeaderboardSortMethod
impl ELeaderboardSortMethod
Sourcepub const ALL: &'static [ELeaderboardSortMethod]
pub const ALL: &'static [ELeaderboardSortMethod]
Every variant of ELeaderboardSortMethod.
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§
Source§impl Clone for ELeaderboardSortMethod
impl Clone for ELeaderboardSortMethod
impl Copy for ELeaderboardSortMethod
Source§impl Debug for ELeaderboardSortMethod
impl Debug for ELeaderboardSortMethod
impl Eq for ELeaderboardSortMethod
Source§impl From<ELeaderboardSortMethod> for i32
impl From<ELeaderboardSortMethod> for i32
Source§fn from(value: ELeaderboardSortMethod) -> i32
fn from(value: ELeaderboardSortMethod) -> i32
Converts to this type from the input type.
Source§impl Hash for ELeaderboardSortMethod
impl Hash for ELeaderboardSortMethod
Source§impl Ord for ELeaderboardSortMethod
impl Ord for ELeaderboardSortMethod
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 PartialEq for ELeaderboardSortMethod
impl PartialEq for ELeaderboardSortMethod
Source§impl PartialOrd for ELeaderboardSortMethod
impl PartialOrd for ELeaderboardSortMethod
impl StructuralPartialEq for ELeaderboardSortMethod
Source§impl TryFrom<i32> for ELeaderboardSortMethod
impl TryFrom<i32> for ELeaderboardSortMethod
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for ELeaderboardSortMethod
impl TryFrom<u32> for ELeaderboardSortMethod
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ELeaderboardSortMethod
impl RefUnwindSafe for ELeaderboardSortMethod
impl Send for ELeaderboardSortMethod
impl Sync for ELeaderboardSortMethod
impl Unpin for ELeaderboardSortMethod
impl UnsafeUnpin for ELeaderboardSortMethod
impl UnwindSafe for ELeaderboardSortMethod
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.