Skip to main content

SimdLength

Trait SimdLength 

Source
pub trait SimdLength: DotProduct<Self> {
    // Provided method
    fn simd_length(&self) -> Self::Result { ... }
}
Expand description

Trait for computing generalized lengths.

Provided Methods§

Source

fn simd_length(&self) -> Self::Result

Computes the SIMD length of this value.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: DotProduct<T>> SimdLength for T