pub trait NegativeInfinity {
const NEGATIVE_INFINITY: Self;
}
Expand description
Provides the constant -Infinity.
Required Associated Constants§
const NEGATIVE_INFINITY: Self
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.
Implementations on Foreign Types§
Source§impl NegativeInfinity for f32
The constant -Infinity for primitive floating-point types.
impl NegativeInfinity for f32
The constant -Infinity for primitive floating-point types.
const NEGATIVE_INFINITY: f32 = -Inf_f32
Source§impl NegativeInfinity for f64
The constant -Infinity for primitive floating-point types.
impl NegativeInfinity for f64
The constant -Infinity for primitive floating-point types.