pub struct SimpleCmd<'a> {
pub prefix: Vec<CmdPrefix<'a>>,
pub suffix: Vec<CmdSuffix<'a>>,
}Expand description
A simple command with optional prefix assignments and suffix words/redirects.
Fields§
§prefix: Vec<CmdPrefix<'a>>Assignments and redirections before the command name.
suffix: Vec<CmdSuffix<'a>>Arguments and redirections after the command name.
Trait Implementations§
impl<'a> Eq for SimpleCmd<'a>
impl<'a> StructuralPartialEq for SimpleCmd<'a>
Auto Trait Implementations§
impl<'a> Freeze for SimpleCmd<'a>
impl<'a> RefUnwindSafe for SimpleCmd<'a>
impl<'a> Send for SimpleCmd<'a>
impl<'a> Sync for SimpleCmd<'a>
impl<'a> Unpin for SimpleCmd<'a>
impl<'a> UnsafeUnpin for SimpleCmd<'a>
impl<'a> UnwindSafe for SimpleCmd<'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