Conversions
Type conversions between SIMD vector types
Convert between SIMD types, change widths, reinterpret bits, and safely cast slices.
- Float / Integer —
to_i32x8,to_i32x8_round,to_f32x8 - Width Conversions — Narrowing (pack), widening (extend), half-width (split, from_halves)
- Bitcast — Bit reinterpretation, signed/unsigned conversion
- Slice Casting — Token-gated
cast_slice,as_bytes,from_bytes(and why not bytemuck)