pub struct TrunBox {
pub version: u8,
pub flags: u32,
pub sample_count: u32,
pub data_offset: Option<i32>,
pub first_sample_flags: Option<u32>,
pub sample_durations: Vec<u32>,
pub sample_sizes: Vec<u32>,
pub sample_flags: Vec<u32>,
pub sample_cts: Vec<u32>,
}
Fields§
§version: u8
§flags: u32
§sample_count: u32
§data_offset: Option<i32>
§first_sample_flags: Option<u32>
§sample_durations: Vec<u32>
§sample_sizes: Vec<u32>
§sample_flags: Vec<u32>
§sample_cts: Vec<u32>
Implementations§
source§impl TrunBox
impl TrunBox
pub const FLAG_DATA_OFFSET: u32 = 1u32
pub const FLAG_FIRST_SAMPLE_FLAGS: u32 = 4u32
pub const FLAG_SAMPLE_DURATION: u32 = 256u32
pub const FLAG_SAMPLE_SIZE: u32 = 512u32
pub const FLAG_SAMPLE_FLAGS: u32 = 1_024u32
pub const FLAG_SAMPLE_CTS: u32 = 2_048u32
pub fn get_type(&self) -> BoxType
pub fn get_size(&self) -> u64
Trait Implementations§
source§impl PartialEq for TrunBox
impl PartialEq for TrunBox
impl Eq for TrunBox
impl StructuralPartialEq for TrunBox
Auto Trait Implementations§
impl Freeze for TrunBox
impl RefUnwindSafe for TrunBox
impl Send for TrunBox
impl Sync for TrunBox
impl Unpin for TrunBox
impl UnwindSafe for TrunBox
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