Skip to main content

GetFreeCaptureBuffer

Trait GetFreeCaptureBuffer 

Source
pub trait GetFreeCaptureBuffer<'a, P: BufferHandles, ErrorType = GetFreeBufferError>
where Self: CaptureQueueableProvider<'a, P>,
{ // Required method fn try_get_free_buffer(&'a self) -> Result<Self::Queueable, ErrorType>; }

Required Methods§

Source

fn try_get_free_buffer(&'a self) -> Result<Self::Queueable, ErrorType>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, P: BufferHandles, Q> GetFreeCaptureBuffer<'a, P> for Q
where Self: GetFreeBuffer<'a>, <Self as QueueableProvider<'a>>::Queueable: CaptureQueueable<P>,