Struct std::simd::u8x4[][src]

#[repr(simd)]
pub struct u8x4(_, _, _, _);
🔬 This is a nightly-only experimental API. (stdsimd #48556)

A 32-bit wide vector with 4 u8 lanes.

Methods

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Creates a new instance with each vector elements initialized with the provided values.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns the number of vector lanes.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Constructs a new instance with each element initialized to value.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Extracts the value at index.

Panics

If index >= Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Extracts the value at index.

If index >= Self::lanes() the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns a new vector where the value at index is replaced by new_value.

Panics

If index >= Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Returns a new vector where the value at index is replaced by new_value.

Panics

If index >= Self::lanes().

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Panics

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Panics

If slice.len() < Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Precondition

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary, the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Writes the values of the vector to the slice.

Precondition

If slice.len() < Self::lanes() the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Panics

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Panics

If slice.len() < Self::lanes().

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Precondition

If slice.len() < Self::lanes() or &slice[0] is not aligned to an align_of::<Self>() boundary, the behavior is undefined.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Instantiates a new vector with the values of the slice.

Precondition

If slice.len() < Self::lanes() the behavior is undefined.

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise equality comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise inequality comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise less-than comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise less-than-or-equals comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise greater-than comparison.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise greater-than-or-equals comparison.

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise addition of the vector elements.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise multiplication of the vector elements.

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Largest vector value.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Smallest vector value.

impl u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise and of the vector elements.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise or of the vector elements.

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Lane-wise bitwise xor of the vector elements.

Trait Implementations

impl BitXorAssign<u8x4> for u8x4
[src]

Performs the ^= operation.

impl BitAndAssign<u8x4> for u8x4
[src]

Performs the &= operation.

impl BitOr<u8x4> for u8x4
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl RemAssign<u8x4> for u8x4
[src]

Performs the %= operation.

impl MulAssign<u8x4> for u8x4
[src]

Performs the *= operation.

impl AddAssign<u8x4> for u8x4
[src]

Performs the += operation.

impl From<u8x4> for i64x4
[src]

Performs the conversion.

impl From<i64x4> for u8x4
[src]

Performs the conversion.

impl From<i32x4> for u8x4
[src]

Performs the conversion.

impl From<u8x4> for i8x4
[src]

Performs the conversion.

impl From<u8x4> for u32x4
[src]

Performs the conversion.

impl From<u16x4> for u8x4
[src]

Performs the conversion.

impl From<u8x4> for u64x4
[src]

Performs the conversion.

impl From<u8x4> for i32x4
[src]

Performs the conversion.

impl From<u8x4> for f32x4
[src]

Performs the conversion.

impl From<f32x4> for u8x4
[src]

Performs the conversion.

impl From<u64x4> for u8x4
[src]

Performs the conversion.

impl From<f64x4> for u8x4
[src]

Performs the conversion.

impl From<u8x4> for f64x4
[src]

Performs the conversion.

impl From<i16x4> for u8x4
[src]

Performs the conversion.

impl From<u32x4> for u8x4
[src]

Performs the conversion.

impl From<i8x4> for u8x4
[src]

Performs the conversion.

impl From<u8x4> for u16x4
[src]

Performs the conversion.

impl From<u8x4> for i16x4
[src]

Performs the conversion.

impl ShrAssign<i32> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<u8> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<u64> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<usize> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<u16> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<isize> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<i64> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<i8> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<i16> for u8x4
[src]

Performs the >>= operation.

impl ShrAssign<u32> for u8x4
[src]

Performs the >>= operation.

impl Sub<u8x4> for u8x4
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Shr<usize> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<isize> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i16> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i8> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i32> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u8> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u32> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<i64> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u64> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shr<u16> for u8x4
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl FromBits<u8x4> for u16x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u8x4> for i16x2
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i16x2> for u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<b8x4> for u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<i8x4> for u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u16x2> for u8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl FromBits<u8x4> for i8x4
[src]

🔬 This is a nightly-only experimental API. (stdsimd #48556)

Safe lossless bitwise from T to Self.

impl Copy for u8x4
[src]

impl PartialEq<u8x4> for u8x4
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Rem<u8x4> for u8x4
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Shl<u16> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u64> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u32> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i16> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i32> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i8> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<i64> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<isize> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<u8> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shl<usize> for u8x4
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl BitAnd<u8x4> for u8x4
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl ShlAssign<u32> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<u16> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<i64> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<u64> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<i32> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<u8> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<usize> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<i16> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<i8> for u8x4
[src]

Performs the <<= operation.

impl ShlAssign<isize> for u8x4
[src]

Performs the <<= operation.

impl Default for u8x4
[src]

Returns the "default value" for a type. Read more

impl Div<u8x4> for u8x4
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl BitOrAssign<u8x4> for u8x4
[src]

Performs the |= operation.

impl Debug for u8x4
[src]

Formats the value using the given formatter. Read more

impl Add<u8x4> for u8x4
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl DivAssign<u8x4> for u8x4
[src]

Performs the /= operation.

impl SubAssign<u8x4> for u8x4
[src]

Performs the -= operation.

impl Clone for u8x4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BitXor<u8x4> for u8x4
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl PartialOrd<u8x4> for u8x4
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for u8x4
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Not for u8x4
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Eq for u8x4
[src]

impl LowerHex for u8x4
[src]

Formats the value using the given formatter.

impl Mul<u8x4> for u8x4
[src]

The resulting type after applying the * operator.

Performs the * operation.

Auto Trait Implementations

impl Send for u8x4

impl Sync for u8x4