Intersection

Trait Intersection 

Source
pub trait Intersection<Rhs> {
    // Required method
    fn intersects(&self, rhs: &Rhs) -> bool;
}
Expand description

Trait for determining whether two shapes intersect with one another

Required Methods§

Source

fn intersects(&self, rhs: &Rhs) -> bool

Whether this shape intersect with the other

Implementors§