#[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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KernelEnqueueFlags
Source§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
Source§fn eq(&self, other: &KernelEnqueueFlags) -> bool
fn eq(&self, other: &KernelEnqueueFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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