pub struct ShellPlan {
pub program: String,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub shim: Option<PathBuf>,
}Expand description
How one shell is started, and the shim directory it needs.
Fields§
§program: String§args: Vec<String>§env: HashMap<String, String>§shim: Option<PathBuf>The shim directory, removed when the terminal drops.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShellPlan
impl RefUnwindSafe for ShellPlan
impl Send for ShellPlan
impl Sync for ShellPlan
impl Unpin for ShellPlan
impl UnsafeUnpin for ShellPlan
impl UnwindSafe for ShellPlan
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