pub struct MovieHeaderAtom {Show 17 fields
pub version: u8,
pub flags: [u8; 3],
pub creation_time: u64,
pub modification_time: u64,
pub timescale: u32,
pub duration: u64,
pub rate: f32,
pub volume: f32,
pub reserved: [u8; 10],
pub matrix: Option<[i32; 9]>,
pub preview_time: u32,
pub preview_duration: u32,
pub poster_time: u32,
pub selection_time: u32,
pub selection_duration: u32,
pub current_time: u32,
pub next_track_id: u32,
}Fields§
§version: u8Version of the mvhd atom format (0 or 1)
flags: [u8; 3]Flags for the mvhd atom (usually all zeros)
creation_time: u64When the movie was created (seconds since Jan 1, 1904 UTC)
modification_time: u64When the movie was last modified (seconds since Jan 1, 1904 UTC)
timescale: u32Number of time units per second (e.g., 90000 for 90kHz)
duration: u64Duration of the movie in timescale units
rate: f32Playback rate (1.0 = normal speed, 2.0 = double speed)
volume: f32Audio volume level (1.0 = full volume, 0.0 = muted)
reserved: [u8; 10]§matrix: Option<[i32; 9]>3x3 transformation matrix for video display positioning/rotation
preview_time: u32Time when preview starts (in timescale units)
preview_duration: u32Duration of the preview (in timescale units)
poster_time: u32Time of poster frame to display when movie is not playing
selection_time: u32Start time of current selection (in timescale units)
selection_duration: u32Duration of current selection (in timescale units)
current_time: u32Current playback time position (in timescale units)
next_track_id: u32ID to use for the next track added to this movie
Implementations§
Source§impl MovieHeaderAtom
impl MovieHeaderAtom
Sourcepub fn builder() -> MovieHeaderAtomBuilder
pub fn builder() -> MovieHeaderAtomBuilder
Create an instance of MovieHeaderAtom using the builder syntax
Trait Implementations§
Source§impl Clone for MovieHeaderAtom
impl Clone for MovieHeaderAtom
Source§fn clone(&self) -> MovieHeaderAtom
fn clone(&self) -> MovieHeaderAtom
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MovieHeaderAtom
impl Debug for MovieHeaderAtom
Source§impl From<MovieHeaderAtom> for AtomData
impl From<MovieHeaderAtom> for AtomData
Source§fn from(atom: MovieHeaderAtom) -> Self
fn from(atom: MovieHeaderAtom) -> Self
Auto Trait Implementations§
impl Freeze for MovieHeaderAtom
impl RefUnwindSafe for MovieHeaderAtom
impl Send for MovieHeaderAtom
impl Sync for MovieHeaderAtom
impl Unpin for MovieHeaderAtom
impl UnsafeUnpin for MovieHeaderAtom
impl UnwindSafe for MovieHeaderAtom
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
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>
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>
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