pub struct LaunchOptions {
pub target: Option<String>,
pub prefix: Option<PathBuf>,
pub allow_version_mismatch: bool,
pub in_place: bool,
pub workspace: Option<PathBuf>,
pub prompt: Option<String>,
}Fields§
§target: Option<String>Harness to launch (default: the lock’s).
prefix: Option<PathBuf>Where isolated config roots live (default ENV_DIR).
allow_version_mismatch: boolLaunch even if the installed version differs from the lock.
in_place: boolUse the user’s own config instead of an isolated root (same harness only).
workspace: Option<PathBuf>Where a code harness works (default: the project directory).
prompt: Option<String>Run this prompt non-interactively with the profile’s [launch] prompt arguments.
Trait Implementations§
Source§impl Clone for LaunchOptions
impl Clone for LaunchOptions
Source§fn clone(&self) -> LaunchOptions
fn clone(&self) -> LaunchOptions
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 LaunchOptions
impl Debug for LaunchOptions
Source§impl Default for LaunchOptions
impl Default for LaunchOptions
Source§fn default() -> LaunchOptions
fn default() -> LaunchOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LaunchOptions
impl RefUnwindSafe for LaunchOptions
impl Send for LaunchOptions
impl Sync for LaunchOptions
impl Unpin for LaunchOptions
impl UnsafeUnpin for LaunchOptions
impl UnwindSafe for LaunchOptions
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