Trait ppv_lite86::Vec4

source ·
pub trait Vec4<W> {
    // Required methods
    fn extract(self, i: u32) -> W;
    fn insert(self, w: W, i: u32) -> Self;
}
Expand description

A vector composed of four elements, which may be words or themselves vectors.

Required Methods§

source

fn extract(self, i: u32) -> W

source

fn insert(self, w: W, i: u32) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<NI: Copy> Vec4<u32x4_sse2<YesS3, YesS4, NI>> for x2<u32x4x2_avx2<NI>, G0>

source§

impl<S3, NI> Vec4<u32> for u32x4_sse2<S3, NoS4, NI>
where Self: MultiLane<[u32; 4]>,

source§

impl<S3, NI> Vec4<u32> for u32x4_sse2<S3, YesS4, NI>
where Self: MultiLane<[u32; 4]>,

source§

impl<S3, S4, NI> Vec4<u64> for x2<u64x2_sse2<S3, S4, NI>, G1>
where u64x2_sse2<S3, S4, NI>: Copy + Vec2<u64>,

source§

impl<W: Copy> Vec4<W> for x4<W>