Skip to main content

SimdTropical

Trait SimdTropical 

Source
pub trait SimdTropical: TropicalSemiring {
    const SIMD_AVAILABLE: bool;
    const SIMD_WIDTH: usize;
}
Expand description

Marker trait for tropical types that support SIMD acceleration.

Required Associated Constants§

Source

const SIMD_AVAILABLE: bool

Whether SIMD operations are available for this type.

Source

const SIMD_WIDTH: usize

The SIMD width in elements.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§