[−][src]Function mogwai::txrx::new_shared
pub fn new_shared<A: 'static, X: Into<A>>(init: X) -> Rc<RefCell<A>>
Helper for making thread-safe shared mutable variables.
Use this as a short hand for creating variables to pass to
the many *_shared
flavored fold functions in the txrx
module.