pub struct Launch<'a> { /* private fields */ }
Expand description
Builder that can be used to customize the launch of an application.
Implementations§
Source§impl<'a> Launch<'a>
impl<'a> Launch<'a>
Sourcepub fn wait_for_debugger(&mut self, wait: bool) -> &mut Launch<'a>
pub fn wait_for_debugger(&mut self, wait: bool) -> &mut Launch<'a>
Indicates whether the application should wait for a debugger to attach.
Sourcepub fn use_pty(&mut self, use_pty: bool) -> &mut Launch<'a>
pub fn use_pty(&mut self, use_pty: bool) -> &mut Launch<'a>
Indicates whether the output should be written to a console with PTY.
Sourcepub fn arg<S>(&mut self, arg: &'a S) -> &mut Launch<'a>
pub fn arg<S>(&mut self, arg: &'a S) -> &mut Launch<'a>
Adds an argument that will be passed to the program.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Launch<'a>
impl<'a> RefUnwindSafe for Launch<'a>
impl<'a> Send for Launch<'a>
impl<'a> Sync for Launch<'a>
impl<'a> Unpin for Launch<'a>
impl<'a> UnwindSafe for Launch<'a>
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