pub type AutoU128x2 = AutoSimd<[u128; 2]>;
Aliased Type§
struct AutoU128x2(pub [u128; 2]);
Fields§
§0: [u128; 2]
Implementations
Trait Implementations
Source§impl AddAssign for AutoSimd<[u128; 2]>
impl AddAssign for AutoSimd<[u128; 2]>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl DivAssign for AutoSimd<[u128; 2]>
impl DivAssign for AutoSimd<[u128; 2]>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl FromPrimitive for AutoSimd<[u128; 2]>
impl FromPrimitive for AutoSimd<[u128; 2]>
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_f32(n: f32) -> Option<Self>
fn from_f32(n: f32) -> Option<Self>
Converts a
f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_f64(n: f64) -> Option<Self>
fn from_f64(n: f64) -> Option<Self>
Converts a
f64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§impl MulAssign for AutoSimd<[u128; 2]>
impl MulAssign for AutoSimd<[u128; 2]>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Num for AutoSimd<[u128; 2]>
impl Num for AutoSimd<[u128; 2]>
type FromStrRadixErr = <u128 as Num>::FromStrRadixErr
Source§fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
Convert from a string and radix (typically
2..=36
). Read moreSource§impl RemAssign for AutoSimd<[u128; 2]>
impl RemAssign for AutoSimd<[u128; 2]>
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl SimdPartialOrd for AutoSimd<[u128; 2]>
impl SimdPartialOrd for AutoSimd<[u128; 2]>
Source§fn simd_clamp(self, min: Self, max: Self) -> Self
fn simd_clamp(self, min: Self, max: Self) -> Self
Clamps each lane of
self
between the corresponding lane of min
and max
.Source§fn simd_horizontal_min(self) -> Self::Element
fn simd_horizontal_min(self) -> Self::Element
The min value among all lanes of
self
.Source§fn simd_horizontal_max(self) -> Self::Element
fn simd_horizontal_max(self) -> Self::Element
The max value among all lanes of
self
.Source§impl SimdValue for AutoSimd<[u128; 2]>
impl SimdValue for AutoSimd<[u128; 2]>
Source§type SimdBool = AutoSimd<[bool; 2]>
type SimdBool = AutoSimd<[bool; 2]>
Type of the result of comparing two SIMD values like
self
.Source§unsafe 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.Source§unsafe 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.Source§impl SubAssign for AutoSimd<[u128; 2]>
impl SubAssign for AutoSimd<[u128; 2]>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreSource§impl SubsetOf<AutoSimd<[u128; 2]>> for AutoSimd<[u128; 2]>
impl SubsetOf<AutoSimd<[u128; 2]>> for AutoSimd<[u128; 2]>
Source§fn to_superset(&self) -> Self
fn to_superset(&self) -> Self
The inclusion map: converts
self
to the equivalent element of its superset.Source§fn 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 moreSource§fn 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.Source§fn 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).