Struct screen_13::prelude::vk::ExternalMemoryFeatureFlags
source · pub struct ExternalMemoryFeatureFlags(_);Expand description
Implementations§
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
pub const fn empty() -> ExternalMemoryFeatureFlags
pub const fn from_raw(x: u32) -> ExternalMemoryFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ExternalMemoryFeatureFlags) -> bool
sourcepub const fn contains(self, other: ExternalMemoryFeatureFlags) -> bool
pub const fn contains(self, other: ExternalMemoryFeatureFlags) -> bool
Returns whether other is a subset of self
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
pub const DEDICATED_ONLY: ExternalMemoryFeatureFlags = Self(1)
pub const EXPORTABLE: ExternalMemoryFeatureFlags = Self(2)
pub const IMPORTABLE: ExternalMemoryFeatureFlags = Self(4)
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
Generated from ‘VK_KHR_external_memory_capabilities’
pub const DEDICATED_ONLY_KHR: ExternalMemoryFeatureFlags = Self::DEDICATED_ONLY
pub const EXPORTABLE_KHR: ExternalMemoryFeatureFlags = Self::EXPORTABLE
pub const IMPORTABLE_KHR: ExternalMemoryFeatureFlags = Self::IMPORTABLE
Trait Implementations§
source§impl BitAnd<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitAnd<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitand(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
& operation. Read moresource§impl BitAndAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitAndAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
source§fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
&= operation. Read moresource§impl BitOr<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitOr<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
| operation. Read moresource§impl BitOrAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitOrAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
source§fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
|= operation. Read moresource§impl BitXor<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitXor<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitxor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl BitXorAssign<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
source§fn bitxor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitxor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
^= operation. Read moresource§impl Clone for ExternalMemoryFeatureFlags
impl Clone for ExternalMemoryFeatureFlags
source§fn clone(&self) -> ExternalMemoryFeatureFlags
fn clone(&self) -> ExternalMemoryFeatureFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExternalMemoryFeatureFlags
impl Debug for ExternalMemoryFeatureFlags
source§impl Default for ExternalMemoryFeatureFlags
impl Default for ExternalMemoryFeatureFlags
source§fn default() -> ExternalMemoryFeatureFlags
fn default() -> ExternalMemoryFeatureFlags
Returns the “default value” for a type. Read more
source§impl Hash for ExternalMemoryFeatureFlags
impl Hash for ExternalMemoryFeatureFlags
source§impl Not for ExternalMemoryFeatureFlags
impl Not for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
! operator.source§fn not(self) -> ExternalMemoryFeatureFlags
fn not(self) -> ExternalMemoryFeatureFlags
Performs the unary
! operation. Read moresource§impl Ord for ExternalMemoryFeatureFlags
impl Ord for ExternalMemoryFeatureFlags
source§fn cmp(&self, other: &ExternalMemoryFeatureFlags) -> Ordering
fn cmp(&self, other: &ExternalMemoryFeatureFlags) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl PartialEq<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
source§fn eq(&self, other: &ExternalMemoryFeatureFlags) -> bool
fn eq(&self, other: &ExternalMemoryFeatureFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
impl PartialOrd<ExternalMemoryFeatureFlags> for ExternalMemoryFeatureFlags
source§fn partial_cmp(&self, other: &ExternalMemoryFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalMemoryFeatureFlags) -> Option<Ordering>
1.0.0 · source§fn 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