pub struct MemoryAttributeIndirectionEl1(pub [MemoryAttributeEl1; 8]);
Expand description
aarch64 MAIR_EL1 register, provides indices to use in the PTEs for memory types
Tuple Fields§
§0: [MemoryAttributeEl1; 8]
Implementations§
Source§impl MemoryAttributeIndirectionEl1
impl MemoryAttributeIndirectionEl1
pub fn index_of( &self, needle: MemoryAttributeEl1, ) -> Option<MemoryAttributeIndex>
Trait Implementations§
Source§impl Clone for MemoryAttributeIndirectionEl1
impl Clone for MemoryAttributeIndirectionEl1
Source§fn clone(&self) -> MemoryAttributeIndirectionEl1
fn clone(&self) -> MemoryAttributeIndirectionEl1
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 Default for MemoryAttributeIndirectionEl1
impl Default for MemoryAttributeIndirectionEl1
Source§fn default() -> MemoryAttributeIndirectionEl1
fn default() -> MemoryAttributeIndirectionEl1
Returns the “default value” for a type. Read more
Source§impl From<MemoryAttributeIndirectionEl1> for u64
impl From<MemoryAttributeIndirectionEl1> for u64
Source§fn from(value: MemoryAttributeIndirectionEl1) -> Self
fn from(value: MemoryAttributeIndirectionEl1) -> Self
Converts to this type from the input type.
Source§impl From<u64> for MemoryAttributeIndirectionEl1
impl From<u64> for MemoryAttributeIndirectionEl1
Source§impl PartialEq for MemoryAttributeIndirectionEl1
impl PartialEq for MemoryAttributeIndirectionEl1
Source§fn eq(&self, other: &MemoryAttributeIndirectionEl1) -> bool
fn eq(&self, other: &MemoryAttributeIndirectionEl1) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for MemoryAttributeIndirectionEl1
impl Eq for MemoryAttributeIndirectionEl1
impl StructuralPartialEq for MemoryAttributeIndirectionEl1
Auto Trait Implementations§
impl Freeze for MemoryAttributeIndirectionEl1
impl RefUnwindSafe for MemoryAttributeIndirectionEl1
impl Send for MemoryAttributeIndirectionEl1
impl Sync for MemoryAttributeIndirectionEl1
impl Unpin for MemoryAttributeIndirectionEl1
impl UnwindSafe for MemoryAttributeIndirectionEl1
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