[][src]Enum dockerfile_parser::Instruction

pub enum Instruction {
    From(FromInstruction),
    Arg(ArgInstruction),
    Label(LabelInstruction),
    Run(RunInstruction),
    Entrypoint(EntrypointInstruction),
    Cmd(CmdInstruction),
    Copy(CopyInstruction),
    Env(EnvInstruction),
    Misc(MiscInstruction),
}

Variants

Trait Implementations

impl Clone for Instruction[src]

impl Debug for Instruction[src]

impl Eq for Instruction[src]

impl From<ArgInstruction> for Instruction[src]

impl From<CmdInstruction> for Instruction[src]

impl From<CopyInstruction> for Instruction[src]

impl From<EntrypointInstruction> for Instruction[src]

impl From<EnvInstruction> for Instruction[src]

impl From<FromInstruction> for Instruction[src]

impl From<LabelInstruction> for Instruction[src]

impl From<MiscInstruction> for Instruction[src]

impl From<RunInstruction> for Instruction[src]

impl PartialEq<Instruction> for Instruction[src]

impl StructuralEq for Instruction[src]

impl StructuralPartialEq for Instruction[src]

impl<'_> TryFrom<Pair<'_, Rule>> for Instruction[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.