pub trait Intersection<T, Other> {
// Required method
fn intersection(&self, other: &Other) -> Option<T>;
}Expand description
Trait for producing intersection results.
Required Methods§
Sourcefn intersection(&self, other: &Other) -> Option<T>
fn intersection(&self, other: &Other) -> Option<T>
Returns the intersection result, or None if there is no intersection.