Skip to main content

ToFloat

Trait ToFloat 

Source
pub trait ToFloat<T: Elem>: NumOps<T> {
    type Output;

    // Required method
    fn to_float(self, x: Self::Simd) -> Self::Output;
}
Expand description

Convert each lane to a float with the same bit width.

Required Associated Types§

Required Methods§

Source

fn to_float(self, x: Self::Simd) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§