pub struct BoxHeader {
pub kind: FourCc,
pub payload_start: usize,
pub payload_len: usize,
}Expand description
A box’s type and the extent of its payload within the file.
Fields§
§kind: FourCcThe four-character type.
payload_start: usizeOffset of the payload’s first byte, from the start of the file buffer.
payload_len: usizeLength of the payload in bytes, excluding the header.
Implementations§
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