SimdBase4x64

Trait SimdBase4x64 

Source
pub trait SimdBase4x64: SimdBase64 + SimdBase4x
where Self::Scalar: Scalar<Unsigned = u64, Signed = i64>,
{ // Required method fn shuffle<const I3: usize, const I2: usize, const I1: usize, const I0: usize>( &self, ) -> Self; }
Expand description

A vector containing 4 64-bit values.

Required Methods§

Source

fn shuffle<const I3: usize, const I2: usize, const I1: usize, const I0: usize>( &self, ) -> Self

Shuffle the 64-bit values.

§Example
assert_eq!(
    U64x4::from([0, 1, 2, 3]).shuffle::<0, 1, 1, 3>(),
    U64x4::from([3, 1, 1, 0]),
);

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§