pub struct EnqueuedBuffer<T, A: UsmAlloc> { /* private fields */ }Expand description
A Buffer whose initialization has been enqueued. You need to wait/await it.
Implementations§
Trait Implementations§
Source§impl<T, A: UsmAlloc> IntoFuture for EnqueuedBuffer<T, A>
impl<T, A: UsmAlloc> IntoFuture for EnqueuedBuffer<T, A>
Source§type IntoFuture = BufferFuture<T, A>
type IntoFuture = BufferFuture<T, A>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T, A> Freeze for EnqueuedBuffer<T, A>where
A: Freeze,
impl<T, A> RefUnwindSafe for EnqueuedBuffer<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> !Send for EnqueuedBuffer<T, A>
impl<T, A> !Sync for EnqueuedBuffer<T, A>
impl<T, A> Unpin for EnqueuedBuffer<T, A>where
A: Unpin,
impl<T, A> UnwindSafe for EnqueuedBuffer<T, A>where
A: UnwindSafe,
T: RefUnwindSafe,
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