pub struct LabelInstruction {
pub span: Span,
pub labels: Vec<Label>,
}
Expand description
A Dockerfile LABEL
instruction.
A single LABEL
instruction may set many labels.
Fields§
§span: Span
§labels: Vec<Label>
Trait Implementations§
Source§impl Clone for LabelInstruction
impl Clone for LabelInstruction
Source§fn clone(&self) -> LabelInstruction
fn clone(&self) -> LabelInstruction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LabelInstruction
impl Debug for LabelInstruction
Source§impl From<LabelInstruction> for Instruction
impl From<LabelInstruction> for Instruction
Source§fn from(ins: LabelInstruction) -> Self
fn from(ins: LabelInstruction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LabelInstruction
impl PartialEq for LabelInstruction
Source§impl<'a> TryFrom<&'a Instruction> for &'a LabelInstruction
impl<'a> TryFrom<&'a Instruction> for &'a LabelInstruction
impl Eq for LabelInstruction
impl StructuralPartialEq for LabelInstruction
Auto Trait Implementations§
impl Freeze for LabelInstruction
impl RefUnwindSafe for LabelInstruction
impl Send for LabelInstruction
impl Sync for LabelInstruction
impl Unpin for LabelInstruction
impl UnwindSafe for LabelInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more