pub trait FloatBounds {
const MIN: Option<f64>;
const MAX: Option<f64>;
const EXCLUSIVE_MIN: bool = false;
const EXCLUSIVE_MAX: bool = false;
}Expand description
Inclusive/exclusive bounds for BoundedFloat.
Required Associated Constants§
Provided Associated Constants§
Sourceconst EXCLUSIVE_MIN: bool = false
const EXCLUSIVE_MIN: bool = false
When true, values equal to MIN are rejected.
Sourceconst EXCLUSIVE_MAX: bool = false
const EXCLUSIVE_MAX: bool = false
When true, values equal to MAX are rejected.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".