pub struct Frame {
pub width: usize,
pub height: usize,
pub format: PixelFormat,
pub data_y: Vec<u8>,
pub data_u: Vec<u8>,
pub data_v: Vec<u8>,
pub linesize_y: usize,
pub linesize_u: usize,
pub linesize_v: usize,
pub pts_90k: Option<i64>,
}Fields§
§width: usize§height: usize§format: PixelFormat§data_y: Vec<u8>§data_u: Vec<u8>§data_v: Vec<u8>§linesize_y: usize§linesize_u: usize§linesize_v: usize§pts_90k: Option<i64>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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