Struct ocl_core::types::abs::Mem
[−]
[src]
#[repr(C)]pub struct Mem(_);
cl_mem
Methods
impl Mem
[src]
unsafe fn from_raw_create_ptr(ptr: cl_mem) -> Mem
Only call this when passing the original newly created pointer
directly from clCreate...
. Do not use this to clone or copy.
unsafe fn from_raw_copied_ptr(ptr: cl_mem) -> Mem
Only call this when passing a copied pointer such as from an
clGet*****Info
function.
fn as_ptr(&self) -> cl_mem
Returns a pointer, do not store it.
Trait Implementations
impl Debug for Mem
[src]
impl Clone for Mem
[src]
fn clone(&self) -> Mem
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
impl Drop for Mem
[src]
impl<T> AsMem<T> for Mem where
T: OclPrm,
[src]
T: OclPrm,