pub struct MemoryPropertyFlags(/* private fields */);Expand description
Implementations§
Source§impl MemoryPropertyFlags
 
impl MemoryPropertyFlags
Source§impl MemoryPropertyFlags
 
impl MemoryPropertyFlags
Sourcepub const DEVICE_LOCAL: Self
 
pub const DEVICE_LOCAL: Self
If otherwise stated, then allocate memory on device
Sourcepub const HOST_VISIBLE: Self
 
pub const HOST_VISIBLE: Self
Memory is mappable by host
Sourcepub const HOST_COHERENT: Self
 
pub const HOST_COHERENT: Self
Memory will have i/o coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flush/invalidate host cache
Sourcepub const HOST_CACHED: Self
 
pub const HOST_CACHED: Self
Memory will be cached by the host
Sourcepub const LAZILY_ALLOCATED: Self
 
pub const LAZILY_ALLOCATED: Self
Memory may be allocated by the driver when it is required
Source§impl MemoryPropertyFlags
Generated from ‘VK_AMD_device_coherent_memory’
 
impl MemoryPropertyFlags
Generated from ‘VK_AMD_device_coherent_memory’
pub const DEVICE_COHERENT_AMD: Self
pub const DEVICE_UNCACHED_AMD: Self
Source§impl MemoryPropertyFlags
Generated from ‘VK_NV_external_memory_rdma’
 
impl MemoryPropertyFlags
Generated from ‘VK_NV_external_memory_rdma’
pub const RDMA_CAPABLE_NV: Self
Source§impl MemoryPropertyFlags
Generated from ‘VK_VERSION_1_1’
 
impl MemoryPropertyFlags
Generated from ‘VK_VERSION_1_1’
Trait Implementations§
Source§impl BitAnd for MemoryPropertyFlags
 
impl BitAnd for MemoryPropertyFlags
Source§impl BitAndAssign for MemoryPropertyFlags
 
impl BitAndAssign for MemoryPropertyFlags
Source§fn bitand_assign(&mut self, rhs: Self)
 
fn bitand_assign(&mut self, rhs: Self)
Performs the 
&= operation. Read moreSource§impl BitOr for MemoryPropertyFlags
 
impl BitOr for MemoryPropertyFlags
Source§impl BitOrAssign for MemoryPropertyFlags
 
impl BitOrAssign for MemoryPropertyFlags
Source§fn bitor_assign(&mut self, rhs: Self)
 
fn bitor_assign(&mut self, rhs: Self)
Performs the 
|= operation. Read moreSource§impl BitXor for MemoryPropertyFlags
 
impl BitXor for MemoryPropertyFlags
Source§impl BitXorAssign for MemoryPropertyFlags
 
impl BitXorAssign for MemoryPropertyFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
 
fn bitxor_assign(&mut self, rhs: Self)
Performs the 
^= operation. Read moreSource§impl Clone for MemoryPropertyFlags
 
impl Clone for MemoryPropertyFlags
Source§fn clone(&self) -> MemoryPropertyFlags
 
fn clone(&self) -> MemoryPropertyFlags
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 Default for MemoryPropertyFlags
 
impl Default for MemoryPropertyFlags
Source§impl Hash for MemoryPropertyFlags
 
impl Hash for MemoryPropertyFlags
Source§impl Not for MemoryPropertyFlags
 
impl Not for MemoryPropertyFlags
Source§impl Ord for MemoryPropertyFlags
 
impl Ord for MemoryPropertyFlags
Source§fn cmp(&self, other: &MemoryPropertyFlags) -> Ordering
 
fn cmp(&self, other: &MemoryPropertyFlags) -> 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 MemoryPropertyFlags
 
impl PartialEq for MemoryPropertyFlags
Source§impl PartialOrd for MemoryPropertyFlags
 
impl PartialOrd for MemoryPropertyFlags
impl Copy for MemoryPropertyFlags
impl Eq for MemoryPropertyFlags
impl StructuralPartialEq for MemoryPropertyFlags
Auto Trait Implementations§
impl Freeze for MemoryPropertyFlags
impl RefUnwindSafe for MemoryPropertyFlags
impl Send for MemoryPropertyFlags
impl Sync for MemoryPropertyFlags
impl Unpin for MemoryPropertyFlags
impl UnwindSafe for MemoryPropertyFlags
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