#[non_exhaustive]#[repr(u32)]pub enum cudnnBackendHeurMode_t {
CUDNN_HEUR_MODE_INSTANT = 0,
CUDNN_HEUR_MODE_B = 1,
CUDNN_HEUR_MODE_FALLBACK = 2,
CUDNN_HEUR_MODE_A = 3,
CUDNN_HEUR_MODES_COUNT = 4,
}
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.
CUDNN_HEUR_MODE_INSTANT = 0
CUDNN_HEUR_MODE_B = 1
CUDNN_HEUR_MODE_FALLBACK = 2
CUDNN_HEUR_MODE_A = 3
CUDNN_HEUR_MODES_COUNT = 4
Trait Implementations§
source§impl Clone for cudnnBackendHeurMode_t
impl Clone for cudnnBackendHeurMode_t
source§fn clone(&self) -> cudnnBackendHeurMode_t
fn clone(&self) -> cudnnBackendHeurMode_t
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 cudnnBackendHeurMode_t
impl Debug for cudnnBackendHeurMode_t
source§impl Hash for cudnnBackendHeurMode_t
impl Hash for cudnnBackendHeurMode_t
source§impl PartialEq for cudnnBackendHeurMode_t
impl PartialEq for cudnnBackendHeurMode_t
source§fn eq(&self, other: &cudnnBackendHeurMode_t) -> bool
fn eq(&self, other: &cudnnBackendHeurMode_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudnnBackendHeurMode_t
impl Eq for cudnnBackendHeurMode_t
impl StructuralPartialEq for cudnnBackendHeurMode_t
Auto Trait Implementations§
impl Freeze for cudnnBackendHeurMode_t
impl RefUnwindSafe for cudnnBackendHeurMode_t
impl Send for cudnnBackendHeurMode_t
impl Sync for cudnnBackendHeurMode_t
impl Unpin for cudnnBackendHeurMode_t
impl UnwindSafe for cudnnBackendHeurMode_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)