#[repr(u32)]pub enum CacheMode {
None = 0,
Pedantic = 1,
}Expand description
Controls what is considered a cache hit.
Variants§
Trait Implementations§
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.
Source§impl TryFromPrimitive for CacheMode
impl TryFromPrimitive for CacheMode
impl Copy for CacheMode
impl Eq for CacheMode
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