pub struct ChangeSet {
pub new_predicates: HashSet<String>,
pub changed_predicates: HashSet<String>,
pub removed_predicates: HashSet<String>,
pub new_domains: HashSet<String>,
pub changed_domains: HashSet<String>,
pub removed_domains: HashSet<String>,
pub config_changed: bool,
}Expand description
Describes what has changed in the compilation context.
Fields§
§new_predicates: HashSet<String>Predicates that were added
changed_predicates: HashSet<String>Predicates that were modified
removed_predicates: HashSet<String>Predicates that were removed
new_domains: HashSet<String>Domains that were added
changed_domains: HashSet<String>Domains that were modified
removed_domains: HashSet<String>Domains that were removed
config_changed: boolWhether the configuration changed
Implementations§
Source§impl ChangeSet
impl ChangeSet
Sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
Check if there are any changes.
Sourcepub fn affects(&self, deps: &ExpressionDependencies) -> bool
pub fn affects(&self, deps: &ExpressionDependencies) -> bool
Check if a dependency set is affected by these changes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangeSet
impl RefUnwindSafe for ChangeSet
impl Send for ChangeSet
impl Sync for ChangeSet
impl Unpin for ChangeSet
impl UnwindSafe for ChangeSet
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