#[repr(u8)]pub enum CacheType {
NoCache = 0,
InstructionOnly = 1,
DataOnly = 2,
SeparateInstructionAndData = 3,
Unified = 4,
}Expand description
Cache type enum.
Variants§
NoCache = 0
No cache.
InstructionOnly = 1
Instruction cache only.
DataOnly = 2
Data cache only.
SeparateInstructionAndData = 3
Separate instruction and data caches.
Unified = 4
Unified cache.
Trait Implementations§
Source§impl TryFromPrimitive for CacheType
impl TryFromPrimitive for CacheType
impl Copy for CacheType
impl Eq for CacheType
impl StructuralPartialEq for CacheType
Auto Trait Implementations§
impl Freeze 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