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<SectionCommand> for SectionCommand
impl PartialEq<SectionCommand> 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 ==
.