pub struct Debug {
pub sources: Vec<SymId>,
pub positions: Vec<Pos>,
pub ops: Vec<Vec<DebugId>>,
pub statements: Vec<Vec<(u32, DebugId)>>,
}Expand description
positions maps a DebugId to its position; ops holds, per block, one per op and one for the
terminator; statements holds, per block, each statement that starts there: the op it starts
before, the terminator’s index when it starts before that, and its position.
Fields§
§sources: Vec<SymId>§positions: Vec<Pos>§ops: Vec<Vec<DebugId>>§statements: Vec<Vec<(u32, DebugId)>>Trait Implementations§
impl Eq for Debug
impl StructuralPartialEq for Debug
Auto Trait Implementations§
impl Freeze for Debug
impl RefUnwindSafe for Debug
impl Send for Debug
impl Sync for Debug
impl Unpin for Debug
impl UnsafeUnpin for Debug
impl UnwindSafe for Debug
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