#[repr(C)]pub struct Sampler(_);
Expand description
cl_sampler
Implementations
sourceimpl Sampler
impl Sampler
sourcepub unsafe fn from_raw_create_ptr(ptr: cl_sampler) -> Sampler
pub unsafe fn from_raw_create_ptr(ptr: cl_sampler) -> Sampler
Only call this when passing a newly created pointer directly from
clCreate...
. Do not use this to clone or copy.
sourcepub unsafe fn as_ptr(&self) -> cl_sampler
pub unsafe fn as_ptr(&self) -> cl_sampler
Returns a pointer, do not store it.
Trait Implementations
impl Send for Sampler
impl Sync for Sampler
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