pub struct SampleToChunkEntryBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SampleToChunkEntryBuilder<S>
impl<S: State> SampleToChunkEntryBuilder<S>
Sourcepub fn build(self) -> SampleToChunkEntrywhere
S: IsComplete,
pub fn build(self) -> SampleToChunkEntrywhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn first_chunk(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetFirstChunk<S>>where
S::FirstChunk: IsUnset,
pub fn first_chunk(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetFirstChunk<S>>where
S::FirstChunk: IsUnset,
Required.
First chunk number (1-based) that uses this entry
Sourcepub fn samples_per_chunk(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetSamplesPerChunk<S>>where
S::SamplesPerChunk: IsUnset,
pub fn samples_per_chunk(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetSamplesPerChunk<S>>where
S::SamplesPerChunk: IsUnset,
Required.
Number of samples in each chunk
Sourcepub fn sample_description_index(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetSampleDescriptionIndex<S>>where
S::SampleDescriptionIndex: IsUnset,
pub fn sample_description_index(
self,
value: u32,
) -> SampleToChunkEntryBuilder<SetSampleDescriptionIndex<S>>where
S::SampleDescriptionIndex: IsUnset,
Required.
Sample description index (1-based, references stsd atom)
Auto Trait Implementations§
impl<S> Freeze for SampleToChunkEntryBuilder<S>
impl<S> RefUnwindSafe for SampleToChunkEntryBuilder<S>
impl<S> Send for SampleToChunkEntryBuilder<S>
impl<S> Sync for SampleToChunkEntryBuilder<S>
impl<S> Unpin for SampleToChunkEntryBuilder<S>
impl<S> UnsafeUnpin for SampleToChunkEntryBuilder<S>
impl<S> UnwindSafe for SampleToChunkEntryBuilder<S>
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> 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