pub struct AudioSample {
pub offset: u64,
pub size: u32,
pub dts: i64,
pub duration: u32,
}Expand description
One AAC access unit in the file.
Fields§
§offset: u64Byte offset from the start of the file.
size: u32Size in bytes.
dts: i64Decode timestamp, in the track’s timescale.
duration: u32Duration, in the track’s timescale.
Trait Implementations§
Source§impl Clone for AudioSample
impl Clone for AudioSample
impl Copy for AudioSample
Auto Trait Implementations§
impl Forget for AudioSample
impl Freeze for AudioSample
impl Move for AudioSample
impl RefUnwindSafe for AudioSample
impl Send for AudioSample
impl Sync for AudioSample
impl Unpin for AudioSample
impl UnsafeUnpin for AudioSample
impl UnwindSafe for AudioSample
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