#[repr(u32)]pub enum cudaComputeMode {
cudaComputeModeDefault = 0,
cudaComputeModeExclusive = 1,
cudaComputeModeProhibited = 2,
cudaComputeModeExclusiveProcess = 3,
}Variants§
cudaComputeModeDefault = 0
cudaComputeModeExclusive = 1
cudaComputeModeProhibited = 2
cudaComputeModeExclusiveProcess = 3
Trait Implementations§
Source§impl Clone for cudaComputeMode
impl Clone for cudaComputeMode
Source§fn clone(&self) -> cudaComputeMode
fn clone(&self) -> cudaComputeMode
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 cudaComputeMode
Source§impl Debug for cudaComputeMode
impl Debug for cudaComputeMode
impl Eq for cudaComputeMode
Source§impl Hash for cudaComputeMode
impl Hash for cudaComputeMode
Source§impl Ord for cudaComputeMode
impl Ord for cudaComputeMode
Source§fn cmp(&self, other: &cudaComputeMode) -> Ordering
fn cmp(&self, other: &cudaComputeMode) -> Ordering
1.21.0 (const: unstable) · 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 cudaComputeMode
impl PartialEq for cudaComputeMode
Source§fn eq(&self, other: &cudaComputeMode) -> bool
fn eq(&self, other: &cudaComputeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cudaComputeMode
impl PartialOrd for cudaComputeMode
impl StructuralPartialEq for cudaComputeMode
Auto Trait Implementations§
impl Freeze for cudaComputeMode
impl RefUnwindSafe for cudaComputeMode
impl Send for cudaComputeMode
impl Sync for cudaComputeMode
impl Unpin for cudaComputeMode
impl UnsafeUnpin for cudaComputeMode
impl UnwindSafe for cudaComputeMode
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