#[non_exhaustive]pub enum InstalledGame {
Steam(Box<AppState>),
EpicGames(Box<Manifest>),
MicrosoftStore(Box<GamePackage>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl InstalledGame
impl InstalledGame
pub fn store_name(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InstalledGame
impl RefUnwindSafe for InstalledGame
impl Send for InstalledGame
impl Sync for InstalledGame
impl Unpin for InstalledGame
impl UnwindSafe for InstalledGame
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