pub struct MdhdBox {
pub timescale: u32,
pub language: String,
}Available on crate feature
sub-vtt only.Expand description
Media Header Box (mdhd) - declares media-independent metadata and information.
The Media Header Box contains the overall information and media-independent metadata about the media within a track.
Fields§
§timescale: u32The time-scale for this media. This is the number of time units that pass in one second.
language: StringThe ISO 639-2/T 3-character language code for this media (e.g., “und”, “eng”).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MdhdBox
impl RefUnwindSafe for MdhdBox
impl Send for MdhdBox
impl Sync for MdhdBox
impl Unpin for MdhdBox
impl UnsafeUnpin for MdhdBox
impl UnwindSafe for MdhdBox
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