pub trait CollidesWith<T> {
// Required method
fn collides_with(&self, other: &T) -> bool;
}Expand description
Trait for types that can detect collisions between self and other of type T.
pub trait CollidesWith<T> {
// Required method
fn collides_with(&self, other: &T) -> bool;
}Trait for types that can detect collisions between self and other of type T.