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