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.