#[repr(simd)]
pub struct u8x32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
pub const fn new( x0: u8, x1: u8, x2: u8, x3: u8, x4: u8, x5: u8, x6: u8, x7: u8, x8: u8, x9: u8, x10: u8, x11: u8, x12: u8, x13: u8, x14: u8, x15: u8, x16: u8, x17: u8, x18: u8, x19: u8, x20: u8, x21: u8, x22: u8, x23: u8, x24: u8, x25: u8, x26: u8, x27: u8, x28: u8, x29: u8, x30: u8, x31: u8 ) -> u8x32 | [src] |
Create a new instance where every lane has value x
.
Extract the value of the idx
th lane of self
.
extract
will panic if idx
is out of bounds.
Return a new vector where the idx
th lane is replaced
by elem
.
replace
will panic if idx
is out of bounds.
pub fn load(array: &[u8], idx: usize) -> Self | [src] |
Load a new value from the idx
th position of array
.
This is equivalent to the following, but is possibly
more efficient:
Self::new(array[idx], array[idx + 1], ...)
load
will panic if idx
is out of bounds in
array
, or if array[idx..]
is too short.
pub fn store(self, array: &mut [u8], idx: usize) | [src] |
Store the elements of self
to array
, starting at
the idx
th position.
This is equivalent to the following, but is possibly
more efficient:
array[i] = self.extract(0);
array[i + 1] = self.extract(1);
store
will panic if idx
is out of bounds in
array
, or if array[idx...]
is too short.
Convert each lane to a signed integer.
The corresponding boolean vector type.
type Elem = u8
The element that this vector stores.
Extract the low 128 bit part.
Extract the high 128 bit part.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the +
operator.
Performs the +
operation.
The resulting type after applying the -
operator.
Performs the -
operation.
The resulting type after applying the *
operator.
Performs the *
operation.
The resulting type after applying the !
operator.
Performs the unary !
operation.
The resulting type after applying the &
operator.
Performs the &
operation.
The resulting type after applying the |
operator.
Performs the |
operation.
The resulting type after applying the ^
operator.
Performs the ^
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the >>
operator.
Performs the >>
operation.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static