pub struct EmittedDwarfSection {
pub name: &'static str,
pub bytes: Vec<u8>,
pub text_relocs: Vec<DwarfTextReloc>,
}Expand description
One emitted .debug_* section: its ELF name, bytes, and the .text-symbol
relocations it needs (empty for address-free sections like .debug_str).
Fields§
§name: &'static str'static ELF section name (e.g. .debug_line).
bytes: Vec<u8>Section payload bytes.
text_relocs: Vec<DwarfTextReloc>.text-symbol relocations within this section (REL, in-place addend 0).
Trait Implementations§
Source§impl Clone for EmittedDwarfSection
impl Clone for EmittedDwarfSection
Source§fn clone(&self) -> EmittedDwarfSection
fn clone(&self) -> EmittedDwarfSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmittedDwarfSection
impl RefUnwindSafe for EmittedDwarfSection
impl Send for EmittedDwarfSection
impl Sync for EmittedDwarfSection
impl Unpin for EmittedDwarfSection
impl UnsafeUnpin for EmittedDwarfSection
impl UnwindSafe for EmittedDwarfSection
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