Enum ldscript_parser::SectionCommand
source · pub enum SectionCommand {
Statement(Statement),
Command(Command),
OutputSection {
name: String,
vma_address: Option<Box<Expression>>,
s_type: Option<OutputSectionType>,
lma_address: Option<Box<Expression>>,
section_align: Option<Box<Expression>>,
align_with_input: bool,
subsection_align: Option<Box<Expression>>,
constraint: Option<OutputSectionConstraint>,
content: Vec<OutputSectionCommand>,
region: Option<String>,
lma_region: Option<String>,
fillexp: Option<Box<Expression>>,
},
}
Variants§
Statement(Statement)
Command(Command)
OutputSection
Fields
§
vma_address: Option<Box<Expression>>
§
s_type: Option<OutputSectionType>
§
lma_address: Option<Box<Expression>>
§
section_align: Option<Box<Expression>>
§
subsection_align: Option<Box<Expression>>
§
constraint: Option<OutputSectionConstraint>
§
content: Vec<OutputSectionCommand>
§
fillexp: Option<Box<Expression>>
Trait Implementations§
source§impl Debug for SectionCommand
impl Debug for SectionCommand
source§impl PartialEq for SectionCommand
impl PartialEq for SectionCommand
source§fn eq(&self, other: &SectionCommand) -> bool
fn eq(&self, other: &SectionCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SectionCommand
Auto Trait Implementations§
impl RefUnwindSafe for SectionCommand
impl Send for SectionCommand
impl Sync for SectionCommand
impl Unpin for SectionCommand
impl UnwindSafe for SectionCommand
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