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