pub unsafe trait TrustedCollisionPairs {
type T;
// Required method
fn for_every_pair(&mut self, func: impl FnMut(&mut Self::T, &mut Self::T));
}Expand description
Used by CacheSession::cache_colliding_pairs()
§Safety
Multiple calls must return the same results while contained in CacheSession
Required Associated Types§
Required Methods§
fn for_every_pair(&mut self, func: impl FnMut(&mut Self::T, &mut Self::T))
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.