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