Struct symbolic_debuginfo::DwarfSectionData [−][src]
pub struct DwarfSectionData<'data> { /* fields omitted */ }
Gives access to a section in a dwarf file.
Methods
impl<'data> DwarfSectionData<'data>
[src]
impl<'data> DwarfSectionData<'data>
pub fn new(section: DwarfSection, data: &[u8], offset: u64) -> DwarfSectionData
[src]
pub fn new(section: DwarfSection, data: &[u8], offset: u64) -> DwarfSectionData
Constructs a DwarfSectionData
object from raw data.
pub fn as_bytes(&self) -> &'data [u8]
[src]
pub fn as_bytes(&self) -> &'data [u8]
Return the section data as bytes.
pub fn offset(&self) -> u64
[src]
pub fn offset(&self) -> u64
Get the absolute file offset.
pub fn section(&self) -> DwarfSection
[src]
pub fn section(&self) -> DwarfSection
Get the section name.
Trait Implementations
impl<'data> Eq for DwarfSectionData<'data>
[src]
impl<'data> Eq for DwarfSectionData<'data>
impl<'data> PartialEq for DwarfSectionData<'data>
[src]
impl<'data> PartialEq for DwarfSectionData<'data>
fn eq(&self, other: &DwarfSectionData<'data>) -> bool
[src]
fn eq(&self, other: &DwarfSectionData<'data>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DwarfSectionData<'data>) -> bool
[src]
fn ne(&self, other: &DwarfSectionData<'data>) -> bool
This method tests for !=
.
impl<'data> Debug for DwarfSectionData<'data>
[src]
impl<'data> Debug for DwarfSectionData<'data>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'data> Clone for DwarfSectionData<'data>
[src]
impl<'data> Clone for DwarfSectionData<'data>
fn clone(&self) -> DwarfSectionData<'data>
[src]
fn clone(&self) -> DwarfSectionData<'data>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'data> Send for DwarfSectionData<'data>
impl<'data> Send for DwarfSectionData<'data>
impl<'data> Sync for DwarfSectionData<'data>
impl<'data> Sync for DwarfSectionData<'data>