Skip to main content

Collider

Trait Collider 

Source
pub trait Collider {
    // Required method
    fn bbox(&self) -> BBox;
}
Expand description

Collider has bounding box and id.

Required Methods§

Source

fn bbox(&self) -> BBox

Get the BBox for this collider.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§