pub trait CaptureQueueable<B: BufferHandles> {
// Required method
fn queue_with_handles(self, handles: B) -> QueueResult<(), B>;
}Expand description
Trait for queueable CAPTURE buffers. These buffers only require handles to be queued.
Required Methods§
Sourcefn queue_with_handles(self, handles: B) -> QueueResult<(), B>
fn queue_with_handles(self, handles: B) -> QueueResult<(), B>
Queue the buffer after binding handles, consuming the object.
The number of handles must match the buffer’s expected number of planes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<P, B, Q> CaptureQueueable<B> for QBuffer<Capture, P, B, Q>where
P: PrimitiveBufferHandles,
B: BufferHandles + From<P>,
Q: Deref<Target = Queue<Capture, BuffersAllocated<B>>>,
Any CAPTURE QBuffer implements CaptureQueueable.
impl<Q> CaptureQueueable<GenericBufferHandles> for GenericQBuffer<Capture, Q>
Any CAPTURE GenericQBuffer implements CaptureQueueable.