Enum rcudnn_sys::cudaComputeMode
source · #[non_exhaustive]#[repr(u32)]pub enum cudaComputeMode {
cudaComputeModeDefault = 0,
cudaComputeModeExclusive = 1,
cudaComputeModeProhibited = 2,
cudaComputeModeExclusiveProcess = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 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 cudaComputeMode
impl Debug for cudaComputeMode
source§impl Hash for cudaComputeMode
impl Hash for cudaComputeMode
source§impl PartialEq for cudaComputeMode
impl PartialEq for cudaComputeMode
source§fn eq(&self, other: &cudaComputeMode) -> bool
fn eq(&self, other: &cudaComputeMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaComputeMode
impl Eq for cudaComputeMode
impl StructuralPartialEq for cudaComputeMode
Auto Trait Implementations§
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