Struct std::simd::m16x4[][src]

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

A 64-bit vector mask with 4 lanes.

Methods

impl m16x4
[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 m16x4
[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.

impl m16x4
[src]

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

Are all vector lanes true?

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

Is any vector lanes true?

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

Are all vector lanes false?

impl m16x4
[src]

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

Selects elements of a and b using mask.

For each lane, the result contains the element of a if the mask is true, and the element of b otherwise.

impl m16x4
[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.

Trait Implementations

impl BitAnd<bool> for m16x4
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<m16x4> for bool
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<m16x4> for m16x4
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl Debug for m16x4
[src]

Formats the value using the given formatter. Read more

impl Default for m16x4
[src]

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

impl BitXorAssign<bool> for m16x4
[src]

Performs the ^= operation.

impl BitXorAssign<m16x4> for m16x4
[src]

Performs the ^= operation.

impl BitOrAssign<m16x4> for m16x4
[src]

Performs the |= operation.

impl BitOrAssign<bool> for m16x4
[src]

Performs the |= operation.

impl BitAndAssign<bool> for m16x4
[src]

Performs the &= operation.

impl BitAndAssign<m16x4> for m16x4
[src]

Performs the &= operation.

impl BitOr<m16x4> for m16x4
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<m16x4> for bool
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<bool> for m16x4
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl Copy for m16x4
[src]

impl From<m16x4> for u16x4
[src]

Performs the conversion.

impl From<m16x4> for i32x4
[src]

Performs the conversion.

impl From<m64x4> for m16x4
[src]

Performs the conversion.

impl From<m16x4> for u8x4
[src]

Performs the conversion.

impl From<m32x4> for m16x4
[src]

Performs the conversion.

impl From<m16x4> for m32x4
[src]

Performs the conversion.

impl From<m16x4> for i8x4
[src]

Performs the conversion.

impl From<m16x4> for m64x4
[src]

Performs the conversion.

impl From<m16x4> for i16x4
[src]

Performs the conversion.

impl From<m16x4> for m8x4
[src]

Performs the conversion.

impl From<m8x4> for m16x4
[src]

Performs the conversion.

impl From<m16x4> for u64x4
[src]

Performs the conversion.

impl From<m16x4> for i64x4
[src]

Performs the conversion.

impl From<m16x4> for f32x4
[src]

Performs the conversion.

impl From<m16x4> for u32x4
[src]

Performs the conversion.

impl From<m16x4> for f64x4
[src]

Performs the conversion.

impl Clone for m16x4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd<m16x4> for m16x4
[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 BitXor<m16x4> for bool
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<m16x4> for m16x4
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<bool> for m16x4
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Not for m16x4
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Eq for m16x4
[src]

impl PartialEq<m16x4> for m16x4
[src]

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

This method tests for !=.

impl FromBits<m16x4> for i32x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for i8x8
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for i16x4
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for u32x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for f32x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for u16x4
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x4> for u8x8
[src]

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

Safe lossless bitwise from T to Self.

Auto Trait Implementations

impl Send for m16x4

impl Sync for m16x4