pub trait NotifyDeps:
Debug
+ Send
+ Sync {
// Required method
fn dependencies(&self, f: &mut dyn FnMut(&ImmutPath));
}
Expand description
A trait implementing dependency getter.
Required Methods§
Sourcefn dependencies(&self, f: &mut dyn FnMut(&ImmutPath))
fn dependencies(&self, f: &mut dyn FnMut(&ImmutPath))
Gets the dependencies recorded in the world. It is a list of accessed file recorded during this revision, e.g. a single compilation or other compiler tasks.