Expand description
This module contains the Rc smart point capable of shared ownership of memory in a IndexAllocator
Structs§
- Rc
- A smart pointer holding its value in an
IndexAllocatorand allowing shared ownership between multipleRc. - Weak
- A smart pointer to a value in an
Rcwhich doesn’t hold the inner data. As the inner data can be dropped when no moreRcare holding it, aWeakreference can’t directly access it’s inner data and must be upgraded to anRcwith theWeak::upgrademethod.