RefCell
. We’ll use Units
as our inner contents.
distance
is of type Distance
, and when you get, or set it,
the behaviour is delegated to the millimeters RefCell.
RefCell is useful, but Cells can be extended to have a myriad of other
behaviours, we’ll go over some of the more common and useful