pub struct Argv {
pub raw: String,
pub program: String,
pub args: Vec<String>,
}Expand description
Parsed editor command with program and arguments.
Supports editors with arguments like code --wait or nvim -u NONE.
Fields§
§raw: StringThe original raw value (for error messages).
program: StringThe program/binary name.
args: Vec<String>Additional arguments to pass before the file path.
Trait Implementations§
impl Eq for Argv
impl StructuralPartialEq for Argv
Auto Trait Implementations§
impl Freeze for Argv
impl RefUnwindSafe for Argv
impl Send for Argv
impl Sync for Argv
impl Unpin for Argv
impl UnsafeUnpin for Argv
impl UnwindSafe for Argv
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