Skip to main content

CacheLevel

Trait CacheLevel 

Source
pub trait CacheLevel {
    const HINT: i32;
}
Expand description

Cache level marker traits for compile-time dispatch

Required Associated Constants§

Source

const HINT: i32

The prefetch hint value for this cache level

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§