Struct lief::debug_location::DebugLocation
pub struct DebugLocation {
pub line: u64,
pub file: String,
}
Expand description
This structure represents a location in the different debug formats (DWARF/PDB)
Fields§
§line: u64
Line number
file: String
Filename or filepath
Trait Implementations§
§impl Clone for DebugLocation
impl Clone for DebugLocation
§fn clone(&self) -> DebugLocation
fn clone(&self) -> DebugLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DebugLocation
impl Debug for DebugLocation
§impl Hash for DebugLocation
impl Hash for DebugLocation
§impl PartialEq<DebugLocation> for DebugLocation
impl PartialEq<DebugLocation> for DebugLocation
§fn eq(&self, other: &DebugLocation) -> bool
fn eq(&self, other: &DebugLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DebugLocation
impl StructuralEq for DebugLocation
impl StructuralPartialEq for DebugLocation
Auto Trait Implementations§
impl RefUnwindSafe for DebugLocation
impl Send for DebugLocation
impl Sync for DebugLocation
impl Unpin for DebugLocation
impl UnwindSafe for DebugLocation
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