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