Struct ash::vk::MemoryHeapFlags
source · #[repr(transparent)]pub struct MemoryHeapFlags(pub(crate) Flags);
Expand description
Tuple Fields§
§0: Flags
Implementations§
source§impl MemoryHeapFlags
impl MemoryHeapFlags
source§impl MemoryHeapFlags
impl MemoryHeapFlags
sourcepub const DEVICE_LOCAL: Self = _
pub const DEVICE_LOCAL: Self = _
If set, heap represents device memory
source§impl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_KHR_device_group_creation’
pub const MULTI_INSTANCE_KHR: Self = Self::MULTI_INSTANCE
source§impl MemoryHeapFlags
impl MemoryHeapFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const MULTI_INSTANCE: Self = _
pub const MULTI_INSTANCE: Self = _
If set, heap allocations allocate multiple instances by default
Trait Implementations§
source§impl BitAnd for MemoryHeapFlags
impl BitAnd for MemoryHeapFlags
source§impl BitAndAssign for MemoryHeapFlags
impl BitAndAssign for MemoryHeapFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for MemoryHeapFlags
impl BitOr for MemoryHeapFlags
source§impl BitOrAssign for MemoryHeapFlags
impl BitOrAssign for MemoryHeapFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for MemoryHeapFlags
impl BitXor for MemoryHeapFlags
source§impl BitXorAssign for MemoryHeapFlags
impl BitXorAssign for MemoryHeapFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for MemoryHeapFlags
impl Clone for MemoryHeapFlags
source§fn clone(&self) -> MemoryHeapFlags
fn clone(&self) -> MemoryHeapFlags
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 MemoryHeapFlags
impl Debug for MemoryHeapFlags
source§impl Default for MemoryHeapFlags
impl Default for MemoryHeapFlags
source§impl Hash for MemoryHeapFlags
impl Hash for MemoryHeapFlags
source§impl Not for MemoryHeapFlags
impl Not for MemoryHeapFlags
source§impl Ord for MemoryHeapFlags
impl Ord for MemoryHeapFlags
source§fn cmp(&self, other: &MemoryHeapFlags) -> Ordering
fn cmp(&self, other: &MemoryHeapFlags) -> 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 for MemoryHeapFlags
impl PartialEq for MemoryHeapFlags
source§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)