pub struct SampleDescriptionTableAtom {
pub version: u8,
pub flags: [u8; 3],
pub entries: Vec<SampleEntry>,
}Fields§
§version: u8Version of the stsd atom format (0)
flags: [u8; 3]Flags for the stsd atom (usually all zeros)
entries: Vec<SampleEntry>List of sample entries
Implementations§
Source§impl SampleDescriptionTableAtom
impl SampleDescriptionTableAtom
pub fn find_or_create_entry<P, D>( &mut self, pred: P, default_fn: D, ) -> &mut SampleEntry
Trait Implementations§
Source§impl Clone for SampleDescriptionTableAtom
impl Clone for SampleDescriptionTableAtom
Source§fn clone(&self) -> SampleDescriptionTableAtom
fn clone(&self) -> SampleDescriptionTableAtom
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 SampleDescriptionTableAtom
impl Debug for SampleDescriptionTableAtom
Source§impl Default for SampleDescriptionTableAtom
impl Default for SampleDescriptionTableAtom
Source§fn default() -> SampleDescriptionTableAtom
fn default() -> SampleDescriptionTableAtom
Returns the “default value” for a type. Read more
Source§impl From<SampleDescriptionTableAtom> for AtomData
impl From<SampleDescriptionTableAtom> for AtomData
Source§fn from(atom: SampleDescriptionTableAtom) -> Self
fn from(atom: SampleDescriptionTableAtom) -> Self
Converts to this type from the input type.
Source§impl From<Vec<SampleEntry>> for SampleDescriptionTableAtom
impl From<Vec<SampleEntry>> for SampleDescriptionTableAtom
Source§fn from(entries: Vec<SampleEntry>) -> Self
fn from(entries: Vec<SampleEntry>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SampleDescriptionTableAtom
impl RefUnwindSafe for SampleDescriptionTableAtom
impl Send for SampleDescriptionTableAtom
impl Sync for SampleDescriptionTableAtom
impl Unpin for SampleDescriptionTableAtom
impl UnsafeUnpin for SampleDescriptionTableAtom
impl UnwindSafe for SampleDescriptionTableAtom
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