Struct page_attribute_table::PageAttributeTable
source · pub struct PageAttributeTable { /* private fields */ }
Expand description
The Page Attribute Table (PAT) consists of 8 “slots” that can each be configured with a different MemoryCachingType.
Implementations§
source§impl PageAttributeTable
impl PageAttributeTable
sourcepub const fn into_bytes(self) -> [u8; 8]
pub const fn into_bytes(self) -> [u8; 8]
sourcepub const fn from_bytes(bytes: [u8; 8]) -> Self
pub const fn from_bytes(bytes: [u8; 8]) -> Self
Converts the given bytes directly into the bitfield struct.
Trait Implementations§
source§impl Clone for PageAttributeTable
impl Clone for PageAttributeTable
source§fn clone(&self) -> PageAttributeTable
fn clone(&self) -> PageAttributeTable
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 From<PageAttributeTable> for u64where
[(); 64]: IsU64Compatible,
impl From<PageAttributeTable> for u64where [(); 64]: IsU64Compatible,
source§fn from(__bf_bitfield: PageAttributeTable) -> Self
fn from(__bf_bitfield: PageAttributeTable) -> Self
Converts to this type from the input type.
impl Copy for PageAttributeTable
Auto Trait Implementations§
impl RefUnwindSafe for PageAttributeTable
impl Send for PageAttributeTable
impl Sync for PageAttributeTable
impl Unpin for PageAttributeTable
impl UnwindSafe for PageAttributeTable
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