pub trait Nan: Encoding {
const NAN: Self;
// Required method
fn is_nan(self) -> bool;
}Expand description
Floating-point representations that expose NaNs.
Required Associated Constants§
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.