Struct dynlink_nvidia_encode::Queue
source · pub struct Queue<T> { /* private fields */ }
Expand description
A data structure for handling a queue of frames to be processed.
Circular buffer with a leading index (“available”) and a potentially lagging index (“pending”). Get an available item and then,
modeled after CNvQueue in nvidia Samples in Video Codec SDK
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Queue<T>
impl<T> RefUnwindSafe for Queue<T>where
T: RefUnwindSafe,
impl<T> Send for Queue<T>where
T: Send,
impl<T> Sync for Queue<T>where
T: Sync,
impl<T> Unpin for Queue<T>where
T: Unpin,
impl<T> UnwindSafe for Queue<T>where
T: UnwindSafe,
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