#[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 · 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 cudaComputeMode
impl Debug 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 · 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§impl PartialOrd for cudaComputeMode
impl PartialOrd for cudaComputeMode
impl Copy for cudaComputeMode
impl Eq 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 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