pub struct Compute;
Expand description
Capable of compute commands execution.
Trait Implementations§
Source§impl Capability for Compute
impl Capability for Compute
Source§fn from_queue_type(queue_type: QueueType) -> Option<Self>
fn from_queue_type(queue_type: QueueType) -> Option<Self>
Try to create capability instance from queue_type.
Instance will be created if all required queue_type set.
Source§fn into_queue_type(self) -> QueueType
fn into_queue_type(self) -> QueueType
Convert into
QueueType
impl Copy for Compute
Auto Trait Implementations§
impl Freeze for Compute
impl RefUnwindSafe for Compute
impl Send for Compute
impl Sync for Compute
impl Unpin for Compute
impl UnwindSafe for Compute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)