Struct cranelift_module::TrapSite [−][src]
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 UnwindSafe for TrapSite
Blanket Implementations
Mutably borrows from an owned value. Read more