Skip to main content

NaNAware

Trait NaNAware 

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

Trait to handle NaN check for dtypes that don’t have it.

Required Methods§

Source

fn is_nan(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl NaNAware for f32

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for f64

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for i8

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for i16

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for i32

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for i64

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for u8

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for u16

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for u32

Source§

fn is_nan(&self) -> bool

Source§

impl NaNAware for u64

Source§

fn is_nan(&self) -> bool

Implementors§