#[repr(C)]pub struct PmpxCommand {
pub program: PmpxStr,
pub args: *const PmpxStr,
pub args_len: usize,
pub cwd: PmpxStr,
}Expand description
A command description that crosses the boundary. Filled in by the plugin and freed by the
plugin (free_command); the host only reads it.
Fields§
§program: PmpxStrExecutable.
args: *const PmpxStrArgument array, with args_len elements.
args_len: usizeNumber of elements in args.
cwd: PmpxStrWorking-directory override. len == 0 means use the project root given by the host.
Trait Implementations§
Source§impl Clone for PmpxCommand
impl Clone for PmpxCommand
impl Copy for PmpxCommand
Source§impl Debug for PmpxCommand
impl Debug for PmpxCommand
impl Sync for PmpxCommand
Auto Trait Implementations§
impl !Send for PmpxCommand
impl Freeze for PmpxCommand
impl RefUnwindSafe for PmpxCommand
impl Unpin for PmpxCommand
impl UnsafeUnpin for PmpxCommand
impl UnwindSafe for PmpxCommand
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