Trait Splat4thExt

Source
pub trait Splat4thExt<S> {
    // Required method
    fn splat_4th(self) -> Self;
}
Expand description

Splatting every 4th element in the vector, used for splatting the alpha value of a color to all lanes.

Required Methods§

Source

fn splat_4th(self) -> Self

Splat every 4th element of the vector.

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.

Implementations on Foreign Types§

Source§

impl<S: Simd> Splat4thExt<S> for f32x4<S>

Source§

fn splat_4th(self) -> Self

Source§

impl<S: Simd> Splat4thExt<S> for f32x8<S>

Source§

fn splat_4th(self) -> Self

Source§

impl<S: Simd> Splat4thExt<S> for f32x16<S>

Source§

fn splat_4th(self) -> Self

Source§

impl<S: Simd> Splat4thExt<S> for u8x16<S>

Source§

fn splat_4th(self) -> Self

Source§

impl<S: Simd> Splat4thExt<S> for u8x32<S>

Source§

fn splat_4th(self) -> Self

Implementors§