pub struct SourceMap {
pub files: Vec<FileInfo>,
pub variables: Vec<String>,
pub locations: Vec<Location>,
pub values: Vec<Option<usize>>,
pub generators: Vec<Option<usize>>,
pub obligations: Vec<(u32, String)>,
pub executable: Vec<Instruction>,
}Expand description
Optional instruction/source tables. Ordinary compilation allocates none.
Fields§
§files: Vec<FileInfo>Source files already loaded by the caller, never opened by inspection.
variables: Vec<String>State-variable names in actual machine order.
locations: Vec<Location>Source compilation contexts.
values: Vec<Option<usize>>Value instruction to source context; synthetic unmapped nodes are None.
generators: Vec<Option<usize>>Generator instruction to source context.
obligations: Vec<(u32, String)>Actual invariant/property root instructions and their configured names.
executable: Vec<Instruction>Instructions reachable from the actual compiled plan roots.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SourceMap
impl Freeze for SourceMap
impl Move for SourceMap
impl RefUnwindSafe for SourceMap
impl Send for SourceMap
impl Sync for SourceMap
impl Unpin for SourceMap
impl UnsafeUnpin for SourceMap
impl UnwindSafe for SourceMap
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