pub trait Intersects<S> {
    type Result;

    fn intersects(&self, shape: S) -> Option<Self::Result>;
}
Expand description

Trait for shape intersection operations.

Required Associated Types§

The result of the intersection.

Required Methods§

Returns an intersection result based on the shape or None if there is no intersection.

Implementors§