#[repr(C)]pub struct Mem(_);
Expand description
cl_mem
Implementations
sourceimpl Mem
impl Mem
sourcepub unsafe fn from_raw_create_ptr(ptr: cl_mem) -> Mem
pub 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.
sourcepub unsafe fn from_raw_copied_ptr(ptr: cl_mem) -> Mem
pub 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.
Trait Implementations
impl<'a> MemCmdAll for &'a Mem
impl<'a> MemCmdAll for &'a mut Mem
impl<'a> MemCmdAll for Mem
impl<'a> MemCmdRw for &'a Mem
impl<'a> MemCmdRw for &'a mut Mem
impl<'a> MemCmdRw for Mem
impl Send for Mem
impl Sync for Mem
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more