#[repr(transparent)]pub struct SemaphoreImportFlags(_);Expand description
Implementations
sourceimpl SemaphoreImportFlags
impl SemaphoreImportFlags
pub const fn empty() -> SemaphoreImportFlags
pub const fn from_raw(x: u32) -> SemaphoreImportFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SemaphoreImportFlags) -> bool
sourcepub const fn contains(self, other: SemaphoreImportFlags) -> bool
pub const fn contains(self, other: SemaphoreImportFlags) -> bool
Returns whether other is a subset of self
sourceimpl SemaphoreImportFlags
impl SemaphoreImportFlags
pub const TEMPORARY: SemaphoreImportFlags = Self(1)
sourceimpl SemaphoreImportFlags
impl SemaphoreImportFlags
Generated from ‘VK_KHR_external_semaphore’
pub const TEMPORARY_KHR: SemaphoreImportFlags = Self::TEMPORARY
Trait Implementations
sourceimpl BitAnd<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitAnd<SemaphoreImportFlags> for SemaphoreImportFlags
type Output = SemaphoreImportFlags
type Output = SemaphoreImportFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
fn bitand(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitAndAssign<SemaphoreImportFlags> for SemaphoreImportFlags
sourcefn bitand_assign(&mut self, rhs: SemaphoreImportFlags)
fn bitand_assign(&mut self, rhs: SemaphoreImportFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitOr<SemaphoreImportFlags> for SemaphoreImportFlags
type Output = SemaphoreImportFlags
type Output = SemaphoreImportFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
fn bitor(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitOrAssign<SemaphoreImportFlags> for SemaphoreImportFlags
sourcefn bitor_assign(&mut self, rhs: SemaphoreImportFlags)
fn bitor_assign(&mut self, rhs: SemaphoreImportFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitXor<SemaphoreImportFlags> for SemaphoreImportFlags
type Output = SemaphoreImportFlags
type Output = SemaphoreImportFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
fn bitxor(self, rhs: SemaphoreImportFlags) -> SemaphoreImportFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SemaphoreImportFlags> for SemaphoreImportFlags
impl BitXorAssign<SemaphoreImportFlags> for SemaphoreImportFlags
sourcefn bitxor_assign(&mut self, rhs: SemaphoreImportFlags)
fn bitxor_assign(&mut self, rhs: SemaphoreImportFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SemaphoreImportFlags
impl Clone for SemaphoreImportFlags
sourcefn clone(&self) -> SemaphoreImportFlags
fn clone(&self) -> SemaphoreImportFlags
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 Debug for SemaphoreImportFlags
impl Debug for SemaphoreImportFlags
sourceimpl Default for SemaphoreImportFlags
impl Default for SemaphoreImportFlags
sourcefn default() -> SemaphoreImportFlags
fn default() -> SemaphoreImportFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SemaphoreImportFlags
impl Hash for SemaphoreImportFlags
sourceimpl Not for SemaphoreImportFlags
impl Not for SemaphoreImportFlags
type Output = SemaphoreImportFlags
type Output = SemaphoreImportFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> SemaphoreImportFlags
fn not(self) -> SemaphoreImportFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SemaphoreImportFlags
impl Ord for SemaphoreImportFlags
sourceimpl PartialEq<SemaphoreImportFlags> for SemaphoreImportFlags
impl PartialEq<SemaphoreImportFlags> for SemaphoreImportFlags
sourcefn eq(&self, other: &SemaphoreImportFlags) -> bool
fn eq(&self, other: &SemaphoreImportFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SemaphoreImportFlags) -> bool
fn ne(&self, other: &SemaphoreImportFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SemaphoreImportFlags> for SemaphoreImportFlags
impl PartialOrd<SemaphoreImportFlags> for SemaphoreImportFlags
sourcefn partial_cmp(&self, other: &SemaphoreImportFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SemaphoreImportFlags) -> 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 SemaphoreImportFlags
impl Eq for SemaphoreImportFlags
impl StructuralEq for SemaphoreImportFlags
impl StructuralPartialEq for SemaphoreImportFlags
Auto Trait Implementations
impl RefUnwindSafe for SemaphoreImportFlags
impl Send for SemaphoreImportFlags
impl Sync for SemaphoreImportFlags
impl Unpin for SemaphoreImportFlags
impl UnwindSafe for SemaphoreImportFlags
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