#[non_exhaustive]pub enum BufferMemory {
Normal(ResourceMemory),
Sparse,
External,
}Expand description
The type of backing memory that a buffer can have.
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.
Normal(ResourceMemory)
The buffer is backed by normal memory, bound with bind_memory.
Sparse
The buffer is backed by sparse memory, bound with bind_sparse.
External
The buffer is backed by memory not managed by vulkano.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferMemory
impl !RefUnwindSafe for BufferMemory
impl Send for BufferMemory
impl Sync for BufferMemory
impl Unpin for BufferMemory
impl UnsafeUnpin for BufferMemory
impl !UnwindSafe for BufferMemory
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