Trait IsSATObject

Source
pub trait IsSATObject {
    // Required methods
    fn for_each_point<F>(&self, f: &mut F)
       where F: FnMut(&Point3D);
    fn for_each_axis<F>(&self, f: &mut F)
       where F: FnMut(&Norm3D);
}
Expand description

IsSATObject is a trait used for objects that can be used for SAT collision checks

Required Methods§

Source

fn for_each_point<F>(&self, f: &mut F)
where F: FnMut(&Point3D),

Source

fn for_each_axis<F>(&self, f: &mut F)
where F: FnMut(&Norm3D),

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§