Struct ocl_core::types::abs::CommandQueue
[−]
[src]
#[repr(C)]pub struct CommandQueue(_);
cl_command_queue
Methods
impl CommandQueue
[src]
unsafe fn from_raw_create_ptr(ptr: cl_command_queue) -> CommandQueue
[src]
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_command_queue) -> CommandQueue
[src]
Only call this when passing a copied pointer such as from an
clGet*****Info
function.
fn as_ptr(&self) -> cl_command_queue
[src]
Returns a pointer, do not store it.
fn device(&self) -> OclResult<DeviceId>
[src]
Returns the DeviceId
associated with this command queue.
fn context(&self) -> OclResult<Context>
[src]
Returns the Context
associated with this command queue.
fn context_ptr(&self) -> OclResult<cl_context>
[src]
Returns the cl_context
associated with this command queue.
Trait Implementations
impl Debug for CommandQueue
[src]
impl Clone for CommandQueue
[src]
fn clone(&self) -> CommandQueue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Drop for CommandQueue
[src]
impl AsRef<CommandQueue> for CommandQueue
[src]
fn as_ref(&self) -> &CommandQueue
[src]
Performs the conversion.