pub enum OutputSectionCommand {
Statement(Statement),
Fill {
expr: Box<Expression>,
},
Data {
d_type: DataType,
value: Box<Expression>,
},
InputSection {
file: SectionPattern,
sections: Vec<SectionPattern>,
},
KeepInputSection {
file: SectionPattern,
sections: Vec<SectionPattern>,
},
}
Variants§
Trait Implementations§
source§impl Debug for OutputSectionCommand
impl Debug for OutputSectionCommand
source§impl PartialEq for OutputSectionCommand
impl PartialEq for OutputSectionCommand
source§fn eq(&self, other: &OutputSectionCommand) -> bool
fn eq(&self, other: &OutputSectionCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputSectionCommand
Auto Trait Implementations§
impl RefUnwindSafe for OutputSectionCommand
impl Send for OutputSectionCommand
impl Sync for OutputSectionCommand
impl Unpin for OutputSectionCommand
impl UnwindSafe for OutputSectionCommand
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