pub trait Intersect<T: ?Sized> {
type Output;
// Required method
fn intersect_with(&self, other: &T) -> Self::Output;
}Expand description
Trait for computing the intersection of two values.
Required Associated Types§
Required Methods§
fn intersect_with(&self, other: &T) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".