IsNan

Trait IsNan 

Source
pub trait IsNan: CubePrimitive + Sized {
    // Provided methods
    fn is_nan(x: Self) -> bool { ... }
    fn __expand_is_nan(
        scope: &mut Scope,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<bool> { ... }
}

Provided Methods§

Source

fn is_nan(x: Self) -> bool

Source

fn __expand_is_nan( scope: &mut Scope, x: Self::ExpandType, ) -> ExpandElementTyped<bool>

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.

Implementations on Foreign Types§

Source§

impl IsNan for f32

Source§

impl IsNan for f64

Source§

impl IsNan for bf16

Source§

impl IsNan for f16

Implementors§

Source§

impl IsNan for flex32

Source§

impl IsNan for tf32

Source§

impl<P: CubePrimitive + IsNan> IsNan for Line<P>

Source§

impl<const POS: u8> IsNan for ElemExpand<POS>