pub struct VideoFrame<'a> {
pub timestamp_ms: u64,
pub width: u32,
pub height: u32,
pub rgb: &'a [u8],
}Expand description
One decoded video frame (RGB8, row-major).
Fields§
§timestamp_ms: u64§width: u32§height: u32§rgb: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for VideoFrame<'a>
impl<'a> Clone for VideoFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoFrame<'a>
impl<'a> RefUnwindSafe for VideoFrame<'a>
impl<'a> Send for VideoFrame<'a>
impl<'a> Sync for VideoFrame<'a>
impl<'a> Unpin for VideoFrame<'a>
impl<'a> UnsafeUnpin for VideoFrame<'a>
impl<'a> UnwindSafe for VideoFrame<'a>
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