var-watcher 0.1.0

Watch for changes to a variable and initiate registered callbacks
Documentation

Variable Watcher

Variable Watcher is a Rust crate that provides a wrapper around a variable, and calls all registered callback functions when the variable is mutated.

Future improvements

  • Generalize all sorts of function pointers stored by using the std::ops::Fn trait
  • Use &-pointer instead of a *-pointer for callbacks