# PageTableEntryX64 in riscv::paging - Rust
API documentation for the Rust `PageTableEntryX64` struct in crate `riscv`.
Keywords: rust, rustlang, rust-lang, PageTableEntryX64

# Struct riscv::paging::PageTableEntryX64

source · [−]

    pub struct PageTableEntryX64(_);

## Implementations

source

### impl PageTableEntryX64

source

#### pub fn debug_sv39<'a>(&'a self) -> PageTableEntryX64Printer<'a, PhysAddrSv39>

source

#### pub fn debug_sv48<'a>(&'a self) -> PageTableEntryX64Printer<'a, PhysAddrSv48>

## Trait Implementations

source

### impl Clone for PageTableEntryX64

source

#### fn clone(&self) -> PageTableEntryX64

Returns a copy of the value. Read more

1.0.0 · source

#### fn clone_from(&mut self, source: &Self)

Performs copy-assignment from `source`. Read more

source

### impl Debug for PageTableEntryX64

source

#### fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

source

### impl PTE for PageTableEntryX64

source

#### fn is_unused(&self) -> bool

source

#### fn set_unused(&mut self)

source

#### fn flags(&self) -> PageTableFlags

source

#### fn ppn(&self) -> usize

source

#### fn ppn_u64(&self) -> u64

source

#### fn addr<T: PhysicalAddress>(&self) -> T

source

#### fn frame<T: PhysicalAddress>(&self) -> FrameWith<T>

source

#### fn set<T: PhysicalAddress>(
&mut self,
frame: FrameWith<T>,
flags: PageTableFlags
)

source

#### fn flags_mut(&mut self) -> &mut PageTableFlags

source

### impl PTEIterableSlice<PageTableEntryX64> for Entries64

source

#### fn to_pte_slice(&self) -> &[ PageTableEntryX64 ]

source

#### fn to_pte_slice_mut(&mut self) -> &mut [ PageTableEntryX64 ]

source

#### fn pte_index(&self, index: usize) -> &PageTableEntryX64

source

#### fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX64

source

### impl PTEIterableSlice<PageTableEntryX64> for Entries64X4

source

#### fn to_pte_slice(&self) -> &[ PageTableEntryX64 ]

source

#### fn to_pte_slice_mut(&mut self) -> &mut [ PageTableEntryX64 ]

source

#### fn pte_index(&self, index: usize) -> &PageTableEntryX64

source

#### fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX64

source

### impl Copy for PageTableEntryX64

## Auto Trait Implementations

### impl RefUnwindSafe for PageTableEntryX64

### impl Send for PageTableEntryX64

### impl Sync for PageTableEntryX64

### impl Unpin for PageTableEntryX64

### impl UnwindSafe for PageTableEntryX64

## Blanket Implementations

source

### impl<T> Any for T where
T: 'static + ?Sized,

source

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

source

### impl<T> Borrow<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

source

### impl<T> BorrowMut<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

source

### impl<T> From<T> for T

const: unstable · source

#### fn from(t: T) -> T

Returns the argument unchanged.

source

### impl<T, U> Into<U> for T where
U: From<T>,

const: unstable · source

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

source

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

source

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.