Skip to main content

HasBoundingBox3D

Trait HasBoundingBox3D 

Source
pub trait HasBoundingBox3D: HasBoundingBox3DMaybe {
    // Required method
    fn bounding_box(&self) -> BoundingBox3D;
}
Expand description

HasBoundingBox3D is a trait for types which have a bounding box

Required Methods§

Source

fn bounding_box(&self) -> BoundingBox3D

Should return the bounding box

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§