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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputSectionCommand
Auto Trait Implementations§
impl Freeze for OutputSectionCommand
impl RefUnwindSafe for OutputSectionCommand
impl Send for OutputSectionCommand
impl Sync for OutputSectionCommand
impl Unpin for OutputSectionCommand
impl UnsafeUnpin 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