pub struct Frame {
pub pts_ns: i64,
pub keyframe: bool,
pub data: Vec<u8>,
}Expand description
A single frame ready for MKV muxing.
Fields§
§pts_ns: i64Presentation timestamp in nanoseconds.
keyframe: boolWhether this is a keyframe (used for cue points).
data: Vec<u8>Frame data (elementary stream bytes).
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin 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