pub struct Arm64PageTableEntry(/* private fields */);
Implementations§
Source§impl Arm64PageTableEntry
impl Arm64PageTableEntry
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_table_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_table_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_table(self, value: bool) -> Self
pub const fn with_table(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn next_table_pfn(&self) -> u64
pub const fn next_table_pfn(&self) -> u64
Bits: 12..47
Sourcepub const fn with_next_table_pfn_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_next_table_pfn_checked(self, value: u64) -> Result<Self, ()>
Bits: 12..47
Sourcepub const fn with_next_table_pfn(self, value: u64) -> Self
pub const fn with_next_table_pfn(self, value: u64) -> Self
Bits: 12..47
Sourcepub const fn set_next_table_pfn(&mut self, value: u64)
pub const fn set_next_table_pfn(&mut self, value: u64)
Bits: 12..47
Sourcepub const fn priv_x_never(&self) -> bool
pub const fn priv_x_never(&self) -> bool
Bits: 59..60
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: 59..60
Sourcepub const fn with_priv_x_never(self, value: bool) -> Self
pub const fn with_priv_x_never(self, value: bool) -> Self
Bits: 59..60
Sourcepub const fn set_priv_x_never(&mut self, value: bool)
pub const fn set_priv_x_never(&mut self, value: bool)
Bits: 59..60
Sourcepub const fn user_x_never(&self) -> bool
pub const fn user_x_never(&self) -> bool
Bits: 60..61
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: 60..61
Sourcepub const fn with_user_x_never(self, value: bool) -> Self
pub const fn with_user_x_never(self, value: bool) -> Self
Bits: 60..61
Sourcepub const fn set_user_x_never(&mut self, value: bool)
pub const fn set_user_x_never(&mut self, value: bool)
Bits: 60..61
Sourcepub const fn access_perm(&self) -> u64
pub const fn access_perm(&self) -> u64
Bits: 61..63
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: 61..63
Sourcepub const fn with_access_perm(self, value: u64) -> Self
pub const fn with_access_perm(self, value: u64) -> Self
Bits: 61..63
Sourcepub const fn set_access_perm(&mut self, value: u64)
pub const fn set_access_perm(&mut self, value: u64)
Bits: 61..63
Sourcepub const fn non_secure(&self) -> bool
pub const fn non_secure(&self) -> bool
Bits: 63..64
Sourcepub const fn with_non_secure_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_non_secure_checked(self, value: bool) -> Result<Self, ()>
Bits: 63..64
Sourcepub const fn with_non_secure(self, value: bool) -> Self
pub const fn with_non_secure(self, value: bool) -> Self
Bits: 63..64
Sourcepub const fn set_non_secure(&mut self, value: bool)
pub const fn set_non_secure(&mut self, value: bool)
Bits: 63..64
Trait Implementations§
Source§impl Clone for Arm64PageTableEntry
impl Clone for Arm64PageTableEntry
Source§fn clone(&self) -> Arm64PageTableEntry
fn clone(&self) -> Arm64PageTableEntry
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 Arm64PageTableEntry
impl Debug for Arm64PageTableEntry
Source§impl Default for Arm64PageTableEntry
impl Default for Arm64PageTableEntry
Source§impl From<Arm64PageTableEntry> for u64
impl From<Arm64PageTableEntry> for u64
Source§fn from(v: Arm64PageTableEntry) -> u64
fn from(v: Arm64PageTableEntry) -> u64
Converts to this type from the input type.
Source§impl From<u64> for Arm64PageTableEntry
impl From<u64> for Arm64PageTableEntry
impl Copy for Arm64PageTableEntry
Auto Trait Implementations§
impl Freeze for Arm64PageTableEntry
impl RefUnwindSafe for Arm64PageTableEntry
impl Send for Arm64PageTableEntry
impl Sync for Arm64PageTableEntry
impl Unpin for Arm64PageTableEntry
impl UnwindSafe for Arm64PageTableEntry
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