Struct steamlocate::Shortcut
source · #[non_exhaustive]pub struct Shortcut {
pub appid: u32,
pub app_name: String,
pub executable: String,
pub start_dir: String,
}
Expand description
A added non-Steam game
Information is parsed from your userdata/<user_id>/config/shortcuts.vdf
files
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.appid: u32
Steam’s provided app id
app_name: String
The name of the application
executable: String
The executable used to launch the app
This is either the name of the program or the full path to the program
start_dir: String
The directory that the application should be run in
Trait Implementations§
source§impl PartialEq<Shortcut> for Shortcut
impl PartialEq<Shortcut> for Shortcut
impl Eq for Shortcut
impl StructuralEq for Shortcut
impl StructuralPartialEq for Shortcut
Auto Trait Implementations§
impl RefUnwindSafe for Shortcut
impl Send for Shortcut
impl Sync for Shortcut
impl Unpin for Shortcut
impl UnwindSafe for Shortcut
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