pub struct FileTypeAtom {
pub major_brand: FourCC,
pub minor_version: u32,
pub compatible_brands: Vec<FourCC>,
}Expand description
File Type Atom (ftyp) - ISO/IEC 14496-12 This atom identifies the specifications to which this file complies.
Fields§
§major_brand: FourCCMajor brand - identifies the ‘best use’ of the file
minor_version: u32Minor version - an informative integer for the minor version of the major brand
compatible_brands: Vec<FourCC>Compatible brands - a list of brands compatible with this file
Implementations§
Source§impl FileTypeAtom
impl FileTypeAtom
Sourcepub fn builder() -> FileTypeAtomBuilder
pub fn builder() -> FileTypeAtomBuilder
Create an instance of FileTypeAtom using the builder syntax
Trait Implementations§
Source§impl Clone for FileTypeAtom
impl Clone for FileTypeAtom
Source§fn clone(&self) -> FileTypeAtom
fn clone(&self) -> FileTypeAtom
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 FileTypeAtom
impl Debug for FileTypeAtom
Source§impl Default for FileTypeAtom
impl Default for FileTypeAtom
Source§impl From<FileTypeAtom> for AtomData
impl From<FileTypeAtom> for AtomData
Source§fn from(atom: FileTypeAtom) -> Self
fn from(atom: FileTypeAtom) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileTypeAtom
impl RefUnwindSafe for FileTypeAtom
impl Send for FileTypeAtom
impl Sync for FileTypeAtom
impl Unpin for FileTypeAtom
impl UnsafeUnpin for FileTypeAtom
impl UnwindSafe for FileTypeAtom
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