Struct simba::simd::AutoBoolSimd
source · #[repr(align(16))]pub struct AutoBoolSimd<N>(pub N);
Expand description
A SIMD boolean structure that implements all the relevant traits from num
an simba
.
This is needed to overcome the orphan rules.
Tuple Fields§
§0: N
Trait Implementations§
source§impl<N> Archive for AutoBoolSimd<N>where
N: Archive<Archived = N> + Archive,
impl<N> Archive for AutoBoolSimd<N>where N: Archive<Archived = N> + Archive,
§type Archived = AutoBoolSimd<N>
type Archived = AutoBoolSimd<N>
The archived representation of this type. Read more
§type Resolver = AutoBoolSimdResolver<N>
type Resolver = AutoBoolSimdResolver<N>
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
source§impl<N: Clone> Clone for AutoBoolSimd<N>
impl<N: Clone> Clone for AutoBoolSimd<N>
source§fn clone(&self) -> AutoBoolSimd<N>
fn clone(&self) -> AutoBoolSimd<N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<N: Debug> Debug for AutoBoolSimd<N>
impl<N: Debug> Debug for AutoBoolSimd<N>
source§impl<__D: Fallible + ?Sized, N> Deserialize<AutoBoolSimd<N>, __D> for Archived<AutoBoolSimd<N>>where
N: Archive<Archived = N> + Archive,
Archived<N>: Deserialize<N, __D>,
impl<__D: Fallible + ?Sized, N> Deserialize<AutoBoolSimd<N>, __D> for Archived<AutoBoolSimd<N>>where N: Archive<Archived = N> + Archive, Archived<N>: Deserialize<N, __D>,
source§fn deserialize(
&self,
deserializer: &mut __D
) -> Result<AutoBoolSimd<N>, __D::Error>
fn deserialize( &self, deserializer: &mut __D ) -> Result<AutoBoolSimd<N>, __D::Error>
Deserializes using the given deserializer
source§impl<N: PartialEq> PartialEq<AutoBoolSimd<N>> for AutoBoolSimd<N>
impl<N: PartialEq> PartialEq<AutoBoolSimd<N>> for AutoBoolSimd<N>
source§fn eq(&self, other: &AutoBoolSimd<N>) -> bool
fn eq(&self, other: &AutoBoolSimd<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<__S: Fallible + ?Sized, N> Serialize<__S> for AutoBoolSimd<N>where
N: Archive<Archived = N> + Serialize<__S>,
impl<__S: Fallible + ?Sized, N> Serialize<__S> for AutoBoolSimd<N>where N: Archive<Archived = N> + Serialize<__S>,
impl<N: Copy> Copy for AutoBoolSimd<N>
impl<N: Eq> Eq for AutoBoolSimd<N>
impl<N> StructuralEq for AutoBoolSimd<N>
impl<N> StructuralPartialEq for AutoBoolSimd<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for AutoBoolSimd<N>where N: RefUnwindSafe,
impl<N> Send for AutoBoolSimd<N>where N: Send,
impl<N> Sync for AutoBoolSimd<N>where N: Sync,
impl<N> Unpin for AutoBoolSimd<N>where N: Unpin,
impl<N> UnwindSafe for AutoBoolSimd<N>where N: UnwindSafe,
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere T: Archive,
§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be unsized. Read more§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T, S> SerializeUnsized<S> for Twhere
T: Serialize<S>,
S: Serializer + ?Sized,
impl<T, S> SerializeUnsized<S> for Twhere T: Serialize<S>, S: Serializer + ?Sized,
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.