Struct dockerfile_parser::MiscInstruction
source · [−]pub struct MiscInstruction {
pub span: Span,
pub instruction: SpannedString,
pub arguments: BreakableString,
}Expand description
A miscellaneous (unsupported) Dockerfile instruction.
These are instructions that aren’t explicitly parsed. They may be invalid, deprecated, or otherwise unsupported by this library.
Unsupported but valid commands include: MAINTAINER, EXPOSE, VOLUME,
USER, WORKDIR, ONBUILD, STOPSIGNAL, HEALTHCHECK, SHELL
Fields
span: Spaninstruction: SpannedStringarguments: BreakableStringTrait Implementations
sourceimpl Clone for MiscInstruction
impl Clone for MiscInstruction
sourcefn clone(&self) -> MiscInstruction
fn clone(&self) -> MiscInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MiscInstruction
impl Debug for MiscInstruction
sourceimpl From<MiscInstruction> for Instruction
impl From<MiscInstruction> for Instruction
sourcefn from(ins: MiscInstruction) -> Self
fn from(ins: MiscInstruction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<MiscInstruction> for MiscInstruction
impl PartialEq<MiscInstruction> for MiscInstruction
sourcefn eq(&self, other: &MiscInstruction) -> bool
fn eq(&self, other: &MiscInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MiscInstruction) -> bool
fn ne(&self, other: &MiscInstruction) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a Instruction> for &'a MiscInstruction
impl<'a> TryFrom<&'a Instruction> for &'a MiscInstruction
impl Eq for MiscInstruction
impl StructuralEq for MiscInstruction
impl StructuralPartialEq for MiscInstruction
Auto Trait Implementations
impl RefUnwindSafe for MiscInstruction
impl Send for MiscInstruction
impl Sync for MiscInstruction
impl Unpin for MiscInstruction
impl UnwindSafe for MiscInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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