pub struct SemaphoreWaitFlags(/* private fields */);Expand description
Implementations§
Source§impl SemaphoreWaitFlags
impl SemaphoreWaitFlags
pub const fn empty() -> SemaphoreWaitFlags
pub const fn from_raw(x: u32) -> SemaphoreWaitFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SemaphoreWaitFlags) -> bool
Sourcepub const fn contains(self, other: SemaphoreWaitFlags) -> bool
pub const fn contains(self, other: SemaphoreWaitFlags) -> bool
Returns whether other is a subset of self
Source§impl SemaphoreWaitFlags
impl SemaphoreWaitFlags
pub const ANY: SemaphoreWaitFlags
Source§impl SemaphoreWaitFlags
Generated from ‘VK_KHR_timeline_semaphore’
impl SemaphoreWaitFlags
Generated from ‘VK_KHR_timeline_semaphore’
pub const ANY_KHR: SemaphoreWaitFlags = Self::ANY
Trait Implementations§
Source§impl BitAnd for SemaphoreWaitFlags
impl BitAnd for SemaphoreWaitFlags
Source§type Output = SemaphoreWaitFlags
type Output = SemaphoreWaitFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
fn bitand(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for SemaphoreWaitFlags
impl BitAndAssign for SemaphoreWaitFlags
Source§fn bitand_assign(&mut self, rhs: SemaphoreWaitFlags)
fn bitand_assign(&mut self, rhs: SemaphoreWaitFlags)
Performs the
&= operation. Read moreSource§impl BitOr for SemaphoreWaitFlags
impl BitOr for SemaphoreWaitFlags
Source§type Output = SemaphoreWaitFlags
type Output = SemaphoreWaitFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
fn bitor(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for SemaphoreWaitFlags
impl BitOrAssign for SemaphoreWaitFlags
Source§fn bitor_assign(&mut self, rhs: SemaphoreWaitFlags)
fn bitor_assign(&mut self, rhs: SemaphoreWaitFlags)
Performs the
|= operation. Read moreSource§impl BitXor for SemaphoreWaitFlags
impl BitXor for SemaphoreWaitFlags
Source§type Output = SemaphoreWaitFlags
type Output = SemaphoreWaitFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
fn bitxor(self, rhs: SemaphoreWaitFlags) -> SemaphoreWaitFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for SemaphoreWaitFlags
impl BitXorAssign for SemaphoreWaitFlags
Source§fn bitxor_assign(&mut self, rhs: SemaphoreWaitFlags)
fn bitxor_assign(&mut self, rhs: SemaphoreWaitFlags)
Performs the
^= operation. Read moreSource§impl Clone for SemaphoreWaitFlags
impl Clone for SemaphoreWaitFlags
Source§fn clone(&self) -> SemaphoreWaitFlags
fn clone(&self) -> SemaphoreWaitFlags
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemaphoreWaitFlags
impl Debug for SemaphoreWaitFlags
Source§impl Default for SemaphoreWaitFlags
impl Default for SemaphoreWaitFlags
Source§fn default() -> SemaphoreWaitFlags
fn default() -> SemaphoreWaitFlags
Returns the “default value” for a type. Read more
Source§impl Hash for SemaphoreWaitFlags
impl Hash for SemaphoreWaitFlags
Source§impl Not for SemaphoreWaitFlags
impl Not for SemaphoreWaitFlags
Source§type Output = SemaphoreWaitFlags
type Output = SemaphoreWaitFlags
The resulting type after applying the
! operator.Source§fn not(self) -> SemaphoreWaitFlags
fn not(self) -> SemaphoreWaitFlags
Performs the unary
! operation. Read moreSource§impl Ord for SemaphoreWaitFlags
impl Ord for SemaphoreWaitFlags
Source§impl PartialEq for SemaphoreWaitFlags
impl PartialEq for SemaphoreWaitFlags
Source§impl PartialOrd for SemaphoreWaitFlags
impl PartialOrd for SemaphoreWaitFlags
impl Copy for SemaphoreWaitFlags
impl Eq for SemaphoreWaitFlags
impl StructuralPartialEq for SemaphoreWaitFlags
Auto Trait Implementations§
impl Freeze for SemaphoreWaitFlags
impl RefUnwindSafe for SemaphoreWaitFlags
impl Send for SemaphoreWaitFlags
impl Sync for SemaphoreWaitFlags
impl Unpin for SemaphoreWaitFlags
impl UnwindSafe for SemaphoreWaitFlags
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)