This allows a QCellOwnerID to be used as the key of a HashMap. There appears to be some demand for cell-owners-as-keys, e.g., in the guest_cell crate. This exposes the usize, but that shouldn't cause any soundness issue, since there's no sound way to convert it back to a QCellOwnerID.
This allows a
QCellOwnerID
to be used as the key of aHashMap
. There appears to be some demand for cell-owners-as-keys, e.g., in theguest_cell
crate. This exposes theusize
, but that shouldn't cause any soundness issue, since there's no sound way to convert it back to aQCellOwnerID
.