#[repr(u8)]pub enum GameCategory {
MainGame = 0,
DlcAddon = 1,
Expansion = 2,
Bundle = 3,
StandaloneExpansion = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for GameCategory
impl Clone for GameCategory
Source§fn clone(&self) -> GameCategory
fn clone(&self) -> GameCategory
Returns a copy 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 GameCategory
impl Debug for GameCategory
Source§impl Default for GameCategory
impl Default for GameCategory
Source§impl<'de> Deserialize<'de> for GameCategory
impl<'de> Deserialize<'de> for GameCategory
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GameCategory
impl RefUnwindSafe for GameCategory
impl Send for GameCategory
impl Sync for GameCategory
impl Unpin for GameCategory
impl UnwindSafe for GameCategory
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