var-watcher

Crates.iovar-watcher
lib.rsvar-watcher
version0.1.0
sourcesrc
created_at2016-05-23 15:51:57.686754
updated_at2016-05-23 15:51:57.686754
descriptionWatch for changes to a variable and initiate registered callbacks
homepage
repositoryhttps://github.com/KiChjang/var-watcher
max_upload_size
id5159
size2,708
Keith Yeung (KiChjang)

documentation

README

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
Commit count: 9

cargo fmt