pub trait Intersect {
type Intersection;
// Required method
fn intersect(self) -> Option<Self::Intersection>;
}
Expand description
Compute the intersection between a tuple of objects
§Implementation Note
This trait is newer than most of the intersection algorithms in this module. Most of them don’t support it yet.
Required Associated Types§
Sourcetype Intersection
type Intersection
The type that describes the intersection between the objects in Self
Required Methods§
Sourcefn intersect(self) -> Option<Self::Intersection>
fn intersect(self) -> Option<Self::Intersection>
Compute the intersection between a tuple of objects