pub struct Aarch64PageBlockEntry(/* private fields */);
Implementations§
Source§impl Aarch64PageBlockEntry
impl Aarch64PageBlockEntry
Sourcepub const fn with_valid_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_valid_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_valid(self, value: bool) -> Self
pub const fn with_valid(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn with_page_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_page_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn mair_idx(&self) -> MemoryAttributeIndex
pub const fn mair_idx(&self) -> MemoryAttributeIndex
Bits: 2..5
Sourcepub const fn with_mair_idx_checked(
self,
value: MemoryAttributeIndex,
) -> Result<Self, ()>
pub const fn with_mair_idx_checked( self, value: MemoryAttributeIndex, ) -> Result<Self, ()>
Bits: 2..5
Sourcepub const fn with_mair_idx(self, value: MemoryAttributeIndex) -> Self
pub const fn with_mair_idx(self, value: MemoryAttributeIndex) -> Self
Bits: 2..5
Sourcepub const fn set_mair_idx(&mut self, value: MemoryAttributeIndex)
pub const fn set_mair_idx(&mut self, value: MemoryAttributeIndex)
Bits: 2..5
Sourcepub const fn set_mair_idx_checked(
&mut self,
value: MemoryAttributeIndex,
) -> Result<(), ()>
pub const fn set_mair_idx_checked( &mut self, value: MemoryAttributeIndex, ) -> Result<(), ()>
Bits: 2..5
Sourcepub const fn access_perm(&self) -> u64
pub const fn access_perm(&self) -> u64
Bits: 6..8
Sourcepub const fn with_access_perm_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_access_perm_checked(self, value: u64) -> Result<Self, ()>
Bits: 6..8
Sourcepub const fn with_access_perm(self, value: u64) -> Self
pub const fn with_access_perm(self, value: u64) -> Self
Bits: 6..8
Sourcepub const fn set_access_perm(&mut self, value: u64)
pub const fn set_access_perm(&mut self, value: u64)
Bits: 6..8
Bits: 8..10
Bits: 8..10
Bits: 8..10
Bits: 8..10
Bits: 8..10
Sourcepub const fn with_accessed_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_accessed_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_accessed(self, value: bool) -> Self
pub const fn with_accessed(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_accessed(&mut self, value: bool)
pub const fn set_accessed(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn not_global(&self) -> bool
pub const fn not_global(&self) -> bool
Bits: 11..12
Sourcepub const fn with_not_global_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_not_global_checked(self, value: bool) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_not_global(self, value: bool) -> Self
pub const fn with_not_global(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_not_global(&mut self, value: bool)
pub const fn set_not_global(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn address_pfn(&self) -> u64
pub const fn address_pfn(&self) -> u64
Bits: 12..47
Sourcepub const fn with_address_pfn_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_address_pfn_checked(self, value: u64) -> Result<Self, ()>
Bits: 12..47
Sourcepub const fn with_address_pfn(self, value: u64) -> Self
pub const fn with_address_pfn(self, value: u64) -> Self
Bits: 12..47
Sourcepub const fn set_address_pfn(&mut self, value: u64)
pub const fn set_address_pfn(&mut self, value: u64)
Bits: 12..47
Sourcepub const fn with_dirty_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_dirty_checked(self, value: bool) -> Result<Self, ()>
Bits: 51..52
Sourcepub const fn with_dirty(self, value: bool) -> Self
pub const fn with_dirty(self, value: bool) -> Self
Bits: 51..52
Sourcepub const fn with_contig_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_contig_checked(self, value: bool) -> Result<Self, ()>
Bits: 52..53
Sourcepub const fn with_contig(self, value: bool) -> Self
pub const fn with_contig(self, value: bool) -> Self
Bits: 52..53
Sourcepub const fn set_contig(&mut self, value: bool)
pub const fn set_contig(&mut self, value: bool)
Bits: 52..53
Sourcepub const fn priv_x_never(&self) -> bool
pub const fn priv_x_never(&self) -> bool
Bits: 53..54
Sourcepub const fn with_priv_x_never_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_priv_x_never_checked(self, value: bool) -> Result<Self, ()>
Bits: 53..54
Sourcepub const fn with_priv_x_never(self, value: bool) -> Self
pub const fn with_priv_x_never(self, value: bool) -> Self
Bits: 53..54
Sourcepub const fn set_priv_x_never(&mut self, value: bool)
pub const fn set_priv_x_never(&mut self, value: bool)
Bits: 53..54
Sourcepub const fn user_x_never(&self) -> bool
pub const fn user_x_never(&self) -> bool
Bits: 54..55
Sourcepub const fn with_user_x_never_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_user_x_never_checked(self, value: bool) -> Result<Self, ()>
Bits: 54..55
Sourcepub const fn with_user_x_never(self, value: bool) -> Self
pub const fn with_user_x_never(self, value: bool) -> Self
Bits: 54..55
Sourcepub const fn set_user_x_never(&mut self, value: bool)
pub const fn set_user_x_never(&mut self, value: bool)
Bits: 54..55
Trait Implementations§
Source§impl Clone for Aarch64PageBlockEntry
impl Clone for Aarch64PageBlockEntry
Source§fn clone(&self) -> Aarch64PageBlockEntry
fn clone(&self) -> Aarch64PageBlockEntry
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 Aarch64PageBlockEntry
impl Debug for Aarch64PageBlockEntry
Source§impl Default for Aarch64PageBlockEntry
impl Default for Aarch64PageBlockEntry
Source§impl From<Aarch64PageBlockEntry> for u64
impl From<Aarch64PageBlockEntry> for u64
Source§fn from(v: Aarch64PageBlockEntry) -> u64
fn from(v: Aarch64PageBlockEntry) -> u64
Converts to this type from the input type.
Source§impl From<u64> for Aarch64PageBlockEntry
impl From<u64> for Aarch64PageBlockEntry
impl Copy for Aarch64PageBlockEntry
Auto Trait Implementations§
impl Freeze for Aarch64PageBlockEntry
impl RefUnwindSafe for Aarch64PageBlockEntry
impl Send for Aarch64PageBlockEntry
impl Sync for Aarch64PageBlockEntry
impl Unpin for Aarch64PageBlockEntry
impl UnwindSafe for Aarch64PageBlockEntry
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