Enum yash_syntax::syntax::Command
source · [−]pub enum Command<H = HereDoc> {
Simple(SimpleCommand<H>),
Compound(FullCompoundCommand<H>),
Function(FunctionDefinition<H>),
}
Expand description
Element of a pipe sequence.
Variants
Simple(SimpleCommand<H>)
Simple command.
Compound(FullCompoundCommand<H>)
Compound command.
Function(FunctionDefinition<H>)
Function definition command.
Trait Implementations
Auto Trait Implementations
impl<H = HereDoc> !RefUnwindSafe for Command<H>
impl<H = HereDoc> !UnwindSafe for Command<H>
Blanket Implementations
Mutably borrows from an owned value. Read more