pub struct ExternalSemaphoreHandleTypeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalSemaphoreHandleTypeFlagBits
impl ExternalSemaphoreHandleTypeFlagBits
Sourcepub const OPAQUE_FD: ExternalSemaphoreHandleTypeFlagBits
pub const OPAQUE_FD: ExternalSemaphoreHandleTypeFlagBits
Bit 0.
Sourcepub const OPAQUE_WIN32: ExternalSemaphoreHandleTypeFlagBits
pub const OPAQUE_WIN32: ExternalSemaphoreHandleTypeFlagBits
Bit 1.
Sourcepub const OPAQUE_WIN32_KMT: ExternalSemaphoreHandleTypeFlagBits
pub const OPAQUE_WIN32_KMT: ExternalSemaphoreHandleTypeFlagBits
Bit 2.
Sourcepub const D3D12_FENCE: ExternalSemaphoreHandleTypeFlagBits
pub const D3D12_FENCE: ExternalSemaphoreHandleTypeFlagBits
Bit 3.
pub const D3D11_FENCE: ExternalSemaphoreHandleTypeFlagBits = Self::D3D12_FENCE
Sourcepub const SYNC_FD: ExternalSemaphoreHandleTypeFlagBits
pub const SYNC_FD: ExternalSemaphoreHandleTypeFlagBits
Bit 4.
Sourcepub const ZIRCON_EVENT_BIT: ExternalSemaphoreHandleTypeFlagBits
pub const ZIRCON_EVENT_BIT: ExternalSemaphoreHandleTypeFlagBits
Bit 7.
pub const fn empty() -> ExternalSemaphoreHandleTypeFlagBits
pub const fn from_raw(value: u32) -> ExternalSemaphoreHandleTypeFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: ExternalSemaphoreHandleTypeFlagBits) -> bool
pub const fn all() -> ExternalSemaphoreHandleTypeFlagBits
Trait Implementations§
Source§impl BitAnd for ExternalSemaphoreHandleTypeFlagBits
impl BitAnd for ExternalSemaphoreHandleTypeFlagBits
Source§type Output = ExternalSemaphoreHandleTypeFlagBits
type Output = ExternalSemaphoreHandleTypeFlagBits
The resulting type after applying the
& operator.Source§fn bitand(
self,
rhs: ExternalSemaphoreHandleTypeFlagBits,
) -> ExternalSemaphoreHandleTypeFlagBits
fn bitand( self, rhs: ExternalSemaphoreHandleTypeFlagBits, ) -> ExternalSemaphoreHandleTypeFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitAndAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitand_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
fn bitand_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for ExternalSemaphoreHandleTypeFlagBits
impl BitOr for ExternalSemaphoreHandleTypeFlagBits
Source§type Output = ExternalSemaphoreHandleTypeFlagBits
type Output = ExternalSemaphoreHandleTypeFlagBits
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: ExternalSemaphoreHandleTypeFlagBits,
) -> ExternalSemaphoreHandleTypeFlagBits
fn bitor( self, rhs: ExternalSemaphoreHandleTypeFlagBits, ) -> ExternalSemaphoreHandleTypeFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitOrAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
fn bitor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for ExternalSemaphoreHandleTypeFlagBits
impl BitXor for ExternalSemaphoreHandleTypeFlagBits
Source§type Output = ExternalSemaphoreHandleTypeFlagBits
type Output = ExternalSemaphoreHandleTypeFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(
self,
rhs: ExternalSemaphoreHandleTypeFlagBits,
) -> ExternalSemaphoreHandleTypeFlagBits
fn bitxor( self, rhs: ExternalSemaphoreHandleTypeFlagBits, ) -> ExternalSemaphoreHandleTypeFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for ExternalSemaphoreHandleTypeFlagBits
impl BitXorAssign for ExternalSemaphoreHandleTypeFlagBits
Source§fn bitxor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
fn bitxor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlagBits)
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 Not for ExternalSemaphoreHandleTypeFlagBits
impl Not for ExternalSemaphoreHandleTypeFlagBits
Source§type Output = ExternalSemaphoreHandleTypeFlagBits
type Output = ExternalSemaphoreHandleTypeFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> ExternalSemaphoreHandleTypeFlagBits
fn not(self) -> ExternalSemaphoreHandleTypeFlagBits
Performs the unary
! operation. Read moreSource§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