Struct dockerfile_parser::Label
source · [−]pub struct Label {
pub span: Span,
pub name: SpannedString,
pub value: SpannedString,
}Expand description
A single label key/value pair.
Fields
span: Spanname: SpannedStringvalue: SpannedStringImplementations
sourceimpl Label
impl Label
pub fn new(span: Span, name: SpannedString, value: SpannedString) -> Label
Trait Implementations
impl Eq for Label
impl StructuralEq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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