Expand description
A 256-bit vector mask with 8 m32
lanes.
Creates a new instance with each vector elements initialized
with the provided values.
Returns the number of vector lanes.
Constructs a new instance with each element initialized to
value
.
Extracts the value at index
.
If index >= Self::lanes()
.
Extracts the value at index
.
If index >= Self::lanes()
the behavior is undefined.
Returns a new vector where the value at index
is replaced by
new_value
.
If index >= Self::lanes()
.
Returns a new vector where the value at index
is replaced by
new_value
.
If index >= Self::lanes()
the behavior is undefined.
Lane-wise bitwise and
of the vector elements.
Note: if the vector has one lane, the first element of the
vector is returned.
Lane-wise bitwise or
of the vector elements.
Note: if the vector has one lane, the first element of the
vector is returned.
Lane-wise bitwise xor
of the vector elements.
Note: if the vector has one lane, the first element of the
vector is returned.
Are all
vector lanes true
?
Are all
vector lanes false
?
Lane-wise equality comparison.
Lane-wise inequality comparison.
Lane-wise less-than comparison.
Lane-wise less-than-or-equals comparison.
Lane-wise greater-than comparison.
Lane-wise greater-than-or-equals comparison.
Selects elements of a
and b
using mask.
The lanes of the result for which the mask is true
contain
the values of a
. The remaining lanes contain the values of
b
.
Returns a wrapper that implements PartialOrd
.
Returns a wrapper that implements Ord
.
Shuffle vector elements according to indices
.
Creates a bitmask with the MSB of each vector lane.
If the vector has less than 8 lanes, the bits that do not
correspond to any vector lanes are cleared.
The resulting type after applying the &
operator.
The resulting type after applying the &
operator.
The resulting type after applying the |
operator.
The resulting type after applying the |
operator.
The resulting type after applying the ^
operator.
The resulting type after applying the ^
operator.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
Numeric cast from T
to Self
.
The resulting type after applying the !
operator.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Element type of the SIMD vector
The number of elements in the SIMD vector.
The type: [u32; Self::N]
.