pub enum BuildArgs {
List {
span: SourceSpan,
values: Vec<Located<String>>,
},
Map {
span: SourceSpan,
entries: Vec<KeyValueEntry>,
},
}Expand description
Compose build arguments with mapping and list syntax retained.
Variants§
List
List syntax such as HTTP_PROXY=http://proxy or a bare HTTP_PROXY.
Fields
§
span: SourceSpanThe complete sequence span.
Map
Mapping syntax with scalar argument values.
Fields
§
span: SourceSpanThe complete mapping span.
§
entries: Vec<KeyValueEntry>Argument entries in authored order.
Implementations§
Trait Implementations§
impl Eq for BuildArgs
impl StructuralPartialEq for BuildArgs
Auto Trait Implementations§
impl Freeze for BuildArgs
impl RefUnwindSafe for BuildArgs
impl Send for BuildArgs
impl Sync for BuildArgs
impl Unpin for BuildArgs
impl UnsafeUnpin for BuildArgs
impl UnwindSafe for BuildArgs
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