Skip to main content

Module prelude

Module prelude 

Source
Expand description

This prelude module re-exports every SIMD trait defined in this library. It’s useful for accessing trait methods.

Only traits are exported through the prelude; types must be exported separately.

Traits§

Bytes
Conversion of SIMD types to and from raw bytes.
Select
Element-wise selection between two SIMD vectors using self.
Simd
The main SIMD trait, implemented by all SIMD token types.
SimdBase
Base functionality implemented by all SIMD vectors.
SimdCombine
Concatenation of two SIMD vectors.
SimdCvtFloat
Construction of floating point vectors from integers
SimdCvtTruncate
Construction of integer vectors from floats by truncation
SimdElement
Types that can be used as elements in SIMD vectors.
SimdFloat
Functionality implemented by floating-point SIMD vectors.
SimdFrom
Value conversion, adding a SIMD blessing.
SimdInt
Functionality implemented by (signed and unsigned) integer SIMD vectors.
SimdInto
Value conversion, adding a SIMD blessing.
SimdMask
Functionality implemented by SIMD masks.
SimdSplit
Splitting of one SIMD vector into two.
WithSimd