Struct VkMemory Heap Flags 
pub struct VkMemoryHeapFlags(/* private fields */);Expand description
Implementations§
§impl MemoryHeapFlags
 
impl MemoryHeapFlags
pub const fn empty() -> MemoryHeapFlags
pub const fn from_raw(x: u32) -> MemoryHeapFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: MemoryHeapFlags) -> bool
pub const fn contains(self, other: MemoryHeapFlags) -> bool
pub const fn contains(self, other: MemoryHeapFlags) -> bool
Returns whether other is a subset of self
§impl MemoryHeapFlags
 
impl MemoryHeapFlags
pub const DEVICE_LOCAL: MemoryHeapFlags
pub const DEVICE_LOCAL: MemoryHeapFlags
If set, heap represents device memory
§impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
 
impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
pub const MULTI_INSTANCE_KHR: MemoryHeapFlags = Self::MULTI_INSTANCE
§impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
 
impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
pub const MULTI_INSTANCE: MemoryHeapFlags
pub const MULTI_INSTANCE: MemoryHeapFlags
If set, heap allocations allocate multiple instances by default
Trait Implementations§
§impl BitAnd for MemoryHeapFlags
 
impl BitAnd for MemoryHeapFlags
§type Output = MemoryHeapFlags
 
type Output = MemoryHeapFlags
The resulting type after applying the 
& operator.§fn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
 
fn bitand(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the 
& operation. Read more§impl BitAndAssign for MemoryHeapFlags
 
impl BitAndAssign for MemoryHeapFlags
§fn bitand_assign(&mut self, rhs: MemoryHeapFlags)
 
fn bitand_assign(&mut self, rhs: MemoryHeapFlags)
Performs the 
&= operation. Read more§impl BitOr for MemoryHeapFlags
 
impl BitOr for MemoryHeapFlags
§type Output = MemoryHeapFlags
 
type Output = MemoryHeapFlags
The resulting type after applying the 
| operator.§fn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
 
fn bitor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the 
| operation. Read more§impl BitOrAssign for MemoryHeapFlags
 
impl BitOrAssign for MemoryHeapFlags
§fn bitor_assign(&mut self, rhs: MemoryHeapFlags)
 
fn bitor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the 
|= operation. Read more§impl BitXor for MemoryHeapFlags
 
impl BitXor for MemoryHeapFlags
§type Output = MemoryHeapFlags
 
type Output = MemoryHeapFlags
The resulting type after applying the 
^ operator.§fn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
 
fn bitxor(self, rhs: MemoryHeapFlags) -> MemoryHeapFlags
Performs the 
^ operation. Read more§impl BitXorAssign for MemoryHeapFlags
 
impl BitXorAssign for MemoryHeapFlags
§fn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
 
fn bitxor_assign(&mut self, rhs: MemoryHeapFlags)
Performs the 
^= operation. Read more§impl Clone for MemoryHeapFlags
 
impl Clone for MemoryHeapFlags
§fn clone(&self) -> MemoryHeapFlags
 
fn clone(&self) -> MemoryHeapFlags
Returns a duplicate 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 more§impl Debug for MemoryHeapFlags
 
impl Debug for MemoryHeapFlags
§impl Default for MemoryHeapFlags
 
impl Default for MemoryHeapFlags
§fn default() -> MemoryHeapFlags
 
fn default() -> MemoryHeapFlags
Returns the “default value” for a type. Read more
§impl Hash for MemoryHeapFlags
 
impl Hash for MemoryHeapFlags
§impl Not for MemoryHeapFlags
 
impl Not for MemoryHeapFlags
§type Output = MemoryHeapFlags
 
type Output = MemoryHeapFlags
The resulting type after applying the 
! operator.§fn not(self) -> MemoryHeapFlags
 
fn not(self) -> MemoryHeapFlags
Performs the unary 
! operation. Read more§impl Ord for MemoryHeapFlags
 
impl Ord for MemoryHeapFlags
§impl PartialEq for MemoryHeapFlags
 
impl PartialEq for MemoryHeapFlags
§impl PartialOrd for MemoryHeapFlags
 
impl PartialOrd for MemoryHeapFlags
impl Copy for MemoryHeapFlags
impl Eq for MemoryHeapFlags
impl StructuralPartialEq for MemoryHeapFlags
Auto Trait Implementations§
impl Freeze for MemoryHeapFlags
impl RefUnwindSafe for MemoryHeapFlags
impl Send for MemoryHeapFlags
impl Sync for MemoryHeapFlags
impl Unpin for MemoryHeapFlags
impl UnwindSafe for MemoryHeapFlags
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