var-watcher 0.1.0

Watch for changes to a variable and initiate registered callbacks
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 2.86 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • KiChjang/var-watcher
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • KiChjang

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