Struct cranelift_module::TrapSite
source · [−]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 RefUnwindSafe for TrapSite
impl Send for TrapSite
impl Sync for TrapSite
impl Unpin for TrapSite
impl UnwindSafe for TrapSite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more