Trait identity_core::common::KeyComparable
source · pub trait KeyComparable {
type Key: PartialEq + ?Sized;
// Required method
fn key(&self) -> &Self::Key;
}Expand description
A trait for comparing types only by a certain key.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.