pub struct DiffInputs<'a> {
pub old_head: &'a BTreeMap<SigId, StageId>,
pub old_name_to_sig: &'a BTreeMap<String, SigId>,
pub old_effects: &'a BTreeMap<SigId, EffectSet>,
pub old_imports: &'a ImportMap,
pub new_stages: &'a [Stage],
pub new_imports: &'a ImportMap,
pub diff: &'a DiffReport,
}Fields§
§old_head: &'a BTreeMap<SigId, StageId>Current head SigId → StageId map.
old_name_to_sig: &'a BTreeMap<String, SigId>Map of fn/type name → its SigId at the current head. The caller assembles this by walking the old stages or the metadata.
old_effects: &'a BTreeMap<SigId, EffectSet>Effect set per sig at the current head.
old_imports: &'a ImportMapPer-file imports at the current head.
new_stages: &'a [Stage]Stages of the new program (post-canonicalize).
new_imports: &'a ImportMapPer-file imports of the new program.
diff: &'a DiffReportAST-diff between old and new sources, by name.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DiffInputs<'a>
impl<'a> RefUnwindSafe for DiffInputs<'a>
impl<'a> Send for DiffInputs<'a>
impl<'a> Sync for DiffInputs<'a>
impl<'a> Unpin for DiffInputs<'a>
impl<'a> UnsafeUnpin for DiffInputs<'a>
impl<'a> UnwindSafe for DiffInputs<'a>
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