pub struct SyncStream;Expand description
Default implementation for synchronous backends — work has already
happened by the time submit is called.
Trait Implementations§
Source§impl CommandStream for SyncStream
impl CommandStream for SyncStream
Source§fn submit_and_wait(&mut self)
fn submit_and_wait(&mut self)
Convenience:
submit followed by wait. Backends may override
for a fused fast path (e.g. Metal’s commit + waitUntilCompleted).Auto Trait Implementations§
impl Freeze for SyncStream
impl RefUnwindSafe for SyncStream
impl Send for SyncStream
impl Sync for SyncStream
impl Unpin for SyncStream
impl UnsafeUnpin for SyncStream
impl UnwindSafe for SyncStream
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