Struct std::simd::m16x2[][src]

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

A 32-bit wide vector mask with 2 lanes.

Methods

impl m16x2
[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 m16x2
[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 m16x2
[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 m16x2
[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 m16x2
[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 From<m16x2> for u64x2
[src]

Performs the conversion.

impl From<m16x2> for m32x2
[src]

Performs the conversion.

impl From<m16x2> for m64x2
[src]

Performs the conversion.

impl From<m8x2> for m16x2
[src]

Performs the conversion.

impl From<m16x2> for m8x2
[src]

Performs the conversion.

impl From<m16x2> for i16x2
[src]

Performs the conversion.

impl From<m16x2> for u32x2
[src]

Performs the conversion.

impl From<m16x2> for i64x2
[src]

Performs the conversion.

impl From<m64x2> for m16x2
[src]

Performs the conversion.

impl From<m16x2> for f64x2
[src]

Performs the conversion.

impl From<m16x2> for i8x2
[src]

Performs the conversion.

impl From<m16x2> for f32x2
[src]

Performs the conversion.

impl From<m16x2> for u8x2
[src]

Performs the conversion.

impl From<m32x2> for m16x2
[src]

Performs the conversion.

impl From<m16x2> for u16x2
[src]

Performs the conversion.

impl From<m16x2> for i32x2
[src]

Performs the conversion.

impl Clone for m16x2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd<m16x2> for m16x2
[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<m16x2> for m16x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<bool> for m16x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<m16x2> for bool
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Not for m16x2
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Eq for m16x2
[src]

impl Copy for m16x2
[src]

impl PartialEq<m16x2> for m16x2
[src]

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

This method tests for !=.

impl BitAnd<m16x2> for m16x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<m16x2> for bool
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<bool> for m16x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl Default for m16x2
[src]

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

impl BitXorAssign<bool> for m16x2
[src]

Performs the ^= operation.

impl BitXorAssign<m16x2> for m16x2
[src]

Performs the ^= operation.

impl FromBits<m16x2> for u16x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x2> for i16x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x2> for i8x4
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m16x2> for u8x4
[src]

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

Safe lossless bitwise from T to Self.

impl BitOrAssign<m16x2> for m16x2
[src]

Performs the |= operation.

impl BitOrAssign<bool> for m16x2
[src]

Performs the |= operation.

impl BitAndAssign<m16x2> for m16x2
[src]

Performs the &= operation.

impl BitAndAssign<bool> for m16x2
[src]

Performs the &= operation.

impl Debug for m16x2
[src]

Formats the value using the given formatter. Read more

impl BitOr<m16x2> for bool
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<m16x2> for m16x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<bool> for m16x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

Auto Trait Implementations

impl Send for m16x2

impl Sync for m16x2