pub trait Measure<T>:
Debug
+ Send
+ Sync {
type Error: Error + Send + Sync + 'static;
// Required method
fn measure(
&self,
value: &T,
tolerance: Tolerance,
) -> Result<MassProperties, Self::Error>;
}Expand description
Compute mass properties for one representation type.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".