pub trait MassPropertiesExt {
// Required method
fn to_bundle(&self) -> MassPropertiesBundle;
}Expand description
An extension trait for MassProperties.
Required Methods§
Sourcefn to_bundle(&self) -> MassPropertiesBundle
fn to_bundle(&self) -> MassPropertiesBundle
Converts the MassProperties to a MassPropertiesBundle
containing the Mass, AngularInertia, and CenterOfMass components.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".