pub trait ToOwnedEquivalent<K>: Equivalent<K> {
// Required method
fn to_owned_equivalent(&self) -> K;
}Expand description
Generalization of ToOwned that works with more types.
pub trait ToOwnedEquivalent<K>: Equivalent<K> {
// Required method
fn to_owned_equivalent(&self) -> K;
}Generalization of ToOwned that works with more types.