pub trait RawEq {
// Required method
unsafe fn raw_eq(a: *const c_void, b: *const c_void) -> bool;
// Provided method
fn raw_eq_cb( ) -> Unsafe<&'static (dyn Fn(*const c_void, *const c_void) -> bool + Send + Sync)> { ... }
}
Expand description
Trait implemented automatically for types that implement Eq
that can compare two values
through their pointers.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.