pub trait FloatChecker<T: Float> { type Error; fn check(value: T) -> Result<(), Self::Error>; }
A property checker for a float type.
A custom error resulting from a violated property check.
Checks if a value satisfies a property.