pub struct RawSection<'a> {
pub id: SectionId,
pub offset: usize,
pub data: &'a [u8],
}Expand description
A parsed but not yet interpreted section — just the labeled byte span.
Fields§
§id: SectionIdThe section ID.
offset: usizeByte offset of the section contents within the original binary.
data: &'a [u8]The raw section contents (after the section header).
Trait Implementations§
Source§impl<'a> Clone for RawSection<'a>
impl<'a> Clone for RawSection<'a>
Source§fn clone(&self) -> RawSection<'a>
fn clone(&self) -> RawSection<'a>
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<'a> Freeze for RawSection<'a>
impl<'a> RefUnwindSafe for RawSection<'a>
impl<'a> Send for RawSection<'a>
impl<'a> Sync for RawSection<'a>
impl<'a> Unpin for RawSection<'a>
impl<'a> UnsafeUnpin for RawSection<'a>
impl<'a> UnwindSafe for RawSection<'a>
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