pub trait IsNan: Sized + Copy {
// Required method
fn is_nan(self) -> bool;
}Expand description
Trait for a floating point number that can be checked for NaN (not-a-number).
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.