pub struct StreamAllocation { /* private fields */ }Expand description
Handle to a stream-ordered memory allocation.
An allocation lives on the GPU and is associated with a specific stream and memory pool. It becomes available when all preceding work on the stream has completed, and is returned to the pool when freed (also stream-ordered).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamAllocation
impl RefUnwindSafe for StreamAllocation
impl Send for StreamAllocation
impl Sync for StreamAllocation
impl Unpin for StreamAllocation
impl UnsafeUnpin for StreamAllocation
impl UnwindSafe for StreamAllocation
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