pub struct CompoundCmd<'a> {
pub kind: CompoundKind<'a>,
pub redirects: Vec<Redir<'a>>,
}Expand description
A compound command with optional trailing redirections.
Fields§
§kind: CompoundKind<'a>The compound command body.
redirects: Vec<Redir<'a>>Redirections applied to the entire compound command.
Trait Implementations§
Source§impl<'a> Clone for CompoundCmd<'a>
impl<'a> Clone for CompoundCmd<'a>
Source§fn clone(&self) -> CompoundCmd<'a>
fn clone(&self) -> CompoundCmd<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CompoundCmd<'a>
impl<'a> Debug for CompoundCmd<'a>
Source§impl<'a> PartialEq for CompoundCmd<'a>
impl<'a> PartialEq for CompoundCmd<'a>
impl<'a> Eq for CompoundCmd<'a>
impl<'a> StructuralPartialEq for CompoundCmd<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompoundCmd<'a>
impl<'a> RefUnwindSafe for CompoundCmd<'a>
impl<'a> Send for CompoundCmd<'a>
impl<'a> Sync for CompoundCmd<'a>
impl<'a> Unpin for CompoundCmd<'a>
impl<'a> UnsafeUnpin for CompoundCmd<'a>
impl<'a> UnwindSafe for CompoundCmd<'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