pub struct Mp4File<R, F = Annexb>{
pub ftyp: Option<FtypBox>,
pub emsgs: Vec<EmsgBox>,
pub tracks: HashMap<u32, Mp4Track>,
pub reader: R,
pub offsets: BTreeSet<u64>,
pub data_blocks: Vec<DataBlock>,
/* private fields */
}Fields§
§ftyp: Option<FtypBox>§emsgs: Vec<EmsgBox>§tracks: HashMap<u32, Mp4Track>§reader: R§offsets: BTreeSet<u64>§data_blocks: Vec<DataBlock>Implementations§
Source§impl<R> Mp4File<R>
impl<R> Mp4File<R>
pub fn new_annexb(reader: R) -> Self
Source§impl<R> Mp4File<R, LengthDelimited>
impl<R> Mp4File<R, LengthDelimited>
Auto Trait Implementations§
impl<R, F> Freeze for Mp4File<R, F>
impl<R, F> RefUnwindSafe for Mp4File<R, F>where
R: RefUnwindSafe,
F: RefUnwindSafe,
impl<R, F> Send for Mp4File<R, F>
impl<R, F> Sync for Mp4File<R, F>
impl<R, F> Unpin for Mp4File<R, F>where
F: Unpin,
impl<R, F> UnwindSafe for Mp4File<R, F>where
R: UnwindSafe,
F: UnwindSafe,
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