pub struct ExternalSemaphoreHandleTypeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalSemaphoreHandleTypeFlagBits
impl ExternalSemaphoreHandleTypeFlagBits
Sourcepub const OPAQUE_WIN32: Self
pub const OPAQUE_WIN32: Self
Bit 1.
Sourcepub const OPAQUE_WIN32_KMT: Self
pub const OPAQUE_WIN32_KMT: Self
Bit 2.
Sourcepub const D3D12_FENCE: Self
pub const D3D12_FENCE: Self
Bit 3.
pub const D3D11_FENCE: Self = Self::D3D12_FENCE
Sourcepub const ZIRCON_EVENT_BIT: Self
pub const ZIRCON_EVENT_BIT: Self
Bit 7.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitAndAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitOrAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitXorAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ExternalSemaphoreHandleTypeFlagBits
impl Clone for ExternalSemaphoreHandleTypeFlagBits
Source§fn clone(&self) -> ExternalSemaphoreHandleTypeFlagBits
fn clone(&self) -> ExternalSemaphoreHandleTypeFlagBits
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 Default for ExternalSemaphoreHandleTypeFlagBits
impl Default for ExternalSemaphoreHandleTypeFlagBits
Source§fn default() -> ExternalSemaphoreHandleTypeFlagBits
fn default() -> ExternalSemaphoreHandleTypeFlagBits
Returns the “default value” for a type. Read more
Source§impl Ord for ExternalSemaphoreHandleTypeFlagBits
impl Ord for ExternalSemaphoreHandleTypeFlagBits
Source§fn cmp(&self, other: &ExternalSemaphoreHandleTypeFlagBits) -> Ordering
fn cmp(&self, other: &ExternalSemaphoreHandleTypeFlagBits) -> 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 ExternalSemaphoreHandleTypeFlagBits
impl PartialEq for ExternalSemaphoreHandleTypeFlagBits
Source§fn eq(&self, other: &ExternalSemaphoreHandleTypeFlagBits) -> bool
fn eq(&self, other: &ExternalSemaphoreHandleTypeFlagBits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalSemaphoreHandleTypeFlagBits
impl PartialOrd for ExternalSemaphoreHandleTypeFlagBits
impl Copy for ExternalSemaphoreHandleTypeFlagBits
impl Eq for ExternalSemaphoreHandleTypeFlagBits
impl StructuralPartialEq for ExternalSemaphoreHandleTypeFlagBits
Auto Trait Implementations§
impl Freeze for ExternalSemaphoreHandleTypeFlagBits
impl RefUnwindSafe for ExternalSemaphoreHandleTypeFlagBits
impl Send for ExternalSemaphoreHandleTypeFlagBits
impl Sync for ExternalSemaphoreHandleTypeFlagBits
impl Unpin for ExternalSemaphoreHandleTypeFlagBits
impl UnsafeUnpin for ExternalSemaphoreHandleTypeFlagBits
impl UnwindSafe for ExternalSemaphoreHandleTypeFlagBits
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