Trait ocl_core::OclNum
[−]
[src]
pub unsafe trait OclNum: Debug + Display + Clone + Copy + Default + PartialOrd + Zero<Output = Self> + One<Output = Self> + Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + Rem<Self, Output = Self> + PartialEq<Self> + AddAssign<Self> + SubAssign<Self> + MulAssign<Self> + DivAssign<Self> + RemAssign<Self> + Sum<Self> + Product<Self> + 'static { }
A set of traits common to numeric built-in OpenCL scalar and vector primitives.
To describe the contents of buffers, etc., prefer using the more general
OclPrm
trait unless numeric operations are required.
Implementors
impl OclNum for Char
impl OclNum for Char2
impl OclNum for Char3
impl OclNum for Char4
impl OclNum for Char8
impl OclNum for Char16
impl OclNum for Uchar
impl OclNum for Uchar2
impl OclNum for Uchar3
impl OclNum for Uchar4
impl OclNum for Uchar8
impl OclNum for Uchar16
impl OclNum for Short
impl OclNum for Short2
impl OclNum for Short3
impl OclNum for Short4
impl OclNum for Short8
impl OclNum for Short16
impl OclNum for Ushort
impl OclNum for Ushort2
impl OclNum for Ushort3
impl OclNum for Ushort4
impl OclNum for Ushort8
impl OclNum for Ushort16
impl OclNum for Int
impl OclNum for Int2
impl OclNum for Int3
impl OclNum for Int4
impl OclNum for Int8
impl OclNum for Int16
impl OclNum for Uint
impl OclNum for Uint2
impl OclNum for Uint3
impl OclNum for Uint4
impl OclNum for Uint8
impl OclNum for Uint16
impl OclNum for Long
impl OclNum for Long2
impl OclNum for Long3
impl OclNum for Long4
impl OclNum for Long8
impl OclNum for Long16
impl OclNum for Ulong
impl OclNum for Ulong2
impl OclNum for Ulong3
impl OclNum for Ulong4
impl OclNum for Ulong8
impl OclNum for Ulong16
impl OclNum for Float
impl OclNum for Float2
impl OclNum for Float3
impl OclNum for Float4
impl OclNum for Float8
impl OclNum for Float16
impl OclNum for Double
impl OclNum for Double2
impl OclNum for Double3
impl OclNum for Double4
impl OclNum for Double8
impl OclNum for Double16
impl OclNum for u8
impl OclNum for i8
impl OclNum for u16
impl OclNum for i16
impl OclNum for u32
impl OclNum for i32
impl OclNum for u64
impl OclNum for i64
impl OclNum for usize
impl OclNum for isize
impl OclNum for f32
impl OclNum for f64