#[repr(C)]pub enum BufferSparseBinding {
None = 0,
Bound = 1,
Residency = 3,
Aliased = 5,
Both = 7,
}Expand description
Bitset specifying additional parameters of a buffer
Variants§
None = 0
No sparse binding features
Bound = 1
the buffer will be backed using sparse memory binding
Residency = 3
the buffer can be partially backed using sparse memory binding.
Aliased = 5
the buffer will be backed using sparse memory binding with memory ranges that might also simultaneously be backing another buffer (or another portion of the same buffer)
Both = 7
Aliased and Residency
Trait Implementations§
Source§impl Clone for BufferSparseBinding
impl Clone for BufferSparseBinding
Source§fn clone(&self) -> BufferSparseBinding
fn clone(&self) -> BufferSparseBinding
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 BufferSparseBinding
impl Debug for BufferSparseBinding
Source§impl PartialEq for BufferSparseBinding
impl PartialEq for BufferSparseBinding
impl Copy for BufferSparseBinding
impl Eq for BufferSparseBinding
impl StructuralPartialEq for BufferSparseBinding
Auto Trait Implementations§
impl Freeze for BufferSparseBinding
impl RefUnwindSafe for BufferSparseBinding
impl Send for BufferSparseBinding
impl Sync for BufferSparseBinding
impl Unpin for BufferSparseBinding
impl UnwindSafe for BufferSparseBinding
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