pub unsafe trait AReffic: StableDeref { }
Expand description
An unsafe trait that makes sure the type can be used as owner for ARef.
If you implement this for your own types, make sure that
- it has a Stable address, i e, the reference stays the same even if the object moves and
- it is no bigger than 3 usizes.