#[repr(transparent)]pub struct TranslationTableMode(pub u8);Expand description
Translation table mode in RTADDR.TTM (§11.4.5).
Tuple Fields§
§0: u8Implementations§
Source§impl TranslationTableMode
impl TranslationTableMode
Sourcepub const LEGACY: TranslationTableMode
pub const LEGACY: TranslationTableMode
Legacy root/context tables.
Sourcepub const SCALABLE: TranslationTableMode
pub const SCALABLE: TranslationTableMode
Scalable root/context and PASID tables.
Sourcepub const ABORT_DMA: TranslationTableMode
pub const ABORT_DMA: TranslationTableMode
Abort DMA (not supported by the emulator).
Trait Implementations§
Source§impl Clone for TranslationTableMode
impl Clone for TranslationTableMode
Source§fn clone(&self) -> TranslationTableMode
fn clone(&self) -> TranslationTableMode
Returns a duplicate 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 TranslationTableMode
impl Debug for TranslationTableMode
Source§impl Hash for TranslationTableMode
impl Hash for TranslationTableMode
Source§impl Inspect for TranslationTableMode
impl Inspect for TranslationTableMode
Source§impl Ord for TranslationTableMode
impl Ord for TranslationTableMode
Source§fn cmp(&self, other: &TranslationTableMode) -> Ordering
fn cmp(&self, other: &TranslationTableMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TranslationTableMode
impl PartialEq for TranslationTableMode
Source§impl PartialOrd for TranslationTableMode
impl PartialOrd for TranslationTableMode
impl Copy for TranslationTableMode
impl Eq for TranslationTableMode
impl StructuralPartialEq for TranslationTableMode
Auto Trait Implementations§
impl Freeze for TranslationTableMode
impl RefUnwindSafe for TranslationTableMode
impl Send for TranslationTableMode
impl Sync for TranslationTableMode
impl Unpin for TranslationTableMode
impl UnsafeUnpin for TranslationTableMode
impl UnwindSafe for TranslationTableMode
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