pub struct VideoFrameRgba {
pub width: u32,
pub height: u32,
pub pts: Option<i64>,
pub rgba: Vec<u8>,
}Expand description
A decoded video frame in interleaved RGBA8.
Fields§
§width: u32§height: u32§pts: Option<i64>§rgba: Vec<u8>Trait Implementations§
Source§impl Clone for VideoFrameRgba
impl Clone for VideoFrameRgba
Source§fn clone(&self) -> VideoFrameRgba
fn clone(&self) -> VideoFrameRgba
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VideoFrameRgba
impl RefUnwindSafe for VideoFrameRgba
impl Send for VideoFrameRgba
impl Sync for VideoFrameRgba
impl Unpin for VideoFrameRgba
impl UnsafeUnpin for VideoFrameRgba
impl UnwindSafe for VideoFrameRgba
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