Struct dockerfile_parser::LabelInstruction
source · [−]Expand description
A Dockerfile LABEL instruction.
A single LABEL instruction may set many labels.
Fields
span: Spanlabels: Vec<Label>Trait Implementations
sourceimpl Clone for LabelInstruction
impl Clone for LabelInstruction
sourcefn clone(&self) -> LabelInstruction
fn clone(&self) -> LabelInstruction
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 LabelInstruction
impl Debug for LabelInstruction
sourceimpl From<LabelInstruction> for Instruction
impl From<LabelInstruction> for Instruction
sourcefn from(ins: LabelInstruction) -> Self
fn from(ins: LabelInstruction) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LabelInstruction> for LabelInstruction
impl PartialEq<LabelInstruction> for LabelInstruction
sourcefn eq(&self, other: &LabelInstruction) -> bool
fn eq(&self, other: &LabelInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LabelInstruction) -> bool
fn ne(&self, other: &LabelInstruction) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a Instruction> for &'a LabelInstruction
impl<'a> TryFrom<&'a Instruction> for &'a LabelInstruction
impl Eq for LabelInstruction
impl StructuralEq for LabelInstruction
impl StructuralPartialEq for LabelInstruction
Auto Trait Implementations
impl RefUnwindSafe for LabelInstruction
impl Send for LabelInstruction
impl Sync for LabelInstruction
impl Unpin for LabelInstruction
impl UnwindSafe for LabelInstruction
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