Struct steamlocate::SteamApp
source · pub struct SteamApp { /* private fields */ }
Expand description
An instance of an installed Steam app.
Example
let mut steamdir = SteamDir::locate().unwrap();
let gmod = steamdir.app(&4000);
println!("{:#?}", gmod.unwrap());
ⓘ
SteamApp (
appid: u32: 4000,
path: PathBuf: "C:\\Program Files (x86)\\steamapps\\common\\GarrysMod",
vdf: <steamy_vdf::Table>,
name: Some(String: "Garry's Mod"),
last_user: Some(u64: 76561198040894045) // This will be a steamid_ng::SteamID if the "steamid_ng" feature is enabled
)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SteamApp
impl Send for SteamApp
impl Sync for SteamApp
impl Unpin for SteamApp
impl UnwindSafe for SteamApp
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