Struct sgx_sync::FutexFlags
source · [−]#[repr(C)]pub struct FutexFlags(_);
Implementations
sourceimpl FutexFlags
impl FutexFlags
pub const PRIVATE: FutexFlags = _
pub const CLOCK_REALTIME: FutexFlags = _
pub const fn empty() -> FutexFlags
pub const fn all() -> FutexFlags
pub const fn bits(&self) -> u32
pub fn from_bits(bits: u32) -> Option<FutexFlags>
pub const fn from_bits_truncate(bits: u32) -> FutexFlags
sourcepub const unsafe fn from_bits_unchecked(bits: u32) -> FutexFlags
pub const unsafe fn from_bits_unchecked(bits: u32) -> FutexFlags
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: FutexFlags) -> bool
pub const fn intersects(&self, other: FutexFlags) -> bool
pub fn insert(&mut self, other: FutexFlags)
pub fn remove(&mut self, other: FutexFlags)
pub fn toggle(&mut self, other: FutexFlags)
Trait Implementations
sourceimpl BitAnd<FutexFlags> for FutexFlags
impl BitAnd<FutexFlags> for FutexFlags
type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: FutexFlags) -> FutexFlags
fn bitand(self, rhs: FutexFlags) -> FutexFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<FutexFlags> for FutexFlags
impl BitAndAssign<FutexFlags> for FutexFlags
sourcefn bitand_assign(&mut self, rhs: FutexFlags)
fn bitand_assign(&mut self, rhs: FutexFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<FutexFlags> for FutexFlags
impl BitOr<FutexFlags> for FutexFlags
type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: FutexFlags) -> FutexFlags
fn bitor(self, rhs: FutexFlags) -> FutexFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<FutexFlags> for FutexFlags
impl BitOrAssign<FutexFlags> for FutexFlags
sourcefn bitor_assign(&mut self, rhs: FutexFlags)
fn bitor_assign(&mut self, rhs: FutexFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<FutexFlags> for FutexFlags
impl BitXor<FutexFlags> for FutexFlags
type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: FutexFlags) -> FutexFlags
fn bitxor(self, rhs: FutexFlags) -> FutexFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<FutexFlags> for FutexFlags
impl BitXorAssign<FutexFlags> for FutexFlags
sourcefn bitxor_assign(&mut self, rhs: FutexFlags)
fn bitxor_assign(&mut self, rhs: FutexFlags)
Performs the
^=
operation. Read moresourceimpl Clone for FutexFlags
impl Clone for FutexFlags
sourcefn clone(&self) -> FutexFlags
fn clone(&self) -> FutexFlags
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 FutexFlags
impl Debug for FutexFlags
sourceimpl Default for FutexFlags
impl Default for FutexFlags
sourceimpl From<FutexFlags> for FutexClockId
impl From<FutexFlags> for FutexClockId
sourcefn from(flags: FutexFlags) -> FutexClockId
fn from(flags: FutexFlags) -> FutexClockId
Converts to this type from the input type.
sourceimpl Not for FutexFlags
impl Not for FutexFlags
type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> FutexFlags
fn not(self) -> FutexFlags
Performs the unary
!
operation. Read moresourceimpl PartialEq<FutexFlags> for FutexFlags
impl PartialEq<FutexFlags> for FutexFlags
sourcefn eq(&self, other: &FutexFlags) -> bool
fn eq(&self, other: &FutexFlags) -> bool
sourceimpl Sub<FutexFlags> for FutexFlags
impl Sub<FutexFlags> for FutexFlags
type Output = FutexFlags
type Output = FutexFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: FutexFlags) -> FutexFlags
fn sub(self, rhs: FutexFlags) -> FutexFlags
Performs the
-
operation. Read moresourceimpl SubAssign<FutexFlags> for FutexFlags
impl SubAssign<FutexFlags> for FutexFlags
sourcefn sub_assign(&mut self, rhs: FutexFlags)
fn sub_assign(&mut self, rhs: FutexFlags)
Performs the
-=
operation. Read moreimpl ContiguousMemory for FutexFlags
impl Copy for FutexFlags
impl Eq for FutexFlags
impl StructuralEq for FutexFlags
impl StructuralPartialEq for FutexFlags
Auto Trait Implementations
impl RefUnwindSafe for FutexFlags
impl Send for FutexFlags
impl Sync for FutexFlags
impl Unpin for FutexFlags
impl UnwindSafe for FutexFlags
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