Struct hagane_simd::vector::uint16
[−]
[src]
#[repr(C)] #[repr(simd)]pub struct uint16(pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32, pub u32);
Methods
impl uint16
[src]
Trait Implementations
impl Vector for uint16
[src]
type Scalar = u32
type Boolean = int16
type CharVector = char16
type ShortVector = short16
type IntVector = int16
type LongVector = long16
type UCharVector = uchar16
type UShortVector = ushort16
type UIntVector = uint16
type ULongVector = ulong16
type FloatVector = float16
type DoubleVector = double16
fn map_unary(self, f: &Fn(Self::Scalar) -> Self::Scalar) -> Self
fn map_binary(
self,
other: Self,
f: &Fn(Self::Scalar, Self::Scalar) -> Self::Scalar
) -> Self
self,
other: Self,
f: &Fn(Self::Scalar, Self::Scalar) -> Self::Scalar
) -> Self
fn reduce(
self,
f: &Fn(Self::Scalar, Self::Scalar) -> Self::Scalar
) -> Self::Scalar
self,
f: &Fn(Self::Scalar, Self::Scalar) -> Self::Scalar
) -> Self::Scalar
fn abs(self) -> Self
fn to_char_sat(self) -> char16
fn to_uchar_sat(self) -> uchar16
fn to_short_sat(self) -> short16
fn to_ushort_sat(self) -> ushort16
fn to_int_sat(self) -> int16
fn to_uint_sat(self) -> uint16
fn to_long_sat(self) -> long16
fn to_ulong_sat(self) -> ulong16
fn bitcast<T: Vector>(x: T) -> Self
fn broadcast(x: Self::Scalar) -> Self
fn extract(self, i: u32) -> Self::Scalar
fn replace(self, i: u32, value: Self::Scalar) -> Self
fn add_mul(self, a: Self, b: Self) -> Self
fn eq(self, other: Self) -> Self::Boolean
fn ne(self, other: Self) -> Self::Boolean
fn lt(self, other: Self) -> Self::Boolean
fn le(self, other: Self) -> Self::Boolean
fn gt(self, other: Self) -> Self::Boolean
fn ge(self, other: Self) -> Self::Boolean
fn max(self, other: Self) -> Self
fn min(self, other: Self) -> Self
fn clamp(self, min: Self, max: Self) -> Self
fn reduce_add(self) -> Self::Scalar
fn reduce_max(self) -> Self::Scalar
fn reduce_min(self) -> Self::Scalar
fn to_char(self) -> Self::CharVector
fn to_short(self) -> Self::ShortVector
fn to_int(self) -> Self::IntVector
fn to_long(self) -> Self::LongVector
fn to_uchar(self) -> Self::UCharVector
fn to_ushort(self) -> Self::UShortVector
fn to_uint(self) -> Self::UIntVector
fn to_ulong(self) -> Self::ULongVector
fn to_float(self) -> Self::FloatVector
fn to_double(self) -> Self::DoubleVector
fn to_boolean(self) -> Self::Boolean
impl Dot<uint16> for uint16
[src]
type DotProduct = u32
fn dot(self, other: Self) -> Self::DotProduct
impl Integer for uint16
[src]
type IntegerScalar = u32
const SIGN_MASK: u32
SIGN_MASK: u32 = 2147483648
fn reduce_and(self) -> Self::Scalar
fn reduce_or(self) -> Self::Scalar
fn reduce_xor(self) -> Self::Scalar
fn all(self) -> bool
fn any(self) -> bool
impl Copy for uint16
[src]
impl Clone for uint16
[src]
fn clone(&self) -> uint16
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for uint16
[src]
impl Add<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, other: Self) -> Self
The method for the +
operator
impl Add<u32> for uint16
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, other: u32) -> Self
The method for the +
operator
impl Sub<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the -
operator
fn sub(self, other: Self) -> Self
The method for the -
operator
impl Sub<u32> for uint16
[src]
type Output = Self
The resulting type after applying the -
operator
fn sub(self, other: u32) -> Self
The method for the -
operator
impl Mul<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, other: Self) -> Self
The method for the *
operator
impl Mul<u32> for uint16
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, other: u32) -> Self
The method for the *
operator
impl Div<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the /
operator
fn div(self, other: Self) -> Self
The method for the /
operator
impl Div<u32> for uint16
[src]
type Output = Self
The resulting type after applying the /
operator
fn div(self, other: u32) -> Self
The method for the /
operator
impl Neg for uint16
[src]
type Output = Self
The resulting type after applying the -
operator
fn neg(self) -> Self
The method for the unary -
operator
impl PartialEq for uint16
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool
This method tests for !=
.
impl BitAnd<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the &
operator
fn bitand(self, other: Self) -> Self
The method for the &
operator
impl BitAnd<u32> for uint16
[src]
type Output = Self
The resulting type after applying the &
operator
fn bitand(self, other: u32) -> Self
The method for the &
operator
impl BitOr<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the |
operator
fn bitor(self, other: Self) -> Self
The method for the |
operator
impl BitOr<u32> for uint16
[src]
type Output = Self
The resulting type after applying the |
operator
fn bitor(self, other: u32) -> Self
The method for the |
operator
impl BitXor<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the ^
operator
fn bitxor(self, other: Self) -> Self
The method for the ^
operator
impl BitXor<u32> for uint16
[src]
type Output = Self
The resulting type after applying the ^
operator
fn bitxor(self, other: u32) -> Self
The method for the ^
operator
impl Shl<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the <<
operator
fn shl(self, other: Self) -> Self
The method for the <<
operator
impl Shl<u32> for uint16
[src]
type Output = Self
The resulting type after applying the <<
operator
fn shl(self, other: u32) -> Self
The method for the <<
operator
impl Shr<uint16> for uint16
[src]
type Output = Self
The resulting type after applying the >>
operator
fn shr(self, other: Self) -> Self
The method for the >>
operator
impl Shr<u32> for uint16
[src]
type Output = Self
The resulting type after applying the >>
operator
fn shr(self, other: u32) -> Self
The method for the >>
operator
impl Rem for uint16
[src]
type Output = Self
The resulting type after applying the %
operator
fn rem(self, other: Self) -> Self
The method for the %
operator
impl Not for uint16
[src]
type Output = Self
The resulting type after applying the !
operator
fn not(self) -> Self
The method for the unary !
operator