Skip to main content

Bounded

Trait Bounded 

Source
pub trait Bounded: Sized + Clone {
    // Required methods
    fn broadphase(&self) -> Sphere;
    fn obb(&self) -> Cuboid;
    fn aabb(&self) -> Cuboid;
}

Required Methods§

Source

fn broadphase(&self) -> Sphere

Source

fn obb(&self) -> Cuboid

Source

fn aabb(&self) -> Cuboid

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§