pub struct LaunchPlan {
pub executable: PathBuf,
pub args: Vec<OsString>,
pub env: Vec<(OsString, OsString)>,
pub cwd: Option<PathBuf>,
}Expand description
What an adapter asks the launcher to run (spec §4). env is an override set, not a full environment.
Fields§
§executable: PathBuf§args: Vec<OsString>§env: Vec<(OsString, OsString)>§cwd: Option<PathBuf>Implementations§
Trait Implementations§
Source§impl Clone for LaunchPlan
impl Clone for LaunchPlan
Source§fn clone(&self) -> LaunchPlan
fn clone(&self) -> LaunchPlan
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 LaunchPlan
impl Debug for LaunchPlan
impl Eq for LaunchPlan
Source§impl PartialEq for LaunchPlan
impl PartialEq for LaunchPlan
impl StructuralPartialEq for LaunchPlan
Auto Trait Implementations§
impl Freeze for LaunchPlan
impl RefUnwindSafe for LaunchPlan
impl Send for LaunchPlan
impl Sync for LaunchPlan
impl Unpin for LaunchPlan
impl UnsafeUnpin for LaunchPlan
impl UnwindSafe for LaunchPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.