Trait ocl_core::OclScl [] [src]

pub unsafe trait OclScl: Copy + Clone + PartialOrd + NumCast + Default + Add + Sub + Mul + Div + Rem + Display + Debug + FromPrimitive + ToPrimitive + SampleRange { }

A scalar type usable within OpenCL kernels.

Meant as a grab bag of potentially useful traits for dealing with various scalar primitives. Primarily (solely?) used by testing and formatting functions.

To describe the contents of buffers, etc., prefer using the more general OclPrm trait unless scalar operations are required.

Implementors