pub struct DataReferenceAtom {
pub version: u8,
pub flags: [u8; 3],
pub entries: Vec<DataReferenceEntry>,
}Expand description
Data Reference Atom (dref) - ISO/IEC 14496-12 Contains a table of data references that declare the location(s) of the media data
Fields§
§version: u8Version of the dref atom format
flags: [u8; 3]Atom flags
entries: Vec<DataReferenceEntry>Data reference entries
Implementations§
Source§impl DataReferenceAtom
impl DataReferenceAtom
Sourcepub fn builder() -> DataReferenceAtomBuilder
pub fn builder() -> DataReferenceAtomBuilder
Create an instance of DataReferenceAtom using the builder syntax
Trait Implementations§
Source§impl Clone for DataReferenceAtom
impl Clone for DataReferenceAtom
Source§fn clone(&self) -> DataReferenceAtom
fn clone(&self) -> DataReferenceAtom
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 DataReferenceAtom
impl Debug for DataReferenceAtom
Source§impl From<DataReferenceAtom> for AtomData
impl From<DataReferenceAtom> for AtomData
Source§fn from(atom: DataReferenceAtom) -> Self
fn from(atom: DataReferenceAtom) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataReferenceAtom
impl RefUnwindSafe for DataReferenceAtom
impl Send for DataReferenceAtom
impl Sync for DataReferenceAtom
impl Unpin for DataReferenceAtom
impl UnsafeUnpin for DataReferenceAtom
impl UnwindSafe for DataReferenceAtom
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