Trait hagane_simd::vector::Integer
[−]
[src]
pub trait Integer: Vector<Scalar = Self::IntegerScalar> + Rem<Output = Self> + BitAnd<Output = Self> + BitOr<Output = Self> + BitXor<Output = Self> + Shr<Self::IntegerScalar, Output = Self> + Shl<Self::IntegerScalar, Output = Self> { type IntegerScalar: IntegerScalar + Into<Self>; const SIGN_MASK: Self::Scalar; 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 { ... } }
Associated Types
type IntegerScalar: IntegerScalar + Into<Self>
Associated Constants
Provided Methods
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
Implementors
impl Integer for char2
impl Integer for char3
impl Integer for char4
impl Integer for char8
impl Integer for char16
impl Integer for uchar2
impl Integer for uchar3
impl Integer for uchar4
impl Integer for uchar8
impl Integer for uchar16
impl Integer for short2
impl Integer for short3
impl Integer for short4
impl Integer for short8
impl Integer for short16
impl Integer for ushort2
impl Integer for ushort3
impl Integer for ushort4
impl Integer for ushort8
impl Integer for ushort16
impl Integer for int2
impl Integer for int3
impl Integer for int4
impl Integer for int8
impl Integer for int16
impl Integer for uint2
impl Integer for uint3
impl Integer for uint4
impl Integer for uint8
impl Integer for uint16
impl Integer for long2
impl Integer for long3
impl Integer for long4
impl Integer for long8
impl Integer for long16
impl Integer for ulong2
impl Integer for ulong3
impl Integer for ulong4
impl Integer for ulong8
impl Integer for ulong16