pub struct BoxHeader {
pub kind: [u8; 4],
pub header_len: u64,
pub total_len: u64,
}Expand description
A parsed box header (the payload need not be in memory). Public so the core reader can reason about box bounds while seeking.
Fields§
§kind: [u8; 4]The 4-byte box type, e.g. *b"moov".
header_len: u648, or 16 for a 64-bit largesize.
total_len: u64Total box length: header + payload.
Trait Implementations§
impl Copy for BoxHeader
impl Eq for BoxHeader
impl StructuralPartialEq for BoxHeader
Auto Trait Implementations§
impl Freeze for BoxHeader
impl RefUnwindSafe for BoxHeader
impl Send for BoxHeader
impl Sync for BoxHeader
impl Unpin for BoxHeader
impl UnsafeUnpin for BoxHeader
impl UnwindSafe for BoxHeader
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