Struct sgx_types::types::AttributesFlags
source · #[repr(C)]pub struct AttributesFlags(/* private fields */);
Implementations§
source§impl 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§
source§impl BitAnd for AttributesFlags
impl BitAnd for AttributesFlags
§type Output = AttributesFlags
type Output = AttributesFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: AttributesFlags) -> AttributesFlags
fn bitand(self, rhs: AttributesFlags) -> AttributesFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for AttributesFlags
impl BitAndAssign for AttributesFlags
source§fn bitand_assign(&mut self, rhs: AttributesFlags)
fn bitand_assign(&mut self, rhs: AttributesFlags)
Performs the
&=
operation. Read moresource§impl BitOr for AttributesFlags
impl BitOr for AttributesFlags
§type Output = AttributesFlags
type Output = AttributesFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: AttributesFlags) -> AttributesFlags
fn bitor(self, rhs: AttributesFlags) -> AttributesFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for AttributesFlags
impl BitOrAssign for AttributesFlags
source§fn bitor_assign(&mut self, rhs: AttributesFlags)
fn bitor_assign(&mut self, rhs: AttributesFlags)
Performs the
|=
operation. Read moresource§impl BitXor for AttributesFlags
impl BitXor for AttributesFlags
§type Output = AttributesFlags
type Output = AttributesFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: AttributesFlags) -> AttributesFlags
fn bitxor(self, rhs: AttributesFlags) -> AttributesFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for AttributesFlags
impl BitXorAssign for AttributesFlags
source§fn bitxor_assign(&mut self, rhs: AttributesFlags)
fn bitxor_assign(&mut self, rhs: AttributesFlags)
Performs the
^=
operation. Read moresource§impl Clone for AttributesFlags
impl Clone for AttributesFlags
source§fn clone(&self) -> AttributesFlags
fn clone(&self) -> AttributesFlags
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 AttributesFlags
impl Debug for AttributesFlags
source§impl Default for AttributesFlags
impl Default for AttributesFlags
source§impl Not for AttributesFlags
impl Not for AttributesFlags
§type Output = AttributesFlags
type Output = AttributesFlags
The resulting type after applying the
!
operator.source§fn not(self) -> AttributesFlags
fn not(self) -> AttributesFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for AttributesFlags
impl PartialEq for AttributesFlags
source§fn eq(&self, other: &AttributesFlags) -> bool
fn eq(&self, other: &AttributesFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for AttributesFlags
impl Sub for AttributesFlags
§type Output = AttributesFlags
type Output = AttributesFlags
The resulting type after applying the
-
operator.source§fn sub(self, rhs: AttributesFlags) -> AttributesFlags
fn sub(self, rhs: AttributesFlags) -> AttributesFlags
Performs the
-
operation. Read moresource§impl SubAssign for AttributesFlags
impl SubAssign for AttributesFlags
source§fn 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§
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