pub struct EncodedSample {
pub data: Vec<u8>,
pub dts: i64,
pub pts: i64,
pub duration: u32,
pub is_sync: bool,
pub dependency: SampleDependency,
}Expand description
One encoded access unit with exact decode and presentation timing.
Fields§
§data: Vec<u8>§dts: i64§pts: i64§duration: u32§is_sync: bool§dependency: SampleDependencyTrait Implementations§
Source§impl Clone for EncodedSample
impl Clone for EncodedSample
Source§impl Debug for EncodedSample
impl Debug for EncodedSample
impl Eq for EncodedSample
Source§impl PartialEq for EncodedSample
impl PartialEq for EncodedSample
impl StructuralPartialEq for EncodedSample
Auto Trait Implementations§
impl Freeze for EncodedSample
impl RefUnwindSafe for EncodedSample
impl Send for EncodedSample
impl Sync for EncodedSample
impl Unpin for EncodedSample
impl UnsafeUnpin for EncodedSample
impl UnwindSafe for EncodedSample
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