pub trait Massive: Bounded + Inertial {
// Required method
fn drag(&self) -> f64;
// Provided method
fn density(&self) -> Option<f64> { ... }
}Expand description
A bounded object with mass
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".