#[repr(transparent)]pub struct MemoryPropertyFlagBits(pub u32);Expand description
Open integer representation of VkMemoryPropertyFlagBits.
Tuple Fields§
§0: u32Implementations§
Source§impl MemoryPropertyFlagBits
impl MemoryPropertyFlagBits
Sourcepub const DEVICE_LOCAL_BIT: Self
pub const DEVICE_LOCAL_BIT: Self
Native value VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT.
Sourcepub const HOST_VISIBLE_BIT: Self
pub const HOST_VISIBLE_BIT: Self
Native value VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT.
Sourcepub const HOST_COHERENT_BIT: Self
pub const HOST_COHERENT_BIT: Self
Native value VK_MEMORY_PROPERTY_HOST_COHERENT_BIT.
Sourcepub const HOST_CACHED_BIT: Self
pub const HOST_CACHED_BIT: Self
Native value VK_MEMORY_PROPERTY_HOST_CACHED_BIT.
Sourcepub const LAZILY_ALLOCATED_BIT: Self
pub const LAZILY_ALLOCATED_BIT: Self
Native value VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT.
Sourcepub const PROTECTED_BIT: Self
pub const PROTECTED_BIT: Self
Native value VK_MEMORY_PROPERTY_PROTECTED_BIT.
Sourcepub const DEVICE_COHERENT_BIT_AMD: Self
pub const DEVICE_COHERENT_BIT_AMD: Self
Native value VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD.
Khronos reference: VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD
Sourcepub const DEVICE_UNCACHED_BIT_AMD: Self
pub const DEVICE_UNCACHED_BIT_AMD: Self
Native value VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD.
Khronos reference: VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD
Sourcepub const RDMA_CAPABLE_BIT_NV: Self
pub const RDMA_CAPABLE_BIT_NV: Self
Native value VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV.
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn empty() -> Self
Trait Implementations§
Source§impl BitAnd for MemoryPropertyFlagBits
impl BitAnd for MemoryPropertyFlagBits
Source§impl BitOr for MemoryPropertyFlagBits
impl BitOr for MemoryPropertyFlagBits
Source§impl BitXor for MemoryPropertyFlagBits
impl BitXor for MemoryPropertyFlagBits
Source§impl Clone for MemoryPropertyFlagBits
impl Clone for MemoryPropertyFlagBits
impl Copy for MemoryPropertyFlagBits
Source§impl Debug for MemoryPropertyFlagBits
impl Debug for MemoryPropertyFlagBits
Source§impl Default for MemoryPropertyFlagBits
impl Default for MemoryPropertyFlagBits
impl Eq for MemoryPropertyFlagBits
Source§impl Hash for MemoryPropertyFlagBits
impl Hash for MemoryPropertyFlagBits
Source§impl Not for MemoryPropertyFlagBits
impl Not for MemoryPropertyFlagBits
Source§impl PartialEq for MemoryPropertyFlagBits
impl PartialEq for MemoryPropertyFlagBits
impl StructuralPartialEq for MemoryPropertyFlagBits
Auto Trait Implementations§
impl Forget for MemoryPropertyFlagBits
impl Freeze for MemoryPropertyFlagBits
impl Move for MemoryPropertyFlagBits
impl RefUnwindSafe for MemoryPropertyFlagBits
impl Send for MemoryPropertyFlagBits
impl Sync for MemoryPropertyFlagBits
impl Unpin for MemoryPropertyFlagBits
impl UnsafeUnpin for MemoryPropertyFlagBits
impl UnwindSafe for MemoryPropertyFlagBits
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