pub struct SampleToChunkEntry {
pub first_chunk: u32,
pub samples_per_chunk: u32,
pub sample_description_index: u32,
}Expand description
Sample-to-Chunk entry - maps samples to chunks
Fields§
§first_chunk: u32First chunk number (1-based) that uses this entry
samples_per_chunk: u32Number of samples in each chunk
sample_description_index: u32Sample description index (1-based, references stsd atom)
Implementations§
Source§impl SampleToChunkEntry
impl SampleToChunkEntry
Sourcepub fn builder() -> SampleToChunkEntryBuilder
pub fn builder() -> SampleToChunkEntryBuilder
Create an instance of SampleToChunkEntry using the builder syntax
Trait Implementations§
Source§impl Clone for SampleToChunkEntry
impl Clone for SampleToChunkEntry
Source§fn clone(&self) -> SampleToChunkEntry
fn clone(&self) -> SampleToChunkEntry
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 moreSource§impl Debug for SampleToChunkEntry
impl Debug for SampleToChunkEntry
Source§impl PartialEq for SampleToChunkEntry
impl PartialEq for SampleToChunkEntry
impl Eq for SampleToChunkEntry
impl StructuralPartialEq for SampleToChunkEntry
Auto Trait Implementations§
impl Freeze for SampleToChunkEntry
impl RefUnwindSafe for SampleToChunkEntry
impl Send for SampleToChunkEntry
impl Sync for SampleToChunkEntry
impl Unpin for SampleToChunkEntry
impl UnsafeUnpin for SampleToChunkEntry
impl UnwindSafe for SampleToChunkEntry
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