pub struct ProgramDiff {
pub added_modules: Vec<ModuleId>,
pub removed_modules: Vec<ModuleId>,
pub changed_modules: Vec<ModuleId>,
pub unchanged_modules: Vec<ModuleId>,
pub added_functions: BTreeSet<FunctionId>,
pub removed_functions: BTreeSet<FunctionId>,
}Expand description
Tracks what changed between two analysis runs of the same program.
Fields§
§added_modules: Vec<ModuleId>Modules present in the new run but not the previous.
removed_modules: Vec<ModuleId>Modules present in the previous run but not the new.
changed_modules: Vec<ModuleId>Modules whose fingerprint changed between runs.
unchanged_modules: Vec<ModuleId>Modules whose fingerprint is identical to the previous run.
added_functions: BTreeSet<FunctionId>Functions that appear in added or changed modules but not in previous.
removed_functions: BTreeSet<FunctionId>Functions that were in removed or changed modules but not in new.
Trait Implementations§
Source§impl Clone for ProgramDiff
impl Clone for ProgramDiff
Source§fn clone(&self) -> ProgramDiff
fn clone(&self) -> ProgramDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramDiff
impl Debug for ProgramDiff
Source§impl Default for ProgramDiff
impl Default for ProgramDiff
Source§fn default() -> ProgramDiff
fn default() -> ProgramDiff
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgramDiff
impl PartialEq for ProgramDiff
impl StructuralPartialEq for ProgramDiff
Auto Trait Implementations§
impl Freeze for ProgramDiff
impl RefUnwindSafe for ProgramDiff
impl Send for ProgramDiff
impl Sync for ProgramDiff
impl Unpin for ProgramDiff
impl UnsafeUnpin for ProgramDiff
impl UnwindSafe for ProgramDiff
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