pub struct FrameQueue<T> { /* private fields */ }Expand description
Decoded frames waiting for their time, oldest first.
Implementations§
Source§impl<T> FrameQueue<T>
impl<T> FrameQueue<T>
pub fn push(&mut self, pts: f64, item: T)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
Trait Implementations§
Source§impl<T: Debug> Debug for FrameQueue<T>
impl<T: Debug> Debug for FrameQueue<T>
Auto Trait Implementations§
impl<T> Freeze for FrameQueue<T>
impl<T> RefUnwindSafe for FrameQueue<T>where
T: RefUnwindSafe,
impl<T> Send for FrameQueue<T>where
T: Send,
impl<T> Sync for FrameQueue<T>where
T: Sync,
impl<T> Unpin for FrameQueue<T>where
T: Unpin,
impl<T> UnsafeUnpin for FrameQueue<T>
impl<T> UnwindSafe for FrameQueue<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