pub struct Arm64PageBlockEntry(/* private fields */);
Implementations§
Source§impl Arm64PageBlockEntry
impl Arm64PageBlockEntry
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 with_mair_idx_checked(self, value: usize) -> Result<Self, ()>
pub const fn with_mair_idx_checked(self, value: usize) -> Result<Self, ()>
Bits: 2..5
Sourcepub const fn with_mair_idx(self, value: usize) -> Self
pub const fn with_mair_idx(self, value: usize) -> Self
Bits: 2..5
Sourcepub const fn set_mair_idx(&mut self, value: usize)
pub const fn set_mair_idx(&mut self, value: usize)
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
Source§impl Arm64PageBlockEntry
impl Arm64PageBlockEntry
pub fn set_xn(&mut self, xn: Arm64NoExecute)
Trait Implementations§
Source§impl Clone for Arm64PageBlockEntry
impl Clone for Arm64PageBlockEntry
Source§fn clone(&self) -> Arm64PageBlockEntry
fn clone(&self) -> Arm64PageBlockEntry
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 Arm64PageBlockEntry
impl Debug for Arm64PageBlockEntry
Source§impl Default for Arm64PageBlockEntry
impl Default for Arm64PageBlockEntry
Source§impl From<Arm64PageBlockEntry> for u64
impl From<Arm64PageBlockEntry> for u64
Source§fn from(v: Arm64PageBlockEntry) -> u64
fn from(v: Arm64PageBlockEntry) -> u64
Converts to this type from the input type.
Source§impl From<u64> for Arm64PageBlockEntry
impl From<u64> for Arm64PageBlockEntry
impl Copy for Arm64PageBlockEntry
Auto Trait Implementations§
impl Freeze for Arm64PageBlockEntry
impl RefUnwindSafe for Arm64PageBlockEntry
impl Send for Arm64PageBlockEntry
impl Sync for Arm64PageBlockEntry
impl Unpin for Arm64PageBlockEntry
impl UnwindSafe for Arm64PageBlockEntry
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