Struct simd::i32x4 [] [src]

#[repr(simd)]
pub struct i32x4(_, _, _, _);

A SIMD vector of 4 i32s.

Methods

impl i32x4
[src]

Create a new instance.

Create a new instance where every lane has value x.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Compare for equality.

Extract the value of the idxth lane of self.

Panics

extract will panic if idx is out of bounds.

Return a new vector where the idxth lane is replaced by elem.

Panics

replace will panic if idx is out of bounds.

Load a new value from the idxth position of array.

This is equivalent to the following, but is possibly more efficient:

Self::new(array[idx], array[idx + 1], ...)

Panics

load will panic if idx is out of bounds in array, or if array[idx..] is too short.

Store the elements of self to array, starting at the idxth position.

This is equivalent to the following, but is possibly more efficient:

array[i] = self.extract(0);
array[i + 1] = self.extract(1);
// ...

Panics

store will panic if idx is out of bounds in array, or if array[idx...] is too short.

impl i32x4
[src]

Convert each lane to an unsigned integer.

Convert each lane to a 32-bit float.

Trait Implementations

impl Neg for i32x4
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl Not for i32x4
[src]

The resulting type after applying the ! operator

The method for the unary ! operator

impl Add for i32x4
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for i32x4
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul for i32x4
[src]

The resulting type after applying the * operator

The method for the * operator

impl BitAnd for i32x4
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr for i32x4
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitXor for i32x4
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl Shl<u8> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<u8> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<u16> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<u16> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<u32> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<u32> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<u64> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<u64> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<usize> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<usize> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<i8> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<i8> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<i16> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<i16> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<i32> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<i32> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<i64> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<i64> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<isize> for i32x4
[src]

The resulting type after applying the << operator

The method for the << operator

impl Shr<isize> for i32x4
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Sse2I32x4 for i32x4
[src]

impl Debug for i32x4
[src]

Formats the value using the given formatter.

impl Copy for i32x4
[src]

impl Simd for i32x4
[src]

The corresponding boolean vector type.

The element that this vector stores.

impl Clone for i32x4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more