Struct steamlocate::SteamApp [−][src]
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 )
Fields
appid: u32
The app ID of this Steam app.
path: PathBuf
The path to the installation directory of this Steam app.
Example: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod
vdf: Table
name: Option<String>
The store name of the Steam app.
last_user: Option<u64>
The SteamID64 of the last Steam user that played this game on the filesystem.
This crate supports steamid-ng and can automatically convert this to a SteamID for you.
To enable this support, use the steamid_ng
Cargo.toml feature.
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,