Struct sgx_types::types::MiscSelect
source · #[repr(C)]pub struct MiscSelect(/* private fields */);
Implementations§
source§impl MiscSelect
impl MiscSelect
pub const EXINFO: MiscSelect = _
pub const CPINFO: MiscSelect = _
pub const fn empty() -> MiscSelect
pub const fn all() -> MiscSelect
pub const fn bits(&self) -> u32
pub fn from_bits(bits: u32) -> Option<MiscSelect>
pub const fn from_bits_truncate(bits: u32) -> MiscSelect
sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> MiscSelect
pub const unsafe fn from_bits_unchecked(bits: u32) -> MiscSelect
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: MiscSelect) -> bool
pub const fn intersects(&self, other: MiscSelect) -> bool
pub fn insert(&mut self, other: MiscSelect)
pub fn remove(&mut self, other: MiscSelect)
pub fn toggle(&mut self, other: MiscSelect)
Trait Implementations§
source§impl BitAnd for MiscSelect
impl BitAnd for MiscSelect
§type Output = MiscSelect
type Output = MiscSelect
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: MiscSelect) -> MiscSelect
fn bitand(self, rhs: MiscSelect) -> MiscSelect
Performs the
&
operation. Read moresource§impl BitAndAssign for MiscSelect
impl BitAndAssign for MiscSelect
source§fn bitand_assign(&mut self, rhs: MiscSelect)
fn bitand_assign(&mut self, rhs: MiscSelect)
Performs the
&=
operation. Read moresource§impl BitOr for MiscSelect
impl BitOr for MiscSelect
§type Output = MiscSelect
type Output = MiscSelect
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: MiscSelect) -> MiscSelect
fn bitor(self, rhs: MiscSelect) -> MiscSelect
Performs the
|
operation. Read moresource§impl BitOrAssign for MiscSelect
impl BitOrAssign for MiscSelect
source§fn bitor_assign(&mut self, rhs: MiscSelect)
fn bitor_assign(&mut self, rhs: MiscSelect)
Performs the
|=
operation. Read moresource§impl BitXor for MiscSelect
impl BitXor for MiscSelect
§type Output = MiscSelect
type Output = MiscSelect
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: MiscSelect) -> MiscSelect
fn bitxor(self, rhs: MiscSelect) -> MiscSelect
Performs the
^
operation. Read moresource§impl BitXorAssign for MiscSelect
impl BitXorAssign for MiscSelect
source§fn bitxor_assign(&mut self, rhs: MiscSelect)
fn bitxor_assign(&mut self, rhs: MiscSelect)
Performs the
^=
operation. Read moresource§impl Clone for MiscSelect
impl Clone for MiscSelect
source§fn clone(&self) -> MiscSelect
fn clone(&self) -> MiscSelect
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 MiscSelect
impl Debug for MiscSelect
source§impl Default for MiscSelect
impl Default for MiscSelect
source§impl Not for MiscSelect
impl Not for MiscSelect
§type Output = MiscSelect
type Output = MiscSelect
The resulting type after applying the
!
operator.source§fn not(self) -> MiscSelect
fn not(self) -> MiscSelect
Performs the unary
!
operation. Read moresource§impl PartialEq for MiscSelect
impl PartialEq for MiscSelect
source§fn eq(&self, other: &MiscSelect) -> bool
fn eq(&self, other: &MiscSelect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for MiscSelect
impl Sub for MiscSelect
§type Output = MiscSelect
type Output = MiscSelect
The resulting type after applying the
-
operator.source§fn sub(self, rhs: MiscSelect) -> MiscSelect
fn sub(self, rhs: MiscSelect) -> MiscSelect
Performs the
-
operation. Read moresource§impl SubAssign for MiscSelect
impl SubAssign for MiscSelect
source§fn sub_assign(&mut self, rhs: MiscSelect)
fn sub_assign(&mut self, rhs: MiscSelect)
Performs the
-=
operation. Read moreimpl ContiguousMemory for MiscSelect
impl Copy for MiscSelect
impl Eq for MiscSelect
impl StructuralEq for MiscSelect
impl StructuralPartialEq for MiscSelect
Auto Trait Implementations§
impl RefUnwindSafe for MiscSelect
impl Send for MiscSelect
impl Sync for MiscSelect
impl Unpin for MiscSelect
impl UnwindSafe for MiscSelect
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