Skip to main content

SimdCombine

Trait SimdCombine 

Source
pub trait SimdCombine<S: Simd>: SimdBase<S> + Seal {
    type Combined: SimdBase<S, Element = Self::Element, Block = Self::Block>;

    // Required method
    fn combine(self, rhs: impl SimdInto<Self, S>) -> Self::Combined;
}
Expand description

Concatenation of two SIMD vectors.

This is implemented on all vectors 256 bits and lower, producing vectors of up to 512 bits.

Required Associated Types§

Source

type Combined: SimdBase<S, Element = Self::Element, Block = Self::Block>

Required Methods§

Source

fn combine(self, rhs: impl SimdInto<Self, S>) -> Self::Combined

Concatenate two vectors into a new one that’s twice as long.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§