Enum dockerfile_parser::ShellOrExecExpr [−][src]
pub enum ShellOrExecExpr {
Shell(BreakableString),
Exec(StringArray),
}
Expand description
A string that may be broken across many lines or an array of strings.
Variants
Shell(BreakableString)
Tuple Fields
Exec(StringArray)
Tuple Fields
0: StringArray
Implementations
Unpacks this expression into its inner value if it is a Shell-form instruction, otherwise returns None.
Unpacks this expression into its inner value if it is a Shell-form instruction, otherwise returns None.
Unpacks this expression into its inner value if it is an Exec-form instruction, otherwise returns None.
Unpacks this expression into its inner value if it is an Exec-form instruction, otherwise returns None.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ShellOrExecExpr
impl Send for ShellOrExecExpr
impl Sync for ShellOrExecExpr
impl Unpin for ShellOrExecExpr
impl UnwindSafe for ShellOrExecExpr
Blanket Implementations
Mutably borrows from an owned value. Read more