Enum elf64::SectionData[][src]

pub enum SectionData<'a> {
    Null,
    ProgramBits(&'a [u8]),
    SymbolTable {
        table: Table<'a, SymbolEntry>,
        number_of_locals: usize,
    },
    StringTable(StringTable<'a>),
    Rela {
        table: Table<'a, RelaEntry>,
        apply_to_section: Index,
    },
    Note(NoteTable<'a>),
    Rel {
        table: Table<'a, RelEntry>,
        apply_to_section: Index,
    },
    DynamicSymbolTable {
        table: Table<'a, SymbolEntry>,
        number_of_locals: usize,
    },
    OsSpecific {
        code: u32,
        slice: &'a [u8],
    },
    ProcessorSprcific {
        code: u32,
        slice: &'a [u8],
    },
    Unknown {
        code: u32,
        slice: &'a [u8],
    },
}

Variants

Null
ProgramBits(&'a [u8])
SymbolTable
Show fields

Fields of SymbolTable

table: Table<'a, SymbolEntry>number_of_locals: usize
StringTable(StringTable<'a>)
Rela
Show fields

Fields of Rela

table: Table<'a, RelaEntry>apply_to_section: Index
Note(NoteTable<'a>)
Rel
Show fields

Fields of Rel

table: Table<'a, RelEntry>apply_to_section: Index
DynamicSymbolTable
Show fields

Fields of DynamicSymbolTable

table: Table<'a, SymbolEntry>number_of_locals: usize
OsSpecific
Show fields

Fields of OsSpecific

code: u32slice: &'a [u8]
ProcessorSprcific
Show fields

Fields of ProcessorSprcific

code: u32slice: &'a [u8]
Unknown
Show fields

Fields of Unknown

code: u32slice: &'a [u8]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.