3 ms·
> Maybe rust needs an asBorrow or similar? FWIW, the `Borrow`, `AsRef`, and `Deref` traits all exist to support different variants of this.
by woodruffw 4y ago
> Maybe rust needs an asBorrow or similar?
FWIW, the `Borrow`, `AsRef`, and `Deref` traits all exist to support different variants of this.