#[repr(transparent)]pub struct PasidTranslationType(pub u8);Expand description
PASID granular translation type (PGTT, §9.6).
Tuple Fields§
§0: u8Implementations§
Source§impl PasidTranslationType
impl PasidTranslationType
Sourcepub const FIRST_STAGE: PasidTranslationType
pub const FIRST_STAGE: PasidTranslationType
First-stage only (unsupported by the second-stage-only profile).
Sourcepub const SECOND_STAGE: PasidTranslationType
pub const SECOND_STAGE: PasidTranslationType
Second-stage only.
Sourcepub const NESTED: PasidTranslationType
pub const NESTED: PasidTranslationType
Nested first/second-stage (unsupported).
Sourcepub const PASS_THROUGH: PasidTranslationType
pub const PASS_THROUGH: PasidTranslationType
Identity mapping.
Trait Implementations§
Source§impl Clone for PasidTranslationType
impl Clone for PasidTranslationType
Source§fn clone(&self) -> PasidTranslationType
fn clone(&self) -> PasidTranslationType
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 PasidTranslationType
impl Debug for PasidTranslationType
Source§impl Hash for PasidTranslationType
impl Hash for PasidTranslationType
Source§impl Inspect for PasidTranslationType
impl Inspect for PasidTranslationType
Source§impl Ord for PasidTranslationType
impl Ord for PasidTranslationType
Source§fn cmp(&self, other: &PasidTranslationType) -> Ordering
fn cmp(&self, other: &PasidTranslationType) -> 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 PasidTranslationType
impl PartialEq for PasidTranslationType
Source§impl PartialOrd for PasidTranslationType
impl PartialOrd for PasidTranslationType
impl Copy for PasidTranslationType
impl Eq for PasidTranslationType
impl StructuralPartialEq for PasidTranslationType
Auto Trait Implementations§
impl Freeze for PasidTranslationType
impl RefUnwindSafe for PasidTranslationType
impl Send for PasidTranslationType
impl Sync for PasidTranslationType
impl Unpin for PasidTranslationType
impl UnsafeUnpin for PasidTranslationType
impl UnwindSafe for PasidTranslationType
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