rcrefcell
Simple wrapper for Rc<RefCell<A>>
Example
let data: = new;
let counter: = new;
let counter_a: = counter.clone;
let counter_b: = counter.clone;
counter_a.update;
counter_b.borrow_mut.value *= 3;
assert_eq!;
assert_eq!;
Simple wrapper for Rc<RefCell<A>>
let data: = new;
let counter: = new;
let counter_a: = counter.clone;
let counter_b: = counter.clone;
counter_a.update;
counter_b.borrow_mut.value *= 3;
assert_eq!;
assert_eq!;