pub struct CommandGrant {
pub program: String,
pub args: Vec<String>,
pub cwd: PathBuf,
}Fields§
§program: String§args: Vec<String>§cwd: PathBufLexically normalized path relative to the workspace, or . for its root.
Implementations§
Source§impl CommandGrant
impl CommandGrant
pub fn from_spec(root: &Path, spec: &TerminalSpec) -> Option<Self>
Trait Implementations§
Source§impl Clone for CommandGrant
impl Clone for CommandGrant
Source§fn clone(&self) -> CommandGrant
fn clone(&self) -> CommandGrant
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 CommandGrant
impl Debug for CommandGrant
impl Eq for CommandGrant
Source§impl PartialEq for CommandGrant
impl PartialEq for CommandGrant
impl StructuralPartialEq for CommandGrant
Auto Trait Implementations§
impl Freeze for CommandGrant
impl RefUnwindSafe for CommandGrant
impl Send for CommandGrant
impl Sync for CommandGrant
impl Unpin for CommandGrant
impl UnsafeUnpin for CommandGrant
impl UnwindSafe for CommandGrant
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.