jagua_rs::geometry::geo_traits

Trait CollidesWith

Source
pub trait CollidesWith<T> {
    // Required method
    fn collides_with(&self, other: &T) -> bool;
}
Expand description

Trait for types that can detect collisions between itself and an object from type T.

Required Methods§

Source

fn collides_with(&self, other: &T) -> bool

Implementors§