ppv_lite86

Trait Vec2

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

A vector composed of two 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

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§

Source§

impl<NI> Vec2<u32x4_sse2<YesS3, YesS4, NI>> for u32x4x2_avx2<NI>

Source§

impl<S3, NI> Vec2<u64> for u64x2_sse2<S3, NoS4, NI>

Source§

impl<S3, NI> Vec2<u64> for u64x2_sse2<S3, YesS4, NI>

Source§

impl<W: Copy, G> Vec2<W> for x2<W, G>