Skip to main content

IsNaN

Trait IsNaN 

Source
pub trait IsNaN {
    // Required method
    fn is_nan_(&self) -> bool;
}
Expand description

This trait provides the interface for the function used to check if a value is NaN.

Required Methods§

Source

fn is_nan_(&self) -> bool

Returns true if self is NaN.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IsNaN for Complex<f64>

Source§

fn is_nan_(&self) -> bool

Returns true if self is NaN.

Source§

impl IsNaN for f64

Source§

fn is_nan_(&self) -> bool

Returns true if self is NaN.

Implementors§