#[repr(transparent)]pub struct ExternalSemaphoreHandleTypeFlags(_);Expand description
Implementations
sourceimpl ExternalSemaphoreHandleTypeFlags
impl ExternalSemaphoreHandleTypeFlags
pub const fn empty() -> ExternalSemaphoreHandleTypeFlags
pub const fn from_raw(x: u32) -> ExternalSemaphoreHandleTypeFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ExternalSemaphoreHandleTypeFlags) -> bool
sourcepub const fn contains(self, other: ExternalSemaphoreHandleTypeFlags) -> bool
pub const fn contains(self, other: ExternalSemaphoreHandleTypeFlags) -> bool
Returns whether other is a subset of self
sourceimpl ExternalSemaphoreHandleTypeFlags
impl ExternalSemaphoreHandleTypeFlags
pub const OPAQUE_FD: ExternalSemaphoreHandleTypeFlags = Self(1)
pub const OPAQUE_WIN32: ExternalSemaphoreHandleTypeFlags = Self(2)
pub const OPAQUE_WIN32_KMT: ExternalSemaphoreHandleTypeFlags = Self(4)
pub const D3D12_FENCE: ExternalSemaphoreHandleTypeFlags = Self(8)
pub const D3D11_FENCE: ExternalSemaphoreHandleTypeFlags = Self::D3D12_FENCE
pub const SYNC_FD: ExternalSemaphoreHandleTypeFlags = Self(16)
sourceimpl ExternalSemaphoreHandleTypeFlags
impl ExternalSemaphoreHandleTypeFlags
Generated from ‘VK_KHR_external_semaphore_capabilities’
pub const OPAQUE_FD_KHR: ExternalSemaphoreHandleTypeFlags = Self::OPAQUE_FD
pub const OPAQUE_WIN32_KHR: ExternalSemaphoreHandleTypeFlags = Self::OPAQUE_WIN32
pub const OPAQUE_WIN32_KMT_KHR: ExternalSemaphoreHandleTypeFlags = Self::OPAQUE_WIN32_KMT
pub const D3D12_FENCE_KHR: ExternalSemaphoreHandleTypeFlags = Self::D3D12_FENCE
pub const SYNC_FD_KHR: ExternalSemaphoreHandleTypeFlags = Self::SYNC_FD
sourceimpl ExternalSemaphoreHandleTypeFlags
impl ExternalSemaphoreHandleTypeFlags
Generated from ‘VK_FUCHSIA_external_semaphore’
pub const ZIRCON_EVENT_FUCHSIA: ExternalSemaphoreHandleTypeFlags = Self(128)
sourceimpl ExternalSemaphoreHandleTypeFlags
impl ExternalSemaphoreHandleTypeFlags
Generated from ‘VK_NV_extension_374’
pub const RESERVED_5_NV: ExternalSemaphoreHandleTypeFlags = Self(32)
pub const RESERVED_6_NV: ExternalSemaphoreHandleTypeFlags = Self(64)
Trait Implementations
sourceimpl BitAnd<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitAnd<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
The resulting type after applying the & operator.
sourcefn bitand(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
fn bitand(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitAndAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn bitand_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
fn bitand_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
Performs the &= operation. Read more
sourceimpl BitOr<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitOr<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
The resulting type after applying the | operator.
sourcefn bitor(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
fn bitor(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitOrAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn bitor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
fn bitor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
Performs the |= operation. Read more
sourceimpl BitXor<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitXor<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
fn bitxor(
self,
rhs: ExternalSemaphoreHandleTypeFlags
) -> ExternalSemaphoreHandleTypeFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl BitXorAssign<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn bitxor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
fn bitxor_assign(&mut self, rhs: ExternalSemaphoreHandleTypeFlags)
Performs the ^= operation. Read more
sourceimpl Clone for ExternalSemaphoreHandleTypeFlags
impl Clone for ExternalSemaphoreHandleTypeFlags
sourcefn clone(&self) -> ExternalSemaphoreHandleTypeFlags
fn clone(&self) -> ExternalSemaphoreHandleTypeFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for ExternalSemaphoreHandleTypeFlags
impl Default for ExternalSemaphoreHandleTypeFlags
sourcefn default() -> ExternalSemaphoreHandleTypeFlags
fn default() -> ExternalSemaphoreHandleTypeFlags
Returns the “default value” for a type. Read more
sourceimpl Not for ExternalSemaphoreHandleTypeFlags
impl Not for ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
type Output = ExternalSemaphoreHandleTypeFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> ExternalSemaphoreHandleTypeFlags
fn not(self) -> ExternalSemaphoreHandleTypeFlags
Performs the unary ! operation. Read more
sourceimpl Ord for ExternalSemaphoreHandleTypeFlags
impl Ord for ExternalSemaphoreHandleTypeFlags
sourceimpl PartialEq<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl PartialEq<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn eq(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
fn eq(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
fn ne(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl PartialOrd<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn partial_cmp(
&self,
other: &ExternalSemaphoreHandleTypeFlags
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &ExternalSemaphoreHandleTypeFlags
) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for ExternalSemaphoreHandleTypeFlags
impl Eq for ExternalSemaphoreHandleTypeFlags
impl StructuralEq for ExternalSemaphoreHandleTypeFlags
impl StructuralPartialEq for ExternalSemaphoreHandleTypeFlags
Auto Trait Implementations
impl RefUnwindSafe for ExternalSemaphoreHandleTypeFlags
impl Send for ExternalSemaphoreHandleTypeFlags
impl Sync for ExternalSemaphoreHandleTypeFlags
impl Unpin for ExternalSemaphoreHandleTypeFlags
impl UnwindSafe for ExternalSemaphoreHandleTypeFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more