pub struct DebugLoc {
pub line: u32,
pub column: u32,
pub scope: Option<MetadataId>,
pub inlined_at: Option<MetadataId>,
}Expand description
An instruction’s source location (FUNC_CODE_DEBUG_LOC): the fields of the DILocation it is.
Fields§
§line: u32The line.
column: u32The column (0 where the record’s does not fit in 16 bits).
scope: Option<MetadataId>The scope.
inlined_at: Option<MetadataId>The location it was inlined at.
Trait Implementations§
impl Copy for DebugLoc
impl Eq for DebugLoc
impl StructuralPartialEq for DebugLoc
Auto Trait Implementations§
impl Forget for DebugLoc
impl Freeze for DebugLoc
impl RefUnwindSafe for DebugLoc
impl Send for DebugLoc
impl Sync for DebugLoc
impl Unpin for DebugLoc
impl UnsafeUnpin for DebugLoc
impl UnwindSafe for DebugLoc
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