IsInf

Trait IsInf 

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

Provided Methods§

Source

fn is_inf(x: Self) -> bool

Source

fn __expand_is_inf( 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 IsInf for f32

Source§

impl IsInf for f64

Source§

impl IsInf for bf16

Source§

impl IsInf for f16

Implementors§

Source§

impl IsInf for flex32

Source§

impl IsInf for tf32

Source§

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

Source§

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