pub struct TfhdBox {
pub version: u8,
pub flags: u32,
pub track_id: u32,
pub base_data_offset: Option<u64>,
pub sample_description_index: Option<u32>,
pub default_sample_duration: Option<u32>,
pub default_sample_size: Option<u32>,
pub default_sample_flags: Option<u32>,
}Fields§
§version: u8§flags: u32§track_id: u32§base_data_offset: Option<u64>§sample_description_index: Option<u32>§default_sample_duration: Option<u32>§default_sample_size: Option<u32>§default_sample_flags: Option<u32>Implementations§
Source§impl TfhdBox
impl TfhdBox
pub const FLAG_BASE_DATA_OFFSET: u32 = 0x01
pub const FLAG_SAMPLE_DESCRIPTION_INDEX: u32 = 0x02
pub const FLAG_DEFAULT_SAMPLE_DURATION: u32 = 0x08
pub const FLAG_DEFAULT_SAMPLE_SIZE: u32 = 0x10
pub const FLAG_DEFAULT_SAMPLE_FLAGS: u32 = 0x20
pub const FLAG_DURATION_IS_EMPTY: u32 = 0x10000
pub const FLAG_DEFAULT_BASE_IS_MOOF: u32 = 0x20000
pub fn get_type(&self) -> BoxType
pub fn get_size(&self) -> u64
Trait Implementations§
impl Eq for TfhdBox
impl StructuralPartialEq for TfhdBox
Auto Trait Implementations§
impl Freeze for TfhdBox
impl RefUnwindSafe for TfhdBox
impl Send for TfhdBox
impl Sync for TfhdBox
impl Unpin for TfhdBox
impl UnsafeUnpin for TfhdBox
impl UnwindSafe for TfhdBox
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