Struct 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 duplicate 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 for DebugLocation
impl PartialEq for DebugLocation
impl Eq for DebugLocation
impl StructuralPartialEq for DebugLocation
Auto Trait Implementations§
impl Freeze for DebugLocation
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