pub trait Ref: Clone {
// Required methods
fn is_same_ref(&self, other: &Self) -> bool;
fn hash_ref(&self, hasher: &mut impl Hasher);
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.