pub struct ObjSection {
pub name: String,
pub kind: ObjSectionKind,
pub address: u64,
pub size: u64,
pub data: Vec<u8>,
pub orig_index: usize,
pub symbols: Vec<ObjSymbol>,
pub relocations: Vec<ObjReloc>,
pub virtual_address: Option<u64>,
pub line_info: BTreeMap<u64, u32>,
}
Fields§
§name: String
§kind: ObjSectionKind
§address: u64
§size: u64
§data: Vec<u8>
§orig_index: usize
§symbols: Vec<ObjSymbol>
§relocations: Vec<ObjReloc>
§virtual_address: Option<u64>
§line_info: BTreeMap<u64, u32>
Line number info (.line or .debug_line section)
Trait Implementations§
source§impl Clone for ObjSection
impl Clone for ObjSection
source§fn clone(&self) -> ObjSection
fn clone(&self) -> ObjSection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ObjSection
impl RefUnwindSafe for ObjSection
impl Send for ObjSection
impl Sync for ObjSection
impl Unpin for ObjSection
impl UnwindSafe for ObjSection
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)