pub struct LaunchEntry {
pub executable: String,
pub arguments: Option<String>,
pub workingdir: Option<String>,
pub launch_type: Option<String>,
pub oslist: Option<String>,
pub osarch: Option<String>,
pub betakey: Option<String>,
}Expand description
One entry from an app’s PICS config/launch block — how Steam itself would start the game.
Used by the direct (no-Steam) launch path to resolve the executable without the Steam client.
Fields§
§executable: StringExecutable path, relative to the game’s install directory (e.g. bin/game.exe).
arguments: Option<String>Launch arguments, if any.
workingdir: Option<String>Working directory, relative to the install directory; None means the install root.
launch_type: Option<String>config/launch[i].type — “default”, “none”, “config”, … None/empty when unset.
oslist: Option<String>config/launch[i].config.oslist — comma list (“windows”, “linux”, “macos”).
osarch: Option<String>config/launch[i].config.osarch — “32” / “64”.
betakey: Option<String>config/launch[i].config.betakey — present only for beta-gated launch options.
Trait Implementations§
Source§impl Clone for LaunchEntry
impl Clone for LaunchEntry
Source§fn clone(&self) -> LaunchEntry
fn clone(&self) -> LaunchEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LaunchEntry
impl Debug for LaunchEntry
Source§impl Default for LaunchEntry
impl Default for LaunchEntry
Source§fn default() -> LaunchEntry
fn default() -> LaunchEntry
Returns the “default value” for a type. Read more
impl Eq for LaunchEntry
Source§impl PartialEq for LaunchEntry
impl PartialEq for LaunchEntry
Source§fn eq(&self, other: &LaunchEntry) -> bool
fn eq(&self, other: &LaunchEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaunchEntry
Auto Trait Implementations§
impl Freeze for LaunchEntry
impl RefUnwindSafe for LaunchEntry
impl Send for LaunchEntry
impl Sync for LaunchEntry
impl Unpin for LaunchEntry
impl UnsafeUnpin for LaunchEntry
impl UnwindSafe for LaunchEntry
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