pub struct Buffer { /* private fields */ }Expand description
Re-export the OOB-guarded buffer type used by storage operations. Typed bytes backing one declared IR buffer.
This struct exists to give the reference interpreter a single place to enforce stride-correct indexing and OOB semantics, independent of how any GPU driver handles buffer bounds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnsafeUnpin for Buffer
impl UnwindSafe for Buffer
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