Trait for converting to a borrowed [`KeyRef`] for efficient lookups.
| 124 | |
| 125 | /// Trait for converting to a borrowed [`KeyRef`] for efficient lookups. |
| 126 | pub trait AsKeyRef { |
| 127 | fn as_keyref(&self) -> KeyRef<'_>; |
| 128 | } |
| 129 | |
| 130 | impl AsKeyRef for Key { |
| 131 | fn as_keyref(&self) -> KeyRef<'_> { |
nothing calls this directly
no outgoing calls
no test coverage detected