Struct conch_parser::ast::CompoundCommand
[−]
[src]
pub struct CompoundCommand<T, R> {
pub kind: T,
pub io: Vec<R>,
}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
impl<T: Debug, R: Debug> Debug for CompoundCommand<T, R>[src]
impl<T: PartialEq, R: PartialEq> PartialEq for CompoundCommand<T, R>[src]
fn eq(&self, __arg_0: &CompoundCommand<T, R>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CompoundCommand<T, R>) -> bool
This method tests for !=.
impl<T: Eq, R: Eq> Eq for CompoundCommand<T, R>[src]
impl<T: Clone, R: Clone> Clone for CompoundCommand<T, R>[src]
fn clone(&self) -> CompoundCommand<T, R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more