Struct heron::rapier_plugin::rapier2d::parry::simba::simd::WideBoolF64x4
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
impl BitAnd<WideBoolF64x4> for WideBoolF64x4
impl BitAnd<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the
&
operator.fn bitand(self, rhs: WideBoolF64x4) -> WideBoolF64x4
fn bitand(self, rhs: WideBoolF64x4) -> WideBoolF64x4
Performs the
&
operation. Read moreimpl BitOr<WideBoolF64x4> for WideBoolF64x4
impl BitOr<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the
|
operator.fn bitor(self, rhs: WideBoolF64x4) -> WideBoolF64x4
fn bitor(self, rhs: WideBoolF64x4) -> WideBoolF64x4
Performs the
|
operation. Read moreimpl BitXor<WideBoolF64x4> for WideBoolF64x4
impl BitXor<WideBoolF64x4> for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the
^
operator.fn bitxor(self, rhs: WideBoolF64x4) -> WideBoolF64x4
fn bitxor(self, rhs: WideBoolF64x4) -> WideBoolF64x4
Performs the
^
operation. Read moreimpl Clone for WideBoolF64x4
impl Clone for WideBoolF64x4
fn 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 moreimpl Debug for WideBoolF64x4
impl Debug for WideBoolF64x4
impl From<[bool; 4]> for WideBoolF64x4
impl From<[bool; 4]> for WideBoolF64x4
fn from(vals: [bool; 4]) -> WideBoolF64x4
fn from(vals: [bool; 4]) -> WideBoolF64x4
Converts to this type from the input type.
impl Not for WideBoolF64x4
impl Not for WideBoolF64x4
type Output = WideBoolF64x4
type Output = WideBoolF64x4
The resulting type after applying the
!
operator.fn not(self) -> WideBoolF64x4
fn not(self) -> WideBoolF64x4
Performs the unary
!
operation. Read moreimpl PartialEq<WideBoolF64x4> for WideBoolF64x4
impl PartialEq<WideBoolF64x4> for WideBoolF64x4
fn eq(&self, rhs: &WideBoolF64x4) -> bool
fn eq(&self, rhs: &WideBoolF64x4) -> bool
impl SimdBool for WideBoolF64x4
impl SimdBool for WideBoolF64x4
fn if_else<Res>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
fn if_else<Res>(
self,
if_value: impl FnOnce() -> Res,
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
fn if_else2<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
fn if_else2<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
Merges the value of
if_value()
and else_if.1()
and else_value()
depending on the lanes of self
and else_if.0()
. Read morefn if_else3<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
fn if_else3<Res>(
self,
if_value: impl FnOnce() -> Res,
else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_else_if: (impl FnOnce() -> WideBoolF64x4, impl FnOnce() -> Res),
else_value: impl FnOnce() -> Res
) -> Reswhere
Res: SimdValue<SimdBool = WideBoolF64x4>,
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 moreimpl SimdValue for WideBoolF64x4
impl SimdValue for WideBoolF64x4
type SimdBool = WideBoolF64x4
type SimdBool = WideBoolF64x4
Type of the result of comparing two SIMD values like
self
.fn splat(val: bool) -> WideBoolF64x4
fn splat(val: bool) -> WideBoolF64x4
Initializes an SIMD value with each lanes set to
val
.fn extract(&self, i: usize) -> <WideBoolF64x4 as SimdValue>::Element
fn extract(&self, i: usize) -> <WideBoolF64x4 as SimdValue>::Element
Extracts the i-th lane of
self
. Read moreunsafe fn extract_unchecked(
&self,
i: usize
) -> <WideBoolF64x4 as SimdValue>::Element
unsafe fn extract_unchecked(
&self,
i: usize
) -> <WideBoolF64x4 as SimdValue>::Element
Extracts the i-th lane of
self
without bound-checking.fn replace(&mut self, i: usize, val: <WideBoolF64x4 as SimdValue>::Element)
fn replace(&mut self, i: usize, val: <WideBoolF64x4 as SimdValue>::Element)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <WideBoolF64x4 as SimdValue>::Element
)
unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <WideBoolF64x4 as SimdValue>::Element
)
Replaces the i-th lane of
self
by val
without bound-checking.fn select(
self,
cond: <WideBoolF64x4 as SimdValue>::SimdBool,
other: WideBoolF64x4
) -> WideBoolF64x4
fn select(
self,
cond: <WideBoolF64x4 as SimdValue>::SimdBool,
other: WideBoolF64x4
) -> WideBoolF64x4
impl SubsetOf<WideBoolF64x4> for WideBoolF64x4
impl SubsetOf<WideBoolF64x4> for WideBoolF64x4
fn to_superset(&self) -> WideBoolF64x4
fn to_superset(&self) -> WideBoolF64x4
The inclusion map: converts
self
to the equivalent element of its superset.fn from_superset(element: &WideBoolF64x4) -> Option<WideBoolF64x4>
fn from_superset(element: &WideBoolF64x4) -> Option<WideBoolF64x4>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read morefn from_superset_unchecked(element: &WideBoolF64x4) -> WideBoolF64x4
fn from_superset_unchecked(element: &WideBoolF64x4) -> WideBoolF64x4
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.fn is_in_subset(_: &WideBoolF64x4) -> bool
fn is_in_subset(_: &WideBoolF64x4) -> 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
impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
impl<T, U> AsBindGroupShaderType<U> for Twhere
U: ShaderType,
&'a T: for<'a> Into<U>,
fn as_bind_group_shader_type(
&self,
_images: &HashMap<Handle<Image>, <Image as RenderAsset>::PreparedAsset, RandomState, Global>
) -> U
fn as_bind_group_shader_type(
&self,
_images: &HashMap<Handle<Image>, <Image as RenderAsset>::PreparedAsset, RandomState, Global>
) -> U
Return the
T
[ShaderType
] for self
. When used in [AsBindGroup
]
derives, it is safe to assume that all images in self
exist. Read moresourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read morefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read moresourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn 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 morefn 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).fn 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.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.