#[non_exhaustive]#[repr(u32)]pub enum CacheMode {
None = 0,
Pedantic = 1,
}Expand description
Controls what is considered a cache hit.
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.
Trait Implementations§
impl Copy for CacheMode
impl Eq for CacheMode
Source§impl From<CacheMode> for cutensorCacheMode_t
impl From<CacheMode> for cutensorCacheMode_t
Source§impl From<cutensorCacheMode_t> for CacheMode
impl From<cutensorCacheMode_t> for CacheMode
Source§fn from(value: cutensorCacheMode_t) -> Self
fn from(value: cutensorCacheMode_t) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CacheMode
Auto Trait Implementations§
impl Freeze for CacheMode
impl RefUnwindSafe for CacheMode
impl Send for CacheMode
impl Sync for CacheMode
impl Unpin for CacheMode
impl UnsafeUnpin for CacheMode
impl UnwindSafe for CacheMode
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