Struct simba::simd::WideBoolF64x4
source · [−]#[repr(transparent)]pub struct WideBoolF64x4(pub f64x4);
Expand description
An SIMD boolean structure associated to wide::f64x4
that implements all the relevant traits from simba
.
This is needed to overcome the orphan rules.
Tuple Fields
0: f64x4
Trait Implementations
sourceimpl BitAnd<WideBoolF64x4> for WideBoolF64x4
impl BitAnd<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the &
operator.
sourceimpl BitOr<WideBoolF64x4> for WideBoolF64x4
impl BitOr<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the |
operator.
sourceimpl BitXor<WideBoolF64x4> for WideBoolF64x4
impl BitXor<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the ^
operator.
sourceimpl Clone for WideBoolF64x4
impl Clone for WideBoolF64x4
sourcefn clone(&self) -> WideBoolF64x4
fn clone(&self) -> WideBoolF64x4
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WideBoolF64x4
impl Debug for WideBoolF64x4
sourceimpl Not for WideBoolF64x4
impl Not for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the !
operator.
sourceimpl PartialEq<WideBoolF64x4> for WideBoolF64x4
impl PartialEq<WideBoolF64x4> for WideBoolF64x4
sourceimpl SimdBool for WideBoolF64x4
impl SimdBool for WideBoolF64x4
sourcefn bitmask(self) -> u64
fn bitmask(self) -> u64
A bit mask representing the boolean state of each lanes of self
. Read more
sourcefn if_else<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Res
fn if_else<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Res
Merges the value of if_value()
and else_value()
depending on the lanes of self
. Read more
sourcefn if_else2<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res
fn if_else2<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res
Merges the value of if_value()
and else_if.1()
and else_value()
depending on the lanes of self
and else_if.0()
. Read more
sourcefn if_else3<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res
fn if_else3<Res: SimdValue<SimdBool = Self>>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> Self, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res
Merges the value of if_value()
and else_if.1()
and else_else_if.1()
and else_value()
depending on the lanes of self
and else_if.0()
and else_else_if.0()
. Read more
sourceimpl SimdValue for WideBoolF64x4
impl SimdValue for WideBoolF64x4
type SimdBool = WideBoolF64x4
type SimdBool = WideBoolF64x4
Type of the result of comparing two SIMD values like self
.
sourceunsafe fn extract_unchecked(&self, i: usize) -> Self::Element
unsafe fn extract_unchecked(&self, i: usize) -> Self::Element
Extracts the i-th lane of self
without bound-checking.
sourcefn replace(&mut self, i: usize, val: Self::Element)
fn replace(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of self
by val
. Read more
sourceunsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
unsafe fn replace_unchecked(&mut self, i: usize, val: Self::Element)
Replaces the i-th lane of self
by val
without bound-checking.
sourcefn select(self, cond: Self::SimdBool, other: Self) -> Self
fn select(self, cond: Self::SimdBool, other: Self) -> Self
Merges self
and other
depending on the lanes of cond
. Read more
sourceimpl SubsetOf<WideBoolF64x4> for WideBoolF64x4
impl SubsetOf<WideBoolF64x4> for WideBoolF64x4
sourcefn to_superset(&self) -> Self
fn to_superset(&self) -> Self
The inclusion map: converts self
to the equivalent element of its superset.
sourcefn from_superset(element: &Self) -> Option<Self>
fn from_superset(element: &Self) -> Option<Self>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
sourcefn from_superset_unchecked(element: &Self) -> Self
fn from_superset_unchecked(element: &Self) -> Self
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
sourcefn is_in_subset(_: &Self) -> bool
fn is_in_subset(_: &Self) -> bool
Checks if element
is actually part of the subset Self
(and can be converted to it).
impl Copy for WideBoolF64x4
impl PrimitiveSimdValue for WideBoolF64x4
Auto Trait Implementations
impl RefUnwindSafe for WideBoolF64x4
impl Send for WideBoolF64x4
impl Sync for WideBoolF64x4
impl Unpin for WideBoolF64x4
impl UnwindSafe for WideBoolF64x4
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more