pub struct StreamOverride(/* private fields */);Expand description
RAII scope: while alive, Gpu::stream() on THIS thread returns the pushed stream.
Nest freely (stack). Popping on Drop keeps panic paths consistent.
Trait Implementations§
Source§impl Drop for StreamOverride
impl Drop for StreamOverride
Auto Trait Implementations§
impl Freeze for StreamOverride
impl RefUnwindSafe for StreamOverride
impl Send for StreamOverride
impl Sync for StreamOverride
impl Unpin for StreamOverride
impl UnsafeUnpin for StreamOverride
impl UnwindSafe for StreamOverride
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