pub struct SampleToChunkAtom {
pub version: u8,
pub flags: [u8; 3],
pub entries: SampleToChunkEntries,
}Expand description
Sample-to-Chunk Atom - contains sample-to-chunk mapping table
Fields§
§version: u8Version of the stsc atom format (0)
flags: [u8; 3]Flags for the stsc atom (usually all zeros)
entries: SampleToChunkEntriesList of sample-to-chunk entries
Implementations§
Source§impl SampleToChunkAtom
impl SampleToChunkAtom
pub fn builder() -> SampleToChunkAtomBuilder
Trait Implementations§
Source§impl Clone for SampleToChunkAtom
impl Clone for SampleToChunkAtom
Source§fn clone(&self) -> SampleToChunkAtom
fn clone(&self) -> SampleToChunkAtom
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 SampleToChunkAtom
impl Debug for SampleToChunkAtom
Source§impl Default for SampleToChunkAtom
impl Default for SampleToChunkAtom
Source§fn default() -> SampleToChunkAtom
fn default() -> SampleToChunkAtom
Returns the “default value” for a type. Read more
Source§impl From<SampleToChunkAtom> for AtomData
impl From<SampleToChunkAtom> for AtomData
Source§fn from(atom: SampleToChunkAtom) -> Self
fn from(atom: SampleToChunkAtom) -> Self
Converts to this type from the input type.
Source§impl From<Vec<SampleToChunkEntry>> for SampleToChunkAtom
impl From<Vec<SampleToChunkEntry>> for SampleToChunkAtom
Source§fn from(entries: Vec<SampleToChunkEntry>) -> Self
fn from(entries: Vec<SampleToChunkEntry>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SampleToChunkAtom
impl RefUnwindSafe for SampleToChunkAtom
impl Send for SampleToChunkAtom
impl Sync for SampleToChunkAtom
impl Unpin for SampleToChunkAtom
impl UnsafeUnpin for SampleToChunkAtom
impl UnwindSafe for SampleToChunkAtom
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