Trait mgf::Overlaps[][src]

pub trait Overlaps<RHS> {
    fn overlaps(&self, rhs: &RHS) -> bool;
}

A type that can overlap another.

Overlaps is the most simple form of discrete collision detection and is supported by every Bound on itself and almost every Shape.

No Moving object satisfies Overlaps.

Required Methods

Returns true if the two objects overlap and false otherwise.

Implementors