Currently, key lookups are restricted by the Borrow<Q> trait bound. This works for many cases but limits flexibility when dealing with custom key types.
The underlying IndexMap already uses the Equivalent trait to support lookups with alternative but equivalent key types. Our priority queues should align with this pattern to provide a more consistent and powerful API.