pub struct EncodedSample {
pub data_avcc: Vec<u8>,
pub dts_us: i64,
pub pts_us: i64,
pub dur_us: i64,
}Fields§
§data_avcc: Vec<u8>§dts_us: i64Decode timestamp (monotonic), in microseconds.
pts_us: i64Presentation timestamp (may reorder vs DTS when B-frames are present), in microseconds.
dur_us: i64Trait Implementations§
Source§impl Clone for EncodedSample
impl Clone for EncodedSample
Source§fn clone(&self) -> EncodedSample
fn clone(&self) -> EncodedSample
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 EncodedSample
impl RefUnwindSafe for EncodedSample
impl Send for EncodedSample
impl Sync for EncodedSample
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more