Trait Force

Source
pub trait Force {
    // Required method
    fn impulse<O: Inertial>(
        &self,
        object: &O,
        step: u64,
        duration: f64,
    ) -> Vector3<f64>;
}
Expand description

Force interface trait

Required Methods§

Source

fn impulse<O: Inertial>( &self, object: &O, step: u64, duration: f64, ) -> Vector3<f64>

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§