[][src]Struct riscv::register::satp::Satp

pub struct Satp { /* fields omitted */ }

satp register

Implementations

impl Satp[src]

pub fn bits(&self) -> usize[src]

Returns the contents of the register as raw bits

pub fn mode(&self) -> Mode[src]

Current address-translation scheme

pub fn asid(&self) -> usize[src]

Address space identifier

pub fn ppn(&self) -> usize[src]

Physical page number

Trait Implementations

impl Clone for Satp[src]

impl Copy for Satp[src]

impl Debug for Satp[src]

Auto Trait Implementations

impl Send for Satp

impl Sync for Satp

impl Unpin for Satp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.