depends 0.11.0

Ergonomic, performant, incremental computation between arbitrary types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// For the majority of cases, this trait can be ignored, and a default
/// implementation (no-op) can be used.
///
/// # When to use Clean
///
/// Nodes which provide dependees the ability to see _recently changed_ values
/// (since the last call to [Resolve](super::Resolve)), such as which keys have
/// been recently mutated in an internal hashmap, must reset the state used to
/// track this using this trait.
///
/// ## Example
///
/// An example is given [here](super::UpdateInput).
pub trait Clean {
    fn clean(&mut self);
}