#[repr(transparent)]pub struct SemaphoreCreateFlags(_);Expand description
Implementations
sourceimpl SemaphoreCreateFlags
impl SemaphoreCreateFlags
pub const fn empty() -> SemaphoreCreateFlags
pub const fn from_raw(x: u32) -> SemaphoreCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SemaphoreCreateFlags) -> bool
sourcepub const fn contains(self, other: SemaphoreCreateFlags) -> bool
pub const fn contains(self, other: SemaphoreCreateFlags) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitAnd<SemaphoreCreateFlags> for SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitAndAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
sourcefn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitOr<SemaphoreCreateFlags> for SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitOrAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
sourcefn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitXor<SemaphoreCreateFlags> for SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl BitXorAssign<SemaphoreCreateFlags> for SemaphoreCreateFlags
sourcefn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SemaphoreCreateFlags
impl Clone for SemaphoreCreateFlags
sourcefn clone(&self) -> SemaphoreCreateFlags
fn clone(&self) -> SemaphoreCreateFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SemaphoreCreateFlags
impl Debug for SemaphoreCreateFlags
sourceimpl Default for SemaphoreCreateFlags
impl Default for SemaphoreCreateFlags
sourcefn default() -> SemaphoreCreateFlags
fn default() -> SemaphoreCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SemaphoreCreateFlags
impl Hash for SemaphoreCreateFlags
sourceimpl Not for SemaphoreCreateFlags
impl Not for SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> SemaphoreCreateFlags
fn not(self) -> SemaphoreCreateFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SemaphoreCreateFlags
impl Ord for SemaphoreCreateFlags
sourceimpl PartialEq<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl PartialEq<SemaphoreCreateFlags> for SemaphoreCreateFlags
sourcefn eq(&self, other: &SemaphoreCreateFlags) -> bool
fn eq(&self, other: &SemaphoreCreateFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SemaphoreCreateFlags) -> bool
fn ne(&self, other: &SemaphoreCreateFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SemaphoreCreateFlags> for SemaphoreCreateFlags
impl PartialOrd<SemaphoreCreateFlags> for SemaphoreCreateFlags
sourcefn partial_cmp(&self, other: &SemaphoreCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SemaphoreCreateFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for SemaphoreCreateFlags
impl Eq for SemaphoreCreateFlags
impl StructuralEq for SemaphoreCreateFlags
impl StructuralPartialEq for SemaphoreCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for SemaphoreCreateFlags
impl Send for SemaphoreCreateFlags
impl Sync for SemaphoreCreateFlags
impl Unpin for SemaphoreCreateFlags
impl UnwindSafe for SemaphoreCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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