Enum spirv::KernelEnqueueFlags
source · #[repr(u32)]pub enum KernelEnqueueFlags {
NoWait = 0,
WaitKernel = 1,
WaitWorkGroup = 2,
}
Expand description
SPIR-V operand kind: KernelEnqueueFlags
Variants§
Implementations§
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 FromStr for KernelEnqueueFlags
impl FromStr for KernelEnqueueFlags
source§impl Hash for KernelEnqueueFlags
impl Hash for KernelEnqueueFlags
source§impl Ord for KernelEnqueueFlags
impl Ord for KernelEnqueueFlags
source§fn cmp(&self, other: &KernelEnqueueFlags) -> Ordering
fn cmp(&self, other: &KernelEnqueueFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for KernelEnqueueFlags
impl PartialEq for KernelEnqueueFlags
source§fn eq(&self, other: &KernelEnqueueFlags) -> bool
fn eq(&self, other: &KernelEnqueueFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for KernelEnqueueFlags
impl PartialOrd for KernelEnqueueFlags
source§fn partial_cmp(&self, other: &KernelEnqueueFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &KernelEnqueueFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for KernelEnqueueFlags
impl Eq for KernelEnqueueFlags
impl StructuralEq for KernelEnqueueFlags
impl StructuralPartialEq for KernelEnqueueFlags
Auto Trait Implementations§
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