Two API guidelines are in conflict for Key:
- Smart pointers do not add inherent methods (C-SMART-PTR)
- Only smart pointers implement Deref and DerefMut (C-DEREF)
Key implements Deref (but not DerefMut), and it adds inherent methods. Its deref impl is useful for sharing the "current state" with app logic as it is.
Two API guidelines are in conflict for
Key:Key implements Deref (but not DerefMut), and it adds inherent methods. Its deref impl is useful for sharing the "current state" with app logic as it is.