Struct screen_13::prelude::vk::ExternalSemaphoreHandleTypeFlags
source · 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl Ord for ExternalSemaphoreHandleTypeFlags
impl Ord for ExternalSemaphoreHandleTypeFlags
sourcefn cmp(&self, other: &ExternalSemaphoreHandleTypeFlags) -> Ordering
fn cmp(&self, other: &ExternalSemaphoreHandleTypeFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
impl PartialEq<ExternalSemaphoreHandleTypeFlags> for ExternalSemaphoreHandleTypeFlags
sourcefn eq(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
fn eq(&self, other: &ExternalSemaphoreHandleTypeFlags) -> bool
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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