Enum yash_syntax::syntax::Command
source · [−]pub enum Command {
Simple(SimpleCommand),
Compound(FullCompoundCommand),
Function(FunctionDefinition),
}
Expand description
Element of a pipe sequence.
Variants
Simple(SimpleCommand)
Simple command.
Compound(FullCompoundCommand)
Compound command.
Function(FunctionDefinition)
Function definition command.
Trait Implementations
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !Send for Command
impl !Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more