Trait CommandQueuePtr

Source
pub unsafe trait CommandQueuePtr: Sized {
    // Required method
    unsafe fn command_queue_ptr(&self) -> cl_command_queue;

    // Provided methods
    fn address(&self) -> String { ... }
    unsafe fn info<T: Copy>(&self, flag: CQInfo) -> Output<ClPointer<T>> { ... }
    unsafe fn cl_context(&self) -> Output<cl_context> { ... }
    unsafe fn context(&self) -> Output<ClContext> { ... }
    unsafe fn cl_device_id(&self) -> Output<cl_device_id> { ... }
    unsafe fn device(&self) -> Output<ClDeviceID> { ... }
    unsafe fn reference_count(&self) -> Output<u32> { ... }
    unsafe fn cl_command_queue_properties(
        &self,
    ) -> Output<cl_command_queue_properties> { ... }
    unsafe fn properties(&self) -> Output<CommandQueueProperties> { ... }
}

Required Methods§

Provided Methods§

Source

fn address(&self) -> String

Source

unsafe fn info<T: Copy>(&self, flag: CQInfo) -> Output<ClPointer<T>>

Source

unsafe fn cl_context(&self) -> Output<cl_context>

Source

unsafe fn context(&self) -> Output<ClContext>

Source

unsafe fn cl_device_id(&self) -> Output<cl_device_id>

Source

unsafe fn device(&self) -> Output<ClDeviceID>

Source

unsafe fn reference_count(&self) -> Output<u32>

Source

unsafe fn cl_command_queue_properties( &self, ) -> Output<cl_command_queue_properties>

Source

unsafe fn properties(&self) -> Output<CommandQueueProperties>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§