Enum elf64::SectionData
source · 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
StringTable(StringTable<'a>)
Rela
Note(NoteTable<'a>)
Rel
DynamicSymbolTable
OsSpecific
ProcessorSprcific
Unknown
Trait Implementations
sourceimpl<'a> Clone for SectionData<'a>
impl<'a> Clone for SectionData<'a>
sourcefn clone(&self) -> SectionData<'a>
fn clone(&self) -> SectionData<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a> RefUnwindSafe for SectionData<'a>
impl<'a> Send for SectionData<'a>
impl<'a> Sync for SectionData<'a>
impl<'a> Unpin for SectionData<'a>
impl<'a> UnwindSafe for SectionData<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more