pub trait Replace<T> { // Required method fn replace(&mut self, new: T); }
Helper Trait for replacing the content of a RCell with something new.
Replaces the contained value in self with T.