pub struct BufferRead {
pub slot: u32,
pub element: u32,
pub offset: u32,
}Expand description
One word requested from a structured buffer, in the sampler’s binding-slot vocabulary.
Fields§
§slot: u32The structured buffer’s bind slot (t<n>).
element: u32The element read.
offset: u32Byte offset within the element, aligned to a word.
Trait Implementations§
Source§impl Clone for BufferRead
impl Clone for BufferRead
impl Copy for BufferRead
Source§impl Debug for BufferRead
impl Debug for BufferRead
impl Eq for BufferRead
Source§impl PartialEq for BufferRead
impl PartialEq for BufferRead
impl StructuralPartialEq for BufferRead
Auto Trait Implementations§
impl Freeze for BufferRead
impl RefUnwindSafe for BufferRead
impl Send for BufferRead
impl Sync for BufferRead
impl Unpin for BufferRead
impl UnsafeUnpin for BufferRead
impl UnwindSafe for BufferRead
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.