pub struct TrapSite {
pub offset: CodeOffset,
pub srcloc: SourceLoc,
pub code: TrapCode,
}
Expand description
Record of the arguments cranelift passes to TrapSink::trap
.
Fields§
§offset: CodeOffset
Offset into function.
srcloc: SourceLoc
Source location given to cranelift.
code: TrapCode
Trap code, as determined by cranelift.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrapSite
impl RefUnwindSafe for TrapSite
impl Send for TrapSite
impl Sync for TrapSite
impl Unpin for TrapSite
impl UnwindSafe for TrapSite
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