pub struct ExternalMemoryFeatureFlags(/* private fields */);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
pub const EXPORTABLE: ExternalMemoryFeatureFlags
pub const IMPORTABLE: ExternalMemoryFeatureFlags
Source§impl ExternalMemoryFeatureFlags
Generated from ‘VK_KHR_external_memory_capabilities’
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 for ExternalMemoryFeatureFlags
impl BitAnd for ExternalMemoryFeatureFlags
Source§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 for ExternalMemoryFeatureFlags
impl BitAndAssign for ExternalMemoryFeatureFlags
Source§fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
&= operation. Read moreSource§impl BitOr for ExternalMemoryFeatureFlags
impl BitOr for ExternalMemoryFeatureFlags
Source§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 for ExternalMemoryFeatureFlags
impl BitOrAssign for ExternalMemoryFeatureFlags
Source§fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
|= operation. Read moreSource§impl BitXor for ExternalMemoryFeatureFlags
impl BitXor for ExternalMemoryFeatureFlags
Source§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 for ExternalMemoryFeatureFlags
impl BitXorAssign 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
Source§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 PartialOrd for ExternalMemoryFeatureFlags
impl PartialOrd for ExternalMemoryFeatureFlags
impl Copy for ExternalMemoryFeatureFlags
impl Eq for ExternalMemoryFeatureFlags
impl StructuralPartialEq for ExternalMemoryFeatureFlags
Auto Trait Implementations§
impl Freeze for ExternalMemoryFeatureFlags
impl RefUnwindSafe for ExternalMemoryFeatureFlags
impl Send for ExternalMemoryFeatureFlags
impl Sync for ExternalMemoryFeatureFlags
impl Unpin for ExternalMemoryFeatureFlags
impl UnwindSafe for ExternalMemoryFeatureFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more