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