Skip to main content

Boundable

Trait Boundable 

Source
pub trait Boundable {
    // Required method
    fn aabb(&self) -> Aabb;
}
Expand description

A trait for types that can be bounded by an axis-aligned bounding box (AABB). Used in Bvh2/CwBvh validation.

Required Methods§

Source

fn aabb(&self) -> Aabb

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§