Struct ocl_core::types::abs::Sampler [−][src]
#[repr(C)]pub struct Sampler(_);
cl_sampler
Methods
impl Sampler
[src]
impl Sampler
pub unsafe fn from_raw_create_ptr(ptr: cl_sampler) -> Sampler
[src]
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.
pub unsafe fn as_ptr(&self) -> cl_sampler
[src]
pub unsafe fn as_ptr(&self) -> cl_sampler
Returns a pointer, do not store it.
Trait Implementations
impl Debug for Sampler
[src]
impl Debug for Sampler
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Sampler
[src]
impl Clone for Sampler
fn clone(&self) -> Sampler
[src]
fn clone(&self) -> Sampler
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Drop for Sampler
[src]
impl Drop for Sampler
impl Sync for Sampler
[src]
impl Sync for Sampler
impl Send for Sampler
[src]
impl Send for Sampler