[][src]Struct fil_ocl_core::types::abs::CommandQueue

#[repr(C)]
pub struct CommandQueue(_);

cl_command_queue

Methods

impl CommandQueue[src]

pub 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.

pub 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.

pub fn as_ptr(&self) -> cl_command_queue[src]

Returns a pointer, do not store it.

pub fn device(&self) -> OclCoreResult<DeviceId>[src]

Returns the DeviceId associated with this command queue.

pub fn context(&self) -> OclCoreResult<Context>[src]

Returns the Context associated with this command queue.

pub fn context_ptr(&self) -> OclCoreResult<cl_context>[src]

Returns the cl_context associated with this command queue.

Trait Implementations

impl ClVersions for CommandQueue[src]

impl<'a> ClContextPtr for &'a CommandQueue[src]

impl Send for CommandQueue[src]

impl Sync for CommandQueue[src]

impl Drop for CommandQueue[src]

impl AsRef<CommandQueue> for CommandQueue[src]

impl Clone for CommandQueue[src]

impl Debug for CommandQueue[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]