Struct symbolic_debuginfo::DwarfSectionData
source · pub struct DwarfSectionData<'data> { /* private fields */ }
Expand description
Gives access to a section in a dwarf file.
Implementations
sourceimpl<'data> DwarfSectionData<'data>
impl<'data> DwarfSectionData<'data>
sourcepub fn new(
section: DwarfSection,
data: &[u8],
offset: u64
) -> DwarfSectionData<'_>
pub fn new(
section: DwarfSection,
data: &[u8],
offset: u64
) -> DwarfSectionData<'_>
Constructs a DwarfSectionData
object from raw data.
sourcepub fn section(&self) -> DwarfSection
pub fn section(&self) -> DwarfSection
Get the section name.
Trait Implementations
sourceimpl<'data> Clone for DwarfSectionData<'data>
impl<'data> Clone for DwarfSectionData<'data>
sourcefn clone(&self) -> DwarfSectionData<'data>
fn clone(&self) -> DwarfSectionData<'data>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'data> Debug for DwarfSectionData<'data>
impl<'data> Debug for DwarfSectionData<'data>
sourceimpl<'data> PartialEq<DwarfSectionData<'data>> for DwarfSectionData<'data>
impl<'data> PartialEq<DwarfSectionData<'data>> for DwarfSectionData<'data>
sourcefn eq(&self, other: &DwarfSectionData<'data>) -> bool
fn eq(&self, other: &DwarfSectionData<'data>) -> bool
impl<'data> Eq for DwarfSectionData<'data>
impl<'data> StructuralEq for DwarfSectionData<'data>
impl<'data> StructuralPartialEq for DwarfSectionData<'data>
Auto Trait Implementations
impl<'data> RefUnwindSafe for DwarfSectionData<'data>
impl<'data> Send for DwarfSectionData<'data>
impl<'data> Sync for DwarfSectionData<'data>
impl<'data> Unpin for DwarfSectionData<'data>
impl<'data> UnwindSafe for DwarfSectionData<'data>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more