#[repr(transparent)]pub struct TranslationType(pub u8);Expand description
Translation type for context entries (§9.3).
Tuple Fields§
§0: u8Implementations§
Source§impl TranslationType
impl TranslationType
Sourcepub const UNTRANSLATED_ONLY: TranslationType
pub const UNTRANSLATED_ONLY: TranslationType
Untranslated requests only — second-level translation applied.
Sourcepub const ALL: TranslationType
pub const ALL: TranslationType
All requests — second-level translation applied to both translated and untranslated requests.
Sourcepub const PASS_THROUGH: TranslationType
pub const PASS_THROUGH: TranslationType
Pass-through — IOVA = GPA (identity mapping).
Trait Implementations§
Source§impl Clone for TranslationType
impl Clone for TranslationType
Source§fn clone(&self) -> TranslationType
fn clone(&self) -> TranslationType
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 TranslationType
impl Debug for TranslationType
Source§impl Hash for TranslationType
impl Hash for TranslationType
Source§impl Inspect for TranslationType
impl Inspect for TranslationType
Source§impl Ord for TranslationType
impl Ord for TranslationType
Source§fn cmp(&self, other: &TranslationType) -> Ordering
fn cmp(&self, other: &TranslationType) -> 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 TranslationType
impl PartialEq for TranslationType
Source§impl PartialOrd for TranslationType
impl PartialOrd for TranslationType
impl Copy for TranslationType
impl Eq for TranslationType
impl StructuralPartialEq for TranslationType
Auto Trait Implementations§
impl Freeze for TranslationType
impl RefUnwindSafe for TranslationType
impl Send for TranslationType
impl Sync for TranslationType
impl Unpin for TranslationType
impl UnsafeUnpin for TranslationType
impl UnwindSafe for TranslationType
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