Struct ppv_lite86::soft::x4

source ·
#[repr(transparent)]
pub struct x4<W>(pub [W; 4]);

Tuple Fields§

§0: [W; 4]

Implementations§

source§

impl<W> x4<W>

source

pub fn new(xs: [W; 4]) -> Self

Trait Implementations§

source§

impl<W: Add + Copy> Add for x4<W>

§

type Output = x4<<W as Add>::Output>

The resulting type after applying the + operator.
source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
source§

impl<W: AddAssign + Copy> AddAssign for x4<W>

source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
source§

impl<W: AndNot + Copy> AndNot for x4<W>

§

type Output = x4<<W as AndNot>::Output>

source§

fn andnot(self, rhs: Self) -> Self::Output

source§

impl<W> AsBytes for x4<W>
where [W; 4]: AsBytes,

source§

fn as_bytes(&self) -> &[u8]

Gets the bytes of this value. Read more
source§

fn write_to(&self, bytes: &mut [u8]) -> Option<()>

Writes a copy of self to bytes. Read more
source§

fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>

Writes a copy of self to the prefix of bytes. Read more
source§

fn write_to_suffix(&self, bytes: &mut [u8]) -> Option<()>

Writes a copy of self to the suffix of bytes. Read more
source§

impl<W: BSwap + Copy> BSwap for x4<W>

source§

fn bswap(self) -> Self

source§

impl<W: BitAnd + Copy> BitAnd for x4<W>

§

type Output = x4<<W as BitAnd>::Output>

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl<W: BitAndAssign + Copy> BitAndAssign for x4<W>

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl<W: BitOr + Copy> BitOr for x4<W>

§

type Output = x4<<W as BitOr>::Output>

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
source§

impl<W: BitOrAssign + Copy> BitOrAssign for x4<W>

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl<W: BitXor + Copy> BitXor for x4<W>

§

type Output = x4<<W as BitXor>::Output>

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
source§

impl<W: BitXorAssign + Copy> BitXorAssign for x4<W>

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl<W: Clone> Clone for x4<W>

source§

fn clone(&self) -> x4<W>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<W: Default> Default for x4<W>

source§

fn default() -> x4<W>

Returns the “default value” for a type. Read more
source§

impl<W> From<x4<W>> for vec512_storage
where W: Copy, vec128_storage: From<W>,

source§

fn from(x: x4<W>) -> Self

Converts to this type from the input type.
source§

impl<S3: Copy, S4: Copy, NI: Copy> From<x4<u128x1_sse2<S3, S4, NI>>> for x4<u32x4_sse2<S3, S4, NI>>

source§

fn from(x: x4<u128x1_sse2<S3, S4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<S3: Copy, S4: Copy, NI: Copy> From<x4<u128x1_sse2<S3, S4, NI>>> for x4<u64x2_sse2<S3, S4, NI>>

source§

fn from(x: x4<u128x1_sse2<S3, S4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<NI: Copy> From<x4<u128x1_sse2<YesS3, YesS4, NI>>> for x2<u32x4x2_avx2<NI>, G0>

source§

fn from(x: x4<u128x1_sse2<YesS3, YesS4, NI>>) -> Self

Converts to this type from the input type.
source§

impl<W> FromBytes for x4<W>

source§

fn ref_from(bytes: &[u8]) -> Option<&Self>
where Self: Sized,

Interprets the given bytes as a &Self without copying. Read more
source§

fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>
where Self: Sized,

Interprets the prefix of the given bytes as a &Self without copying. Read more
source§

fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>
where Self: Sized,

Interprets the suffix of the given bytes as a &Self without copying. Read more
source§

fn slice_from(bytes: &[u8]) -> Option<&[Self]>
where Self: Sized,

Interprets the given bytes as a &[Self] without copying. Read more
source§

fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>
where Self: Sized,

Interprets the prefix of the given bytes as a &[Self] with length equal to count without copying. Read more
source§

fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>
where Self: Sized,

Interprets the suffix of the given bytes as a &[Self] with length equal to count without copying. Read more
source§

fn read_from(bytes: &[u8]) -> Option<Self>
where Self: Sized,

Reads a copy of Self from bytes. Read more
source§

fn read_from_prefix(bytes: &[u8]) -> Option<Self>
where Self: Sized,

Reads a copy of Self from the prefix of bytes. Read more
source§

fn read_from_suffix(bytes: &[u8]) -> Option<Self>
where Self: Sized,

Reads a copy of Self from the suffix of bytes. Read more
source§

impl<W> FromZeroes for x4<W>

source§

fn zero(&mut self)

Overwrites self with zeroes. Read more
source§

fn new_zeroed() -> Self
where Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
source§

impl<W: Copy + LaneWords4> LaneWords4 for x4<W>

source§

impl<W: Copy> MultiLane<[W; 4]> for x4<W>

source§

fn to_lanes(self) -> [W; 4]

Split a multi-lane vector into single-lane vectors.
source§

fn from_lanes(lanes: [W; 4]) -> Self

Build a multi-lane vector from individual lanes.
source§

impl<W: Not + Copy> Not for x4<W>

§

type Output = x4<<W as Not>::Output>

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl<W> RotateEachWord32 for x4<W>

source§

impl<W> RotateEachWord64 for x4<W>

source§

impl<W: Copy + Store<vec128_storage>> Store<vec512_storage> for x4<W>

source§

unsafe fn unpack(p: vec512_storage) -> Self

Safety Read more
source§

impl<W: StoreBytes + BSwap + Copy> StoreBytes for x4<W>

source§

unsafe fn unsafe_read_le(input: &[u8]) -> Self

Safety Read more
source§

unsafe fn unsafe_read_be(input: &[u8]) -> Self

Safety Read more
source§

fn write_le(self, out: &mut [u8])

source§

fn write_be(self, out: &mut [u8])

source§

impl<W> Swap64 for x4<W>
where W: Swap64 + Copy,

source§

fn swap1(self) -> Self

source§

fn swap2(self) -> Self

source§

fn swap4(self) -> Self

source§

fn swap8(self) -> Self

source§

fn swap16(self) -> Self

source§

fn swap32(self) -> Self

source§

fn swap64(self) -> Self

source§

impl<W> UnsafeFrom<[W; 4]> for x4<W>

source§

unsafe fn unsafe_from(xs: [W; 4]) -> Self

source§

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

source§

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

source§

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

source§

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

source§

fn transpose4(a: Self, b: Self, c: Self, d: Self) -> (Self, Self, Self, Self)
where Self: Sized,

source§

impl<S3, S4, NI> Vector<[u32; 16]> for x4<u32x4_sse2<S3, S4, NI>>

source§

fn to_scalars(self) -> [u32; 16]

source§

impl<W> ArithOps for x4<W>
where W: ArithOps,

source§

impl<W> BitOps0 for x4<W>
where W: BitOps0,

source§

impl<W> BitOps128 for x4<W>
where W: BitOps128 + BitOps0,

source§

impl<W> BitOps32 for x4<W>
where W: BitOps32 + BitOps0,

source§

impl<W> BitOps64 for x4<W>
where W: BitOps64 + BitOps0,

source§

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

source§

impl<W> RotateEachWord128 for x4<W>

source§

impl<NI: Copy> u128x4<Avx2Machine<NI>> for x4<u128x1_sse2<YesS3, YesS4, NI>>

source§

impl<S3: Copy, S4: Copy, NI: Copy> u128x4<SseMachine<S3, S4, NI>> for x4<u128x1_sse2<S3, S4, NI>>
where u128x1_sse2<S3, S4, NI>: Swap64 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u128x1_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u128x1; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u128x1> + Into<<SseMachine<S3, S4, NI> as Machine>::u32x4x4> + Into<<SseMachine<S3, S4, NI> as Machine>::u64x2x4>,

source§

impl<S3: Copy, S4: Copy, NI: Copy> u32x4x4<SseMachine<S3, S4, NI>> for x4<u32x4_sse2<S3, S4, NI>>
where u32x4_sse2<S3, S4, NI>: RotateEachWord32 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u32x4_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u32x4; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u32x4> + Vec4Ext<<SseMachine<S3, S4, NI> as Machine>::u32x4> + Vector<[u32; 16]>,

source§

impl<NI: Copy> u64x2x4<Avx2Machine<NI>> for x4<u64x2_sse2<YesS3, YesS4, NI>>

source§

impl<S3: Copy, S4: Copy, NI: Copy> u64x2x4<SseMachine<S3, S4, NI>> for x4<u64x2_sse2<S3, S4, NI>>
where u64x2_sse2<S3, S4, NI>: RotateEachWord64 + RotateEachWord32 + BSwap, SseMachine<S3, S4, NI>: Machine, x4<u64x2_sse2<S3, S4, NI>>: MultiLane<[<SseMachine<S3, S4, NI> as Machine>::u64x2; 4]> + Vec4<<SseMachine<S3, S4, NI> as Machine>::u64x2>,

Auto Trait Implementations§

§

impl<W> Freeze for x4<W>
where W: Freeze,

§

impl<W> RefUnwindSafe for x4<W>
where W: RefUnwindSafe,

§

impl<W> Send for x4<W>
where W: Send,

§

impl<W> Sync for x4<W>
where W: Sync,

§

impl<W> Unpin for x4<W>
where W: Unpin,

§

impl<W> UnwindSafe for x4<W>
where W: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V