#[repr(u64)]pub enum MemoryAttributeIndex {
Index0 = 0,
Index1 = 1,
Index2 = 2,
Index3 = 3,
Index4 = 4,
Index5 = 5,
Index6 = 6,
Index7 = 7,
}
Expand description
Legal indexes for memory attributes for aarch64 PTEs.
Variants§
Trait Implementations§
Source§impl Clone for MemoryAttributeIndex
impl Clone for MemoryAttributeIndex
Source§fn clone(&self) -> MemoryAttributeIndex
fn clone(&self) -> MemoryAttributeIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemoryAttributeIndex
impl Debug for MemoryAttributeIndex
Source§impl From<MemoryAttributeIndex> for u64
impl From<MemoryAttributeIndex> for u64
Source§fn from(value: MemoryAttributeIndex) -> Self
fn from(value: MemoryAttributeIndex) -> Self
Converts to this type from the input type.
Source§impl From<u64> for MemoryAttributeIndex
impl From<u64> for MemoryAttributeIndex
Source§impl From<usize> for MemoryAttributeIndex
impl From<usize> for MemoryAttributeIndex
Source§impl PartialEq for MemoryAttributeIndex
impl PartialEq for MemoryAttributeIndex
impl Copy for MemoryAttributeIndex
impl Eq for MemoryAttributeIndex
impl StructuralPartialEq for MemoryAttributeIndex
Auto Trait Implementations§
impl Freeze for MemoryAttributeIndex
impl RefUnwindSafe for MemoryAttributeIndex
impl Send for MemoryAttributeIndex
impl Sync for MemoryAttributeIndex
impl Unpin for MemoryAttributeIndex
impl UnwindSafe for MemoryAttributeIndex
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