#[non_exhaustive]#[repr(u32)]pub enum VkMemoryPropertyFlagBits {
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 1,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 2,
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 4,
VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 8,
VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 16,
VK_MEMORY_PROPERTY_PROTECTED_BIT = 32,
VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD = 64,
VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD = 128,
VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV = 256,
VK_MEMORY_PROPERTY_FLAG_BITS_MAX_ENUM = 2_147_483_647,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = 1
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = 2
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = 4
VK_MEMORY_PROPERTY_HOST_CACHED_BIT = 8
VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = 16
VK_MEMORY_PROPERTY_PROTECTED_BIT = 32
VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD = 64
VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD = 128
VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV = 256
VK_MEMORY_PROPERTY_FLAG_BITS_MAX_ENUM = 2_147_483_647
Trait Implementations§
Source§impl Clone for VkMemoryPropertyFlagBits
impl Clone for VkMemoryPropertyFlagBits
Source§fn clone(&self) -> VkMemoryPropertyFlagBits
fn clone(&self) -> VkMemoryPropertyFlagBits
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 moreSource§impl Debug for VkMemoryPropertyFlagBits
impl Debug for VkMemoryPropertyFlagBits
Source§impl Hash for VkMemoryPropertyFlagBits
impl Hash for VkMemoryPropertyFlagBits
Source§impl PartialEq for VkMemoryPropertyFlagBits
impl PartialEq for VkMemoryPropertyFlagBits
impl Copy for VkMemoryPropertyFlagBits
impl Eq for VkMemoryPropertyFlagBits
impl StructuralPartialEq for VkMemoryPropertyFlagBits
Auto Trait Implementations§
impl Freeze for VkMemoryPropertyFlagBits
impl RefUnwindSafe for VkMemoryPropertyFlagBits
impl Send for VkMemoryPropertyFlagBits
impl Sync for VkMemoryPropertyFlagBits
impl Unpin for VkMemoryPropertyFlagBits
impl UnwindSafe for VkMemoryPropertyFlagBits
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