pub struct SemaphoreCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl 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§
Source§impl BitAnd for SemaphoreCreateFlags
impl BitAnd for SemaphoreCreateFlags
Source§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for SemaphoreCreateFlags
impl BitAndAssign for SemaphoreCreateFlags
Source§fn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for SemaphoreCreateFlags
impl BitOr for SemaphoreCreateFlags
Source§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for SemaphoreCreateFlags
impl BitOrAssign for SemaphoreCreateFlags
Source§fn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for SemaphoreCreateFlags
impl BitXor for SemaphoreCreateFlags
Source§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for SemaphoreCreateFlags
impl BitXorAssign for SemaphoreCreateFlags
Source§fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for SemaphoreCreateFlags
impl Clone for SemaphoreCreateFlags
Source§fn clone(&self) -> SemaphoreCreateFlags
fn clone(&self) -> SemaphoreCreateFlags
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 SemaphoreCreateFlags
impl Debug for SemaphoreCreateFlags
Source§impl Default for SemaphoreCreateFlags
impl Default for SemaphoreCreateFlags
Source§fn default() -> SemaphoreCreateFlags
fn default() -> SemaphoreCreateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for SemaphoreCreateFlags
impl Hash for SemaphoreCreateFlags
Source§impl Not for SemaphoreCreateFlags
impl Not for SemaphoreCreateFlags
Source§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> SemaphoreCreateFlags
fn not(self) -> SemaphoreCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for SemaphoreCreateFlags
impl Ord for SemaphoreCreateFlags
Source§fn cmp(&self, other: &SemaphoreCreateFlags) -> Ordering
fn cmp(&self, other: &SemaphoreCreateFlags) -> 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 SemaphoreCreateFlags
impl PartialEq for SemaphoreCreateFlags
Source§impl PartialOrd for SemaphoreCreateFlags
impl PartialOrd for SemaphoreCreateFlags
impl Copy for SemaphoreCreateFlags
impl Eq for SemaphoreCreateFlags
impl StructuralPartialEq for SemaphoreCreateFlags
Auto Trait Implementations§
impl Freeze for SemaphoreCreateFlags
impl RefUnwindSafe for SemaphoreCreateFlags
impl Send for SemaphoreCreateFlags
impl Sync for SemaphoreCreateFlags
impl Unpin for SemaphoreCreateFlags
impl UnwindSafe for SemaphoreCreateFlags
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