pub struct Section {
pub name: String,
pub data: Vec<u8>,
pub relocs: Vec<Reloc>,
pub debug_rows: Vec<DebugLineRow>,
}Expand description
A named output section (.text, __TEXT,__text, etc.).
Fields§
§name: StringPublic API for name.
data: Vec<u8>Public API for data.
relocs: Vec<Reloc>Public API for relocs.
debug_rows: Vec<DebugLineRow>Address->source rows collected while encoding this section.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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