pub struct CompoundCommand<T, R> {
pub kind: T,
pub io: Vec<R>,
}
Expand description
A class of commands where redirection is applied to a command group.
Generic over the representation of a type of compound command, and the representation of a redirect.
Fields§
§kind: T
The specific kind of compound command.
io: Vec<R>
Any redirections to be applied to the entire compound command
Trait Implementations§
Source§impl<T: Clone, R: Clone> Clone for CompoundCommand<T, R>
impl<T: Clone, R: Clone> Clone for CompoundCommand<T, R>
Source§fn clone(&self) -> CompoundCommand<T, R>
fn clone(&self) -> CompoundCommand<T, R>
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 moreimpl<T: Eq, R: Eq> Eq for CompoundCommand<T, R>
impl<T, R> StructuralPartialEq for CompoundCommand<T, R>
Auto Trait Implementations§
impl<T, R> Freeze for CompoundCommand<T, R>where
T: Freeze,
impl<T, R> RefUnwindSafe for CompoundCommand<T, R>where
T: RefUnwindSafe,
R: RefUnwindSafe,
impl<T, R> Send for CompoundCommand<T, R>
impl<T, R> Sync for CompoundCommand<T, R>
impl<T, R> Unpin for CompoundCommand<T, R>
impl<T, R> UnwindSafe for CompoundCommand<T, R>where
T: UnwindSafe,
R: UnwindSafe,
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