pub type ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags;

Aliased Type§

struct ExternalSemaphoreFeatureFlagsKHR(/* private fields */);

Implementations

source§

impl ExternalSemaphoreFeatureFlags

source

pub const fn empty() -> Self

source

pub const fn from_raw(x: Flags) -> Self

source

pub const fn as_raw(self) -> Flags

source

pub const fn is_empty(self) -> bool

source

pub const fn intersects(self, other: Self) -> bool

source

pub const fn contains(self, other: Self) -> bool

Returns whether other is a subset of self

source§

impl ExternalSemaphoreFeatureFlags

source

pub const EXPORTABLE: Self = _

source

pub const IMPORTABLE: Self = _

source§

impl ExternalSemaphoreFeatureFlags

Generated from ‘VK_KHR_external_semaphore_capabilities’

source

pub const EXPORTABLE_KHR: Self = Self::EXPORTABLE

source

pub const IMPORTABLE_KHR: Self = Self::IMPORTABLE

Trait Implementations

source§

impl BitAnd for ExternalSemaphoreFeatureFlags

§

type Output = ExternalSemaphoreFeatureFlags

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self

Performs the & operation. Read more
source§

impl Eq for ExternalSemaphoreFeatureFlags

source§

impl Default for ExternalSemaphoreFeatureFlags

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for ExternalSemaphoreFeatureFlags

source§

impl Hash for ExternalSemaphoreFeatureFlags

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl StructuralEq for ExternalSemaphoreFeatureFlags

source§

impl Clone for ExternalSemaphoreFeatureFlags

source§

fn clone(&self) -> ExternalSemaphoreFeatureFlags

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl StructuralPartialEq for ExternalSemaphoreFeatureFlags

source§

impl PartialEq for ExternalSemaphoreFeatureFlags

source§

fn eq(&self, other: &ExternalSemaphoreFeatureFlags) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl BitAndAssign for ExternalSemaphoreFeatureFlags

source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
source§

impl Ord for ExternalSemaphoreFeatureFlags

source§

fn cmp(&self, other: &ExternalSemaphoreFeatureFlags) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialOrd for ExternalSemaphoreFeatureFlags

source§

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 · source§

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 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl BitXor for ExternalSemaphoreFeatureFlags

§

type Output = ExternalSemaphoreFeatureFlags

The resulting type after applying the ^ operator.
source§

fn bitxor(self, rhs: Self) -> Self

Performs the ^ operation. Read more
source§

impl Not for ExternalSemaphoreFeatureFlags

§

type Output = ExternalSemaphoreFeatureFlags

The resulting type after applying the ! operator.
source§

fn not(self) -> Self

Performs the unary ! operation. Read more
source§

impl BitOr for ExternalSemaphoreFeatureFlags

§

type Output = ExternalSemaphoreFeatureFlags

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
source§

impl BitOrAssign for ExternalSemaphoreFeatureFlags

source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
source§

impl BitXorAssign for ExternalSemaphoreFeatureFlags

source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
source§

impl Debug for ExternalSemaphoreFeatureFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more