pub trait IntFloatLimits<F>where
F: Float,{
// Required methods
fn min_float() -> F;
fn max_float() -> F;
}
Expand description
Helper trait for providing the min and max values exactly representable by
the integer type Self
and floating point type F
.
Required Methods§
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.