Trait depends::core::UpdateDependee
source · pub trait UpdateDependee: Depends {
// Required method
fn update_mut(&mut self, input: Self::Input<'_>);
}
Expand description
Describe how a Dependee
updates its internal state when its dependencies
change. As with UpdateLeaf, correct
implementation of this involves a contract with the Clean
trait.
Required Methods§
sourcefn update_mut(&mut self, input: Self::Input<'_>)
fn update_mut(&mut self, input: Self::Input<'_>)
Update the state of this node given the latest state of its dependencies.