#[repr(u32)]pub enum CacheType {
WriteBack = 0,
WriteCombining = 1,
WriteThrough = 2,
Uncacheable = 3,
MemoryMappedIO = 4,
}
Expand description
For MMIO registers, we may need to specify the caching type.
Variants§
Trait Implementations§
source§impl Ord for CacheType
impl Ord for CacheType
source§impl PartialOrd for CacheType
impl PartialOrd for CacheType
impl Copy for CacheType
impl Eq for CacheType
impl StructuralPartialEq for CacheType
Auto Trait Implementations§
impl Freeze for CacheType
impl ObjSafe for CacheType
impl RefUnwindSafe for CacheType
impl Send for CacheType
impl Sync for CacheType
impl Unpin for CacheType
impl UnwindSafe for CacheType
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§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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.