pub struct MemoryHeapFlags(/* private fields */);
Expand description
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
)