pub struct BufferOffset {
pub offset: i64,
pub timestamp: i64,
}Expand description
Offset and timestamp for a buffer (frame or audio) in the file.
Fields§
§offset: i64Byte offset in the file.
timestamp: i64Presentation timestamp.
Trait Implementations§
Source§impl Clone for BufferOffset
impl Clone for BufferOffset
impl Copy for BufferOffset
Auto Trait Implementations§
impl Freeze for BufferOffset
impl RefUnwindSafe for BufferOffset
impl Send for BufferOffset
impl Sync for BufferOffset
impl Unpin for BufferOffset
impl UnsafeUnpin for BufferOffset
impl UnwindSafe for BufferOffset
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