Struct collenchyma::frameworks::opencl::program::Program
[−]
[src]
pub struct Program { /* fields omitted */ }
Defines a OpenCL Program.
A Program is OpenCL's version of Collenchyma's binary.
Methods
impl Program
[src]
fn from_isize(id: isize) -> Program
Initializes a new OpenCL device.
fn from_c(id: *mut c_void) -> Program
Initializes a new OpenCL device from its C type.
fn id_c(&self) -> *mut c_void
Returns the id as its C type.
Trait Implementations
impl Debug for Program
[src]
impl Copy for Program
[src]
impl Clone for Program
[src]
fn clone(&self) -> Program
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