Struct conch_parser::ast::SimpleCommand [] [src]

pub struct SimpleCommand<V, W, R> {
    pub redirects_or_env_vars: Vec<RedirectOrEnvVar<R, V, W>>,
    pub redirects_or_cmd_words: Vec<RedirectOrCmdWord<R, W>>,
}

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

Generic over representations of variable names, shell words, and redirects.

Fields

Redirections or environment variables that occur before any command in the order they were parsed.

Redirections or command name/argumetns in the order they were parsed.

Trait Implementations

impl<V: Debug, W: Debug, R: Debug> Debug for SimpleCommand<V, W, R>
[src]

Formats the value using the given formatter.

impl<V: PartialEq, W: PartialEq, R: PartialEq> PartialEq for SimpleCommand<V, W, R>
[src]

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

This method tests for !=.

impl<V: Eq, W: Eq, R: Eq> Eq for SimpleCommand<V, W, R>
[src]

impl<V: Clone, W: Clone, R: Clone> Clone for SimpleCommand<V, W, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more