pub trait AssertClose: Sized + Copy {
type Tol;
// Required method
fn assert_close(self, truth: Self, rtol: Self::Tol);
}
Expand description
test two values are close in relative tolerance sense
Required Associated Types§
Required Methods§
fn assert_close(self, truth: Self, rtol: Self::Tol)
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.