pub trait ToKey {
// Required method
fn to_key(&self) -> Key<'_>;
}Expand description
A type that can be converted into a Key.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".