Struct sgx_urts::enclave::ExtFeatureBits
source · [−]#[repr(C)]pub struct ExtFeatureBits(_);
Implementations
sourceimpl ExtFeatureBits
impl ExtFeatureBits
pub const PCL: ExtFeatureBits = _
pub const SWITCHLESS: ExtFeatureBits = _
pub const KSS: ExtFeatureBits = _
pub const fn empty() -> ExtFeatureBits
pub const fn all() -> ExtFeatureBits
pub const fn bits(&self) -> u32
pub fn from_bits(bits: u32) -> Option<ExtFeatureBits>
pub const fn from_bits_truncate(bits: u32) -> ExtFeatureBits
sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> ExtFeatureBits
pub const unsafe fn from_bits_unchecked(bits: u32) -> ExtFeatureBits
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: ExtFeatureBits) -> bool
pub const fn intersects(&self, other: ExtFeatureBits) -> bool
pub fn insert(&mut self, other: ExtFeatureBits)
pub fn remove(&mut self, other: ExtFeatureBits)
pub fn toggle(&mut self, other: ExtFeatureBits)
Trait Implementations
sourceimpl BitAnd<ExtFeatureBits> for ExtFeatureBits
impl BitAnd<ExtFeatureBits> for ExtFeatureBits
type Output = ExtFeatureBits
type Output = ExtFeatureBits
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: ExtFeatureBits) -> ExtFeatureBits
fn bitand(self, rhs: ExtFeatureBits) -> ExtFeatureBits
Performs the
&
operation. Read moresourceimpl BitAndAssign<ExtFeatureBits> for ExtFeatureBits
impl BitAndAssign<ExtFeatureBits> for ExtFeatureBits
sourcefn bitand_assign(&mut self, rhs: ExtFeatureBits)
fn bitand_assign(&mut self, rhs: ExtFeatureBits)
Performs the
&=
operation. Read moresourceimpl BitOr<ExtFeatureBits> for ExtFeatureBits
impl BitOr<ExtFeatureBits> for ExtFeatureBits
type Output = ExtFeatureBits
type Output = ExtFeatureBits
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: ExtFeatureBits) -> ExtFeatureBits
fn bitor(self, rhs: ExtFeatureBits) -> ExtFeatureBits
Performs the
|
operation. Read moresourceimpl BitOrAssign<ExtFeatureBits> for ExtFeatureBits
impl BitOrAssign<ExtFeatureBits> for ExtFeatureBits
sourcefn bitor_assign(&mut self, rhs: ExtFeatureBits)
fn bitor_assign(&mut self, rhs: ExtFeatureBits)
Performs the
|=
operation. Read moresourceimpl BitXor<ExtFeatureBits> for ExtFeatureBits
impl BitXor<ExtFeatureBits> for ExtFeatureBits
type Output = ExtFeatureBits
type Output = ExtFeatureBits
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: ExtFeatureBits) -> ExtFeatureBits
fn bitxor(self, rhs: ExtFeatureBits) -> ExtFeatureBits
Performs the
^
operation. Read moresourceimpl BitXorAssign<ExtFeatureBits> for ExtFeatureBits
impl BitXorAssign<ExtFeatureBits> for ExtFeatureBits
sourcefn bitxor_assign(&mut self, rhs: ExtFeatureBits)
fn bitxor_assign(&mut self, rhs: ExtFeatureBits)
Performs the
^=
operation. Read moresourceimpl Clone for ExtFeatureBits
impl Clone for ExtFeatureBits
sourcefn clone(&self) -> ExtFeatureBits
fn clone(&self) -> ExtFeatureBits
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtFeatureBits
impl Debug for ExtFeatureBits
sourceimpl Default for ExtFeatureBits
impl Default for ExtFeatureBits
sourceimpl Not for ExtFeatureBits
impl Not for ExtFeatureBits
type Output = ExtFeatureBits
type Output = ExtFeatureBits
The resulting type after applying the
!
operator.sourcefn not(self) -> ExtFeatureBits
fn not(self) -> ExtFeatureBits
Performs the unary
!
operation. Read moresourceimpl PartialEq<ExtFeatureBits> for ExtFeatureBits
impl PartialEq<ExtFeatureBits> for ExtFeatureBits
sourcefn eq(&self, other: &ExtFeatureBits) -> bool
fn eq(&self, other: &ExtFeatureBits) -> bool
sourceimpl Sub<ExtFeatureBits> for ExtFeatureBits
impl Sub<ExtFeatureBits> for ExtFeatureBits
type Output = ExtFeatureBits
type Output = ExtFeatureBits
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: ExtFeatureBits) -> ExtFeatureBits
fn sub(self, rhs: ExtFeatureBits) -> ExtFeatureBits
Performs the
-
operation. Read moresourceimpl SubAssign<ExtFeatureBits> for ExtFeatureBits
impl SubAssign<ExtFeatureBits> for ExtFeatureBits
sourcefn sub_assign(&mut self, rhs: ExtFeatureBits)
fn sub_assign(&mut self, rhs: ExtFeatureBits)
Performs the
-=
operation. Read moreimpl ContiguousMemory for ExtFeatureBits
impl Copy for ExtFeatureBits
impl Eq for ExtFeatureBits
impl StructuralEq for ExtFeatureBits
impl StructuralPartialEq for ExtFeatureBits
Auto Trait Implementations
impl RefUnwindSafe for ExtFeatureBits
impl Send for ExtFeatureBits
impl Sync for ExtFeatureBits
impl Unpin for ExtFeatureBits
impl UnwindSafe for ExtFeatureBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more