Struct x86defs::tdx::TdxContextCode
source · #[repr(transparent)]pub struct TdxContextCode(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl TdxContextCode
impl TdxContextCode
pub const PLATFORM: TdxContextCode = _
pub const TD: TdxContextCode = _
pub const TD_VCPU: TdxContextCode = _
Trait Implementations§
source§impl Clone for TdxContextCode
impl Clone for TdxContextCode
source§fn clone(&self) -> TdxContextCode
fn clone(&self) -> TdxContextCode
Returns a copy 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 TdxContextCode
impl Debug for TdxContextCode
source§impl Hash for TdxContextCode
impl Hash for TdxContextCode
source§impl Ord for TdxContextCode
impl Ord for TdxContextCode
source§fn cmp(&self, other: &TdxContextCode) -> Ordering
fn cmp(&self, other: &TdxContextCode) -> 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 TdxContextCode
impl PartialEq for TdxContextCode
source§impl PartialOrd for TdxContextCode
impl PartialOrd for TdxContextCode
impl Copy for TdxContextCode
impl Eq for TdxContextCode
impl StructuralPartialEq for TdxContextCode
Auto Trait Implementations§
impl Freeze for TdxContextCode
impl RefUnwindSafe for TdxContextCode
impl Send for TdxContextCode
impl Sync for TdxContextCode
impl Unpin for TdxContextCode
impl UnwindSafe for TdxContextCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)