#[repr(simd)]
pub struct bool64fx2(_, _);
A SIMD boolean vector for length-2 vectors of 64-bit floats.
Convert to integer representation.
Convert from integer representation.
Create a new instance where every lane has value x
.
Extract the value of the idx
th lane of self
.
extract
will panic if idx
is out of bounds.
Return a new vector where the idx
th lane is replaced
by elem
.
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 integer vectors.
The corresponding boolean vector type.
type Elem = bool64f
The element that this vector stores.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the !
operator.
Performs the unary !
operation.
The resulting type after applying the &
operator.
Performs the &
operation.
The resulting type after applying the |
operator.
Performs the |
operation.
The resulting type after applying the ^
operator.
Performs the ^
operation.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static