Struct Watcher
var_watcher
pub struct Watcher<T> { /* fields omitted */ }
impl<T> Watcher<T>
fn new(value: T) -> Watcher<T>
fn register_callback(&mut self, f: fn(_: *const T)) -> bool
fn get(&self) -> &T
fn set(&mut self, value: T)