Struct core::simd::m8x2[][src]

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

A 16-bit wide vector mask with 2 lanes.

Methods

impl m8x2
[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 m8x2
[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 m8x2
[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 m8x2
[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 m8x2
[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<m8x2> for f64x2
[src]

Performs the conversion.

impl From<m8x2> for u64x2
[src]

Performs the conversion.

impl From<m8x2> for i64x2
[src]

Performs the conversion.

impl From<m8x2> for m64x2
[src]

Performs the conversion.

impl Copy for m8x2
[src]

impl Clone for m8x2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for m8x2
[src]

Formats the value using the given formatter. Read more

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

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl BitXor for m8x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitAnd for m8x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr for m8x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitAndAssign for m8x2
[src]

Performs the &= operation.

impl BitOrAssign for m8x2
[src]

Performs the |= operation.

impl BitXorAssign for m8x2
[src]

Performs the ^= operation.

impl BitXor<bool> for m8x2
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitXor<m8x2> for bool
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitAnd<bool> for m8x2
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitAnd<m8x2> for bool
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr<bool> for m8x2
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitOr<m8x2> for bool
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitAndAssign<bool> for m8x2
[src]

Performs the &= operation.

impl BitOrAssign<bool> for m8x2
[src]

Performs the |= operation.

impl BitXorAssign<bool> for m8x2
[src]

Performs the ^= operation.

impl Eq for m8x2
[src]

impl PartialEq<m8x2> for m8x2
[src]

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

This method tests for !=.

impl Default for m8x2
[src]

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

impl FromBits<m8x2> for i8x2
[src]

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

Safe lossless bitwise from T to Self.

impl FromBits<m8x2> for u8x2
[src]

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

Safe lossless bitwise from T to Self.

impl From<m8x2> for i8x2
[src]

Performs the conversion.

impl From<m8x2> for u8x2
[src]

Performs the conversion.

impl From<m64x2> for m8x2
[src]

Performs the conversion.

impl From<m32x2> for m8x2
[src]

Performs the conversion.

impl From<m16x2> for m8x2
[src]

Performs the conversion.

impl From<m8x2> for i16x2
[src]

Performs the conversion.

impl From<m8x2> for u16x2
[src]

Performs the conversion.

impl From<m8x2> for m16x2
[src]

Performs the conversion.

impl From<m8x2> for f32x2
[src]

Performs the conversion.

impl From<m8x2> for u32x2
[src]

Performs the conversion.

impl From<m8x2> for i32x2
[src]

Performs the conversion.

impl From<m8x2> for m32x2
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for m8x2

impl Sync for m8x2