Enum page_table_entry::aarch64::MemAttr
source · #[repr(u64)]pub enum MemAttr {
Device = 0,
Normal = 1,
NormalNonCacheable = 2,
}
Expand description
The memory attributes index field in the descriptor, which is used to index into the MAIR (Memory Attribute Indirection Register).
Variants§
Device = 0
Device-nGnRE memory
Normal = 1
Normal memory
NormalNonCacheable = 2
Normal non-cacheable memory
Implementations§
Trait Implementations§
source§impl PartialEq for MemAttr
Available on AArch64 only.
impl PartialEq for MemAttr
Available on AArch64 only.
impl Copy for MemAttr
Available on AArch64 only.
impl Eq for MemAttr
Available on AArch64 only.
impl StructuralEq for MemAttr
Available on AArch64 only.
impl StructuralPartialEq for MemAttr
Available on AArch64 only.
Auto Trait Implementations§
impl RefUnwindSafe for MemAttr
impl Send for MemAttr
impl Sync for MemAttr
impl Unpin for MemAttr
impl UnwindSafe for MemAttr
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