Trait Intersection

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

Trait for implementing intersects method witch returns whether two geometric objects has at least one common point

Required Methods§

Source

fn intersects(&self, o: &T) -> bool

Implementors§