Struct simd_alt::sixty_four::bool64ix2 [] [src]

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

A SIMD boolean vector for length-2 vectors of 64-bit integers.

Methods

impl bool64ix2
[src]

Convert to integer representation.

Convert from integer representation.

Create a new instance.

Create a new instance where every lane has value x.

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.

Select between elements of then and else_, based on the corresponding element of self.

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

T::new(if self.extract(0) { then.extract(0) } else { else_.extract(0) },
       if self.extract(1) { then.extract(1) } else { else_.extract(1) },
       ...)

Check if every element of self is true.

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

self.extract(0) && self.extract(1) && ...

Check if any element of self is true.

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

self.extract(0) || self.extract(1) || ...

Convert self to a boolean vector for interacting with floating point vectors.

Trait Implementations

impl Debug for bool64ix2
[src]

Formats the value using the given formatter.

impl Copy for bool64ix2
[src]

impl Simd for bool64ix2
[src]

The corresponding boolean vector type.

The element that this vector stores.

impl Clone for bool64ix2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Not for bool64ix2
[src]

The resulting type after applying the ! operator

The method for the unary ! operator

impl BitAnd for bool64ix2
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr for bool64ix2
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitXor for bool64ix2
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl Sse2Bool64ix2 for bool64ix2
[src]