#[repr(i32)]pub enum EAppType {
Show 20 variants
Invalid = 0,
Game = 1,
Application = 2,
Tool = 4,
Demo = 8,
Deprected = 16,
DLC = 32,
Guide = 64,
Driver = 128,
Config = 256,
Hardware = 512,
Franchise = 1_024,
Video = 2_048,
Plugin = 4_096,
Music = 8_192,
Series = 16_384,
Comic = 32_768,
Beta = 65_536,
Shortcut = 1_073_741_824,
DepotOnly = -2_147_483_648,
}Expand description
The EAppType enumeration.
A bit flag set: the variants can be combined with a bitwise or.
Source: lang/steammsg.steamd.
Variants§
Invalid = 0
Game = 1
Application = 2
Tool = 4
Demo = 8
Deprected = 16
DLC = 32
Guide = 64
Driver = 128
Config = 256
Hardware = 512
Franchise = 1_024
Video = 2_048
Plugin = 4_096
Music = 8_192
Series = 16_384
Comic = 32_768
Beta = 65_536
Shortcut = 1_073_741_824
DepotOnly = -2_147_483_648
👎Deprecated
Implementations§
Source§impl EAppType
impl EAppType
Sourcepub const fn contains(self, other: Self) -> bool
pub const fn contains(self, other: Self) -> bool
True when every bit of other is set in this flag set.
Sourcepub const fn intersect(self, other: Self) -> i32
pub const fn intersect(self, other: Self) -> i32
The bitwise and of two flag sets, as a raw value.
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 EAppType
impl Eq for EAppType
Source§impl Ord for EAppType
impl Ord for EAppType
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 EAppType
impl PartialOrd for EAppType
impl StructuralPartialEq for EAppType
Auto Trait Implementations§
impl Freeze for EAppType
impl RefUnwindSafe for EAppType
impl Send for EAppType
impl Sync for EAppType
impl Unpin for EAppType
impl UnsafeUnpin for EAppType
impl UnwindSafe for EAppType
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.