pub enum BufferMemory {
Normal(ResourceMemory),
Sparse,
}Expand description
The type of backing memory that a buffer can have.
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.
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 !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