pub struct ChangeDetector { /* private fields */ }Expand description
Detects changes to the compilation context.
Implementations§
Source§impl ChangeDetector
impl ChangeDetector
Sourcepub fn update(&mut self, ctx: &CompilerContext)
pub fn update(&mut self, ctx: &CompilerContext)
Update the snapshot from the current context.
Sourcepub fn detect_changes(&self, ctx: &CompilerContext) -> ChangeSet
pub fn detect_changes(&self, ctx: &CompilerContext) -> ChangeSet
Detect changes and return affected predicates and domains.
Trait Implementations§
Source§impl Clone for ChangeDetector
impl Clone for ChangeDetector
Source§fn clone(&self) -> ChangeDetector
fn clone(&self) -> ChangeDetector
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 ChangeDetector
impl Debug for ChangeDetector
Auto Trait Implementations§
impl Freeze for ChangeDetector
impl RefUnwindSafe for ChangeDetector
impl Send for ChangeDetector
impl Sync for ChangeDetector
impl Unpin for ChangeDetector
impl UnwindSafe for ChangeDetector
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