Struct erupt::vk1_1::ExternalFenceHandleTypeFlagBits
source · #[repr(transparent)]pub struct ExternalFenceHandleTypeFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ExternalFenceHandleTypeFlags
Tuple Fields
0: u32
Implementations
sourceimpl ExternalFenceHandleTypeFlagBits
impl ExternalFenceHandleTypeFlagBits
pub const OPAQUE_FD_KHR: Self = Self::OPAQUE_FD
pub const OPAQUE_WIN32_KHR: Self = Self::OPAQUE_WIN32
pub const OPAQUE_WIN32_KMT_KHR: Self = Self::OPAQUE_WIN32_KMT
pub const SYNC_FD_KHR: Self = Self::SYNC_FD
sourceimpl ExternalFenceHandleTypeFlagBits
impl ExternalFenceHandleTypeFlagBits
sourcepub const fn bitmask(&self) -> ExternalFenceHandleTypeFlags
pub const fn bitmask(&self) -> ExternalFenceHandleTypeFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ExternalFenceHandleTypeFlagBits
impl ExternalFenceHandleTypeFlagBits
Provided by crate::vk1_1
pub const OPAQUE_FD: Self = _
pub const OPAQUE_WIN32: Self = _
pub const OPAQUE_WIN32_KMT: Self = _
pub const SYNC_FD: Self = _
Trait Implementations
sourceimpl Clone for ExternalFenceHandleTypeFlagBits
impl Clone for ExternalFenceHandleTypeFlagBits
sourcefn clone(&self) -> ExternalFenceHandleTypeFlagBits
fn clone(&self) -> ExternalFenceHandleTypeFlagBits
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 ExternalFenceHandleTypeFlagBits
impl Default for ExternalFenceHandleTypeFlagBits
sourcefn default() -> ExternalFenceHandleTypeFlagBits
fn default() -> ExternalFenceHandleTypeFlagBits
Returns the “default value” for a type. Read more
sourceimpl Ord for ExternalFenceHandleTypeFlagBits
impl Ord for ExternalFenceHandleTypeFlagBits
sourcefn cmp(&self, other: &ExternalFenceHandleTypeFlagBits) -> Ordering
fn cmp(&self, other: &ExternalFenceHandleTypeFlagBits) -> 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<ExternalFenceHandleTypeFlagBits> for ExternalFenceHandleTypeFlagBits
impl PartialEq<ExternalFenceHandleTypeFlagBits> for ExternalFenceHandleTypeFlagBits
sourcefn eq(&self, other: &ExternalFenceHandleTypeFlagBits) -> bool
fn eq(&self, other: &ExternalFenceHandleTypeFlagBits) -> bool
sourceimpl PartialOrd<ExternalFenceHandleTypeFlagBits> for ExternalFenceHandleTypeFlagBits
impl PartialOrd<ExternalFenceHandleTypeFlagBits> for ExternalFenceHandleTypeFlagBits
sourcefn partial_cmp(
&self,
other: &ExternalFenceHandleTypeFlagBits
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &ExternalFenceHandleTypeFlagBits
) -> 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 ExternalFenceHandleTypeFlagBits
impl Eq for ExternalFenceHandleTypeFlagBits
impl StructuralEq for ExternalFenceHandleTypeFlagBits
impl StructuralPartialEq for ExternalFenceHandleTypeFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ExternalFenceHandleTypeFlagBits
impl Send for ExternalFenceHandleTypeFlagBits
impl Sync for ExternalFenceHandleTypeFlagBits
impl Unpin for ExternalFenceHandleTypeFlagBits
impl UnwindSafe for ExternalFenceHandleTypeFlagBits
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