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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more