Enum conch_parser::ast::PipeableCommand [] [src]

pub enum PipeableCommand<N, S, C, F> {
    Simple(S),
    Compound(C),
    FunctionDef(N, F),
}

Commands that can be used within a pipeline.

Generic over the representations of function names, simple commands, compound commands, and function bodies.

Variants

The simplest possible command: an executable with arguments, environment variable assignments, and redirections.

A class of commands where redirection is applied to a command group.

A function definition, associating a name with a group of commands, e.g. function foo() { echo foo function; }.

Trait Implementations

impl<N: Debug, S: Debug, C: Debug, F: Debug> Debug for PipeableCommand<N, S, C, F>
[src]

Formats the value using the given formatter.

impl<N: PartialEq, S: PartialEq, C: PartialEq, F: PartialEq> PartialEq for PipeableCommand<N, S, C, F>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Eq, S: Eq, C: Eq, F: Eq> Eq for PipeableCommand<N, S, C, F>
[src]

impl<N: Clone, S: Clone, C: Clone, F: Clone> Clone for PipeableCommand<N, S, C, F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more