Enum twizzler_abi::device::CacheType
source · #[repr(u32)]pub enum CacheType {
WriteBack,
WriteCombining,
WriteThrough,
Uncacheable,
MemoryMappedIO,
}
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 PartialEq<CacheType> for CacheType
impl PartialEq<CacheType> for CacheType
source§impl PartialOrd<CacheType> for CacheType
impl PartialOrd<CacheType> for CacheType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CacheType
impl Eq for CacheType
impl StructuralEq for CacheType
impl StructuralPartialEq for CacheType
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.