#[repr(u32)]pub enum KernelEnqueueFlags {
NoWait = 0,
WaitKernel = 1,
WaitWorkGroup = 2,
}
Variants§
Implementations§
Source§impl KernelEnqueueFlags
impl KernelEnqueueFlags
pub fn from(val: u32) -> Option<KernelEnqueueFlags>
Trait Implementations§
Source§impl Clone for KernelEnqueueFlags
impl Clone for KernelEnqueueFlags
Source§fn clone(&self) -> KernelEnqueueFlags
fn clone(&self) -> KernelEnqueueFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KernelEnqueueFlags
impl Debug for KernelEnqueueFlags
Source§impl Hash for KernelEnqueueFlags
impl Hash for KernelEnqueueFlags
Source§impl PartialEq for KernelEnqueueFlags
impl PartialEq for KernelEnqueueFlags
impl Copy for KernelEnqueueFlags
impl StructuralPartialEq for KernelEnqueueFlags
Auto Trait Implementations§
impl Freeze for KernelEnqueueFlags
impl RefUnwindSafe for KernelEnqueueFlags
impl Send for KernelEnqueueFlags
impl Sync for KernelEnqueueFlags
impl Unpin for KernelEnqueueFlags
impl UnwindSafe for KernelEnqueueFlags
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
)