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".
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 = f32::NEG_INFINITY
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.