Struct na::simd::WideBoolF32x8
source · [−]#[repr(transparent)]pub struct WideBoolF32x8(pub f32x8);
Expand description
An SIMD boolean structure associated to wide::f32x8
that implements all the relevant traits from simba
.
This is needed to overcome the orphan rules.
Tuple Fields
0: f32x8
Trait Implementations
sourceimpl BitAnd<WideBoolF32x8> for WideBoolF32x8
impl BitAnd<WideBoolF32x8> for WideBoolF32x8
type Output = WideBoolF32x8
type Output = WideBoolF32x8
The resulting type after applying the &
operator.
sourcefn bitand(self, rhs: WideBoolF32x8) -> WideBoolF32x8
fn bitand(self, rhs: WideBoolF32x8) -> WideBoolF32x8
Performs the &
operation. Read more
sourceimpl BitOr<WideBoolF32x8> for WideBoolF32x8
impl BitOr<WideBoolF32x8> for WideBoolF32x8
type Output = WideBoolF32x8
type Output = WideBoolF32x8
The resulting type after applying the |
operator.
sourcefn bitor(self, rhs: WideBoolF32x8) -> WideBoolF32x8
fn bitor(self, rhs: WideBoolF32x8) -> WideBoolF32x8
Performs the |
operation. Read more
sourceimpl BitXor<WideBoolF32x8> for WideBoolF32x8
impl BitXor<WideBoolF32x8> for WideBoolF32x8
type Output = WideBoolF32x8
type Output = WideBoolF32x8
The resulting type after applying the ^
operator.
sourcefn bitxor(self, rhs: WideBoolF32x8) -> WideBoolF32x8
fn bitxor(self, rhs: WideBoolF32x8) -> WideBoolF32x8
Performs the ^
operation. Read more
sourceimpl Clone for WideBoolF32x8
impl Clone for WideBoolF32x8
sourcefn clone(&self) -> WideBoolF32x8
fn clone(&self) -> WideBoolF32x8
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 WideBoolF32x8
impl Debug for WideBoolF32x8
sourceimpl Not for WideBoolF32x8
impl Not for WideBoolF32x8
type Output = WideBoolF32x8
type Output = WideBoolF32x8
The resulting type after applying the !
operator.
sourcefn not(self) -> WideBoolF32x8
fn not(self) -> WideBoolF32x8
Performs the unary !
operation. Read more
sourceimpl PartialEq<WideBoolF32x8> for WideBoolF32x8
impl PartialEq<WideBoolF32x8> for WideBoolF32x8
sourceimpl SimdBool for WideBoolF32x8
impl SimdBool for WideBoolF32x8
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>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
fn if_else<Res>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
Merges the value of if_value()
and else_value()
depending on the lanes of self
. Read more
sourcefn if_else2<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
fn if_else2<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
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>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
fn if_else3<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> WideBoolF32x8, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Res where
Res: SimdValue<SimdBool = WideBoolF32x8>,
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 WideBoolF32x8
impl SimdValue for WideBoolF32x8
type SimdBool = WideBoolF32x8
type SimdBool = WideBoolF32x8
Type of the result of comparing two SIMD values like self
.
sourcefn splat(val: bool) -> WideBoolF32x8
fn splat(val: bool) -> WideBoolF32x8
Initializes an SIMD value with each lanes set to val
.
sourcefn extract(&self, i: usize) -> <WideBoolF32x8 as SimdValue>::Element
fn extract(&self, i: usize) -> <WideBoolF32x8 as SimdValue>::Element
Extracts the i-th lane of self
. Read more
sourceunsafe fn extract_unchecked(
&self,
i: usize
) -> <WideBoolF32x8 as SimdValue>::Element
unsafe fn extract_unchecked(
&self,
i: usize
) -> <WideBoolF32x8 as SimdValue>::Element
Extracts the i-th lane of self
without bound-checking.
sourcefn replace(&mut self, i: usize, val: <WideBoolF32x8 as SimdValue>::Element)
fn replace(&mut self, i: usize, val: <WideBoolF32x8 as SimdValue>::Element)
Replaces the i-th lane of self
by val
. Read more
sourceunsafe fn replace_unchecked(
&mut self,
i: usize,
val: <WideBoolF32x8 as SimdValue>::Element
)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <WideBoolF32x8 as SimdValue>::Element
)
Replaces the i-th lane of self
by val
without bound-checking.
sourcefn select(
self,
cond: <WideBoolF32x8 as SimdValue>::SimdBool,
other: WideBoolF32x8
) -> WideBoolF32x8
fn select(
self,
cond: <WideBoolF32x8 as SimdValue>::SimdBool,
other: WideBoolF32x8
) -> WideBoolF32x8
Merges self
and other
depending on the lanes of cond
. Read more
sourceimpl SubsetOf<WideBoolF32x8> for WideBoolF32x8
impl SubsetOf<WideBoolF32x8> for WideBoolF32x8
sourcefn to_superset(&self) -> WideBoolF32x8
fn to_superset(&self) -> WideBoolF32x8
The inclusion map: converts self
to the equivalent element of its superset.
sourcefn from_superset(element: &WideBoolF32x8) -> Option<WideBoolF32x8>
fn from_superset(element: &WideBoolF32x8) -> Option<WideBoolF32x8>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
sourcefn from_superset_unchecked(element: &WideBoolF32x8) -> WideBoolF32x8
fn from_superset_unchecked(element: &WideBoolF32x8) -> WideBoolF32x8
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
sourcefn is_in_subset(&WideBoolF32x8) -> bool
fn is_in_subset(&WideBoolF32x8) -> bool
Checks if element
is actually part of the subset Self
(and can be converted to it).
impl Copy for WideBoolF32x8
impl PrimitiveSimdValue for WideBoolF32x8
Auto Trait Implementations
impl RefUnwindSafe for WideBoolF32x8
impl Send for WideBoolF32x8
impl Sync for WideBoolF32x8
impl Unpin for WideBoolF32x8
impl UnwindSafe for WideBoolF32x8
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
sourceimpl<T> IntoVec<Matrix<T, Const<2_usize>, Const<1_usize>, ArrayStorage<T, 2_usize, 1_usize>>> for T where
T: Scalar,
impl<T> IntoVec<Matrix<T, Const<2_usize>, Const<1_usize>, ArrayStorage<T, 2_usize, 1_usize>>> for T where
T: Scalar,
sourceimpl<T> IntoVec<Matrix<T, Const<3_usize>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>> for T where
T: Scalar,
impl<T> IntoVec<Matrix<T, Const<3_usize>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>> for T where
T: Scalar,
sourceimpl<T> IntoVec<Matrix<T, Const<4_usize>, Const<1_usize>, ArrayStorage<T, 4_usize, 1_usize>>> for T where
T: Scalar,
impl<T> IntoVec<Matrix<T, Const<4_usize>, Const<1_usize>, ArrayStorage<T, 4_usize, 1_usize>>> for T where
T: Scalar,
sourceimpl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
sourcefn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
sourcefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
sourcefn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
sourcefn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more