Struct cranelift_codegen::machinst::UnwindInfoContext
source · [−]pub struct UnwindInfoContext<'a, Inst: MachInstEmit> {
pub insts: &'a [Inst],
pub insts_layout: &'a [CodeOffset],
pub len: CodeOffset,
pub prologue: Range<u32>,
pub epilogues: &'a [Range<u32>],
}
Expand description
Input data for UnwindInfoGenerator.
Fields
insts: &'a [Inst]
Function instructions.
insts_layout: &'a [CodeOffset]
Instruction layout: end offsets
len: CodeOffset
Length of the function.
prologue: Range<u32>
Prologue range.
epilogues: &'a [Range<u32>]
Epilogue ranges.
Auto Trait Implementations
impl<'a, Inst> RefUnwindSafe for UnwindInfoContext<'a, Inst> where
Inst: RefUnwindSafe,
impl<'a, Inst> Send for UnwindInfoContext<'a, Inst> where
Inst: Sync,
impl<'a, Inst> Sync for UnwindInfoContext<'a, Inst> where
Inst: Sync,
impl<'a, Inst> Unpin for UnwindInfoContext<'a, Inst>
impl<'a, Inst> UnwindSafe for UnwindInfoContext<'a, Inst> where
Inst: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more