pub struct SemaphoreCreateFlagBits(/* private fields */);Expand description
Implementations§
Source§impl SemaphoreCreateFlagBits
impl SemaphoreCreateFlagBits
pub const fn empty() -> SemaphoreCreateFlagBits
pub const fn from_raw(value: u32) -> SemaphoreCreateFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: SemaphoreCreateFlagBits) -> bool
pub const fn all() -> SemaphoreCreateFlagBits
Trait Implementations§
Source§impl BitAnd for SemaphoreCreateFlagBits
impl BitAnd for SemaphoreCreateFlagBits
Source§type Output = SemaphoreCreateFlagBits
type Output = SemaphoreCreateFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
fn bitand(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for SemaphoreCreateFlagBits
impl BitAndAssign for SemaphoreCreateFlagBits
Source§fn bitand_assign(&mut self, rhs: SemaphoreCreateFlagBits)
fn bitand_assign(&mut self, rhs: SemaphoreCreateFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for SemaphoreCreateFlagBits
impl BitOr for SemaphoreCreateFlagBits
Source§type Output = SemaphoreCreateFlagBits
type Output = SemaphoreCreateFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
fn bitor(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for SemaphoreCreateFlagBits
impl BitOrAssign for SemaphoreCreateFlagBits
Source§fn bitor_assign(&mut self, rhs: SemaphoreCreateFlagBits)
fn bitor_assign(&mut self, rhs: SemaphoreCreateFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for SemaphoreCreateFlagBits
impl BitXor for SemaphoreCreateFlagBits
Source§type Output = SemaphoreCreateFlagBits
type Output = SemaphoreCreateFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
fn bitxor(self, rhs: SemaphoreCreateFlagBits) -> SemaphoreCreateFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for SemaphoreCreateFlagBits
impl BitXorAssign for SemaphoreCreateFlagBits
Source§fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlagBits)
fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlagBits)
Performs the
^= operation. Read moreSource§impl Clone for SemaphoreCreateFlagBits
impl Clone for SemaphoreCreateFlagBits
Source§fn clone(&self) -> SemaphoreCreateFlagBits
fn clone(&self) -> SemaphoreCreateFlagBits
Returns a duplicate 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 SemaphoreCreateFlagBits
impl Debug for SemaphoreCreateFlagBits
Source§impl Default for SemaphoreCreateFlagBits
impl Default for SemaphoreCreateFlagBits
Source§fn default() -> SemaphoreCreateFlagBits
fn default() -> SemaphoreCreateFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for SemaphoreCreateFlagBits
impl Hash for SemaphoreCreateFlagBits
Source§impl Not for SemaphoreCreateFlagBits
impl Not for SemaphoreCreateFlagBits
Source§type Output = SemaphoreCreateFlagBits
type Output = SemaphoreCreateFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> SemaphoreCreateFlagBits
fn not(self) -> SemaphoreCreateFlagBits
Performs the unary
! operation. Read moreSource§impl Ord for SemaphoreCreateFlagBits
impl Ord for SemaphoreCreateFlagBits
Source§fn cmp(&self, other: &SemaphoreCreateFlagBits) -> Ordering
fn cmp(&self, other: &SemaphoreCreateFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SemaphoreCreateFlagBits
impl PartialEq for SemaphoreCreateFlagBits
Source§impl PartialOrd for SemaphoreCreateFlagBits
impl PartialOrd for SemaphoreCreateFlagBits
impl Copy for SemaphoreCreateFlagBits
impl Eq for SemaphoreCreateFlagBits
impl StructuralPartialEq for SemaphoreCreateFlagBits
Auto Trait Implementations§
impl Freeze for SemaphoreCreateFlagBits
impl RefUnwindSafe for SemaphoreCreateFlagBits
impl Send for SemaphoreCreateFlagBits
impl Sync for SemaphoreCreateFlagBits
impl Unpin for SemaphoreCreateFlagBits
impl UnsafeUnpin for SemaphoreCreateFlagBits
impl UnwindSafe for SemaphoreCreateFlagBits
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