Struct ocl_core::types::abs::Program [] [src]

pub struct Program(_);

cl_program

Methods

impl Program
[src]

unsafe fn from_fresh_ptr(ptr: cl_program) -> Program

Only call this when passing a newly created pointer directly from clCreate.... Do not use this to clone or copy.

unsafe fn from_copied_ptr(ptr: cl_program) -> Program

Only call this when passing a copied pointer such as from an clGet*****Info function.

unsafe fn as_ptr(&self) -> cl_program

Returns a pointer, do not store it.

Trait Implementations

impl Debug for Program
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Program
[src]

fn clone(&self) -> Program

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 Program
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl Sync for Program
[src]

impl Send for Program
[src]