pub struct MachSrcLoc {
pub start: CodeOffset,
pub end: CodeOffset,
pub loc: MaybeRelSourceLoc,
}Expand description
A source-location mapping resulting from a compilation.
Fields§
§start: CodeOffsetThe start of the region of code corresponding to a source location. This is relative to the start of the function, not to the start of the section.
end: CodeOffsetThe end of the region of code corresponding to a source location. This is relative to the start of the function, not to the start of the section.
loc: MaybeRelSourceLocThe source location.
Trait Implementations§
Source§impl Clone for MachSrcLoc
impl Clone for MachSrcLoc
Source§impl Debug for MachSrcLoc
impl Debug for MachSrcLoc
Source§impl PartialEq for MachSrcLoc
impl PartialEq for MachSrcLoc
impl StructuralPartialEq for MachSrcLoc
Auto Trait Implementations§
impl Freeze for MachSrcLoc
impl RefUnwindSafe for MachSrcLoc
impl Send for MachSrcLoc
impl Sync for MachSrcLoc
impl Unpin for MachSrcLoc
impl UnsafeUnpin for MachSrcLoc
impl UnwindSafe for MachSrcLoc
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