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