pub struct Aarch64PageTableEntry(/* private fields */);
Implementations§
Source§impl Aarch64PageTableEntry
impl Aarch64PageTableEntry
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 Aarch64PageTableEntry
impl Clone for Aarch64PageTableEntry
Source§fn clone(&self) -> Aarch64PageTableEntry
fn clone(&self) -> Aarch64PageTableEntry
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 Aarch64PageTableEntry
impl Debug for Aarch64PageTableEntry
Source§impl Default for Aarch64PageTableEntry
impl Default for Aarch64PageTableEntry
Source§impl From<Aarch64PageTableEntry> for u64
impl From<Aarch64PageTableEntry> for u64
Source§fn from(v: Aarch64PageTableEntry) -> u64
fn from(v: Aarch64PageTableEntry) -> u64
Converts to this type from the input type.
Source§impl From<u64> for Aarch64PageTableEntry
impl From<u64> for Aarch64PageTableEntry
impl Copy for Aarch64PageTableEntry
Auto Trait Implementations§
impl Freeze for Aarch64PageTableEntry
impl RefUnwindSafe for Aarch64PageTableEntry
impl Send for Aarch64PageTableEntry
impl Sync for Aarch64PageTableEntry
impl Unpin for Aarch64PageTableEntry
impl UnwindSafe for Aarch64PageTableEntry
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